Fix- The ASP.NET Ajax PageRequestManager class fires the initilaizeRequest event before trigger the asynchronous call. The second event of this event is the initializeRequestEventArgs. It has a method called get_postBackElement() that identifies the element that triggered the call.
Showing posts with label client side function call before Ajax call.. Show all posts
Showing posts with label client side function call before Ajax call.. Show all posts
Saturday, May 28, 2011
Confirmation before ASP.NET Asynchronous call
Scenario - Ask for user confirmation before ASP.NET Ajax asynchronous call.
Fix- The ASP.NET Ajax PageRequestManager class fires the initilaizeRequest event before trigger the asynchronous call. The second event of this event is the initializeRequestEventArgs. It has a method called get_postBackElement() that identifies the element that triggered the call.
Fix- The ASP.NET Ajax PageRequestManager class fires the initilaizeRequest event before trigger the asynchronous call. The second event of this event is the initializeRequestEventArgs. It has a method called get_postBackElement() that identifies the element that triggered the call.
Subscribe to:
Posts (Atom)