hi,
i use a radwindow and a radgrid in a usercontrol.after radwindow clientclose,
$find("<%= RadGrid1.ClientID %>")
and
$find("<%= RadAjaxManager1.ClientID %>") return null.
i add usercontrol to the page in runtime using loadcontrol.
what should i do?
thanks
3 Answers, 1 is accepted
0
Georgi Tunev
Telerik team
answered on 13 Oct 2009, 01:53 PM
Hello fifi,
I believe that the following documentation topic will be of help:
http://www.telerik.com/help/aspnet-ajax/ajxusercontrols.html
hello,
thanks for your reply.
i have a RadAjaxManager in usercontrol and for first opening window every thing is ok. after window client close new recoed added to grid but for next time $find("<%= RadAjaxManager1.ClientID %>") and $find("<%= RadGrid1.ClientID %>") return null.
i want update grid by RadAjaxManager.ajaxRequest();
thhanks a lot
0
Sebastian
Telerik team
answered on 19 Oct 2009, 07:38 AM
Hello fifi,
Placing RadAjaxManager inside user control is not recommended practice - instead consider using RadAjaxManagerProxy and utilize the GetCurrent(page) static method of the ajax manager to locate the manager's client instance on the main page. This online demo illustrates the usage of RadAjaxManagerProxy control in main page/user control scenario: