All Products
Demos
Pricing
Services
Blogs
Docs & Support
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for ASP.NET AJAX Forum
/
Window
/
AJAX Request on RadWindow close...
Cancel
Telerik UI for ASP.NET AJAX
Resources
Buy
Try
Feed for this thread
2 posts, 1 answers
Kevin
83 posts
Member since:
Sep 2008
Posted 20 May 2010
Link to this post
Is there a way to cause an AJAX Request so that a RadAJAXPanel will fire an AJAX event on Close of a RadWindow.. I know this is a very simple one, might just be the time of the day!!!
Answer
Shinu
17764 posts
Member since:
Mar 2007
Posted 21 May 2010
Link to this post
Hello Kevin,
Attach the OnClientClose() event to RadWindow and invoke the ajaxRequest explicitly using client code.
client code:
function
OnClientClose() {
var
ajaxPanel = $find(
"<%= RadAjaxPanel1.ClientID %>"
);
ajaxPanel.ajaxRequest(arguments);
}
Checkout the following documentation to know more on invoking ajaxrequest.
AJAX Panel
Client-Side API
-Shinu.
Back to Top
Close