Saturday, September 19, 2009

ASP.NET AJAX

  1. Create a ScriptManager and UpdatePanel. An UpdatePanel can be inside an UpdatePanel
  2. I've 2 independent UpdatePanel in a page. 1 UpdatePanel has a Label and Button other has a Button
  3. Let the 2 button's event update the Label.
  4. What should I do to make sure that the second Update Panel's button click to not to update the Label and what should I do to make sure that the second Update Panel's button click to update the Label

Don't get confused by how the debug behaves, even if the event is hit, it doesn't mean the value will get updated. The Ajax behavior is not very well integrated in the IDE.

Let the page mentioned above consumes a user control. Drag a ScriptManager into the UserControl. Now run the application and see what happens.

The Ajax Control Toolkit has a lot of extender controls. Extender means it extends or works with the traditional ASP.NET Controls

No comments: