MVC: User Message Stack implementations

MVC: User Message Stack implementations

How would you implement a user message stack in ASP.Net MVC? (you set messages for the user in any place inside your app. and they are shown as hints of your app to the user anywhere inside the app)

I want to hear your ideas and thoughts. How would you do it?


User stack message example

Why does moving classes into a new folder in Visual Studio break things?


Custom 400 redirect based on MVC Controller
I would use a combination of session and cookies to regulate the messages presented to the user. Using ASP.NET MVC 2 to display joined recordBy doing this I would reduce the annoyance factor for the users and show them messages the least amount of times possible.. To achieve basic code coverage what tests should I run against an ASP.NET MVC Controller? In MVC I would use a Partial View, this you must render on all your pages, and have it's behavior be independent of the site. Using ASP.Net MVC Data Annotation outside of MVCOr have it be context aware.. twitter like alert jquery in mvc Edit:. How to disable Export to Microsoft Excel in the IE browser right click? As mentioned in the comments, it must also be a good idea to store user dependent information in a database. Detect if an element is selected in listbox or not through jqueryThis must allow for messages to be displayed to authenticated / known users. My original answer was mostly tarreceive ed at anonymous users.. For authenticated users, you could have a message table, with a read / not read bit, or even a simply push table where you push messages and delete them from the table once the user has seen it.. You may require a 2 part system. One for the messages displayed to anonymous users. The second part would be for authenticated users around their personal profile/events related to them or the site..

89 out of 100 based on 64 user ratings 819 reviews