Monday, May 25, 2009
How to add HTML Attributes into html helper
<%=Html.DropDownList("CategoryID", new {@class="input", style="display:none"})%>
Friday, May 22, 2009
Simplest way to redirect user to maintaining page
Just add an HTML file named “app_offline.htm” to the root directory of your website. Adding this file will clear the server cache. When ASP.NET sees the app_offline.htm file, it will shut-down the app-domain for the application (and not restart it for requests), and instead send back the contents of the app_offline.htm file in response to all new dynamic requests for the application.
The size of the file should be more that 512 bytes to be displayed.
The size of the file should be more that 512 bytes to be displayed.
Thursday, May 21, 2009
Wednesday, May 20, 2009
Subscribe to:
Posts (Atom)