- Even if the the EnableViewState is disabled, still the values are maintained across post-back. Why? Because of something called ControlState, wherein certain details of all controls are maintained always.
- If re-directing to a URL within the local web-site use Server.Transfer rather than Response.Redirect, for quicker response and conserve server resources. The latter is used for re-directing to external site.
- Read the below URL if you get errors such as: "Sys.WebForms.PageRequestManagerParserErrorException"http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequestmanagerparsererrorexception-what-it-is-and-how-to-avoid-it.aspx#2202116 Ignore the part of not using Server.Transfer. It seems the author is not aware of it, I believe!
- Beware using Validation controls within AJAX Controls, eg. UpdatePanel. It is not yet implemented. There is a work around though. Need to wait for an Windows Live Update for it. Check out the link:http://weblogs.asp.net/scottgu/archive/2007/01/25/links-to-asp-net-ajax-1-0-resources-and-answers-to-some-common-questions.aspx
- When trying to use "~" within script tags in Master Pages, you need to use "DataBinding" on the code-behind page, otherwise look-out for errors. Eg. Map_Admin.master(look both aspx and cs files).
Monday, 21 May 2007
ASP .NET Tips/Issues
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment