When working with pages that do a partial post back (i.e. Ajax), you must use the static method of the scriptmanager class to register your javascript. As a best practice, you should always use the static method, this way if we decide to use Ajax on the page in the future we won't run into problems.
USE: System.Web.UI.ScriptManager.RegisterClientScriptBlock
Do Not USE: Page.ClientScript.RegisterClientScriptBlock
No more then a few paragraphs of things I want to archive (instead of try to remember)
Friday, November 7, 2008
Subscribe to:
Posts (Atom)