Sorry for the simplicity of this question, but I am not sure when I would want to use ajaxRequest vs. just calling .open(). What is the rule of thumb on when you should use ajaxRequest?
Thank you,
David A.
1 Answer, 1 is accepted
0
Accepted
Alex Gyoshev
Telerik team
answered on 02 Nov 2011, 09:16 AM
Hello David,
The open() method just displays a hidden/closed window. The ajaxRequest() method fetches data from the server and updates the window content area -- and it doesn't open (show) the window. Therefore, if you want to refresh the data in the window, use ajaxRequest, and if you want just to show a hidden window (without reloading its data), use open.
Kind regards,
Alex Gyoshev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now