Articles : Page 1 of 1
-
An easy approach to adding user notifications to ASP web applications
Dec 1007We all have to do it inform the user of some status such as whether their edit saved properly and/or if a form submission was successful. The work here is based on something I picked up on the this blog: http://blog.idleworx.com/2010/11/friendly-css-error-messages-for-java.html. I changed things slightly to take advantage of the .NET environment. Have you ever wanted user notifications that faded out over a certain time interval? Perhaps you want the user to be able to click a message to m...
-
Dynamic Methods in View Data
Aug 1002In ASP.NET MVC 3 Preview 1, we introduced some syntactic sugar for creating and accessing view data using new dynamic properties. Sugar, it’s not just for breakfast. Within a controller action, the ViewModel property of Controller allows setting and accessing view data via property accessors that are resolved dynamically at runtime. From within a view, the View property provides the same thing (see the addendum at the bottom of this post for why these property names do not match). Disc...
- 1

