Hi Telerik
Thanks for replying but you didnt understand the problem,
ill explain using example so please understand and let me know the
solution asap thanks
I have two UserControl Pages and One ASPX page
e.g
1. Header.ascx
2. Panel.ascx
3. Default.aspx
Now in main page Default.aspx i have included Header.ascx only
I'll add Panel.ascx from code behind
Now
in Header.ascx page contains some buttons which i'll perform java
script OnClick and Header.ascx does not contain any RadAjaxManager only
Default.aspx contain RadAjaxManager
So i cant use this code from OnClick function in Header.ASCX page
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
ajaxManager.ajaxRequest('Args');
I have created one function in Default.aspx which is
Now
since i cant call Radajaxmanager from Header.ascx page how do i add
button into AjaxManager? from Header.ascx page so what I have done is to
call AjaxRequest? I use OnClick AjaxRequest(Args) function in
Header.ascx
Since Header.ascx will be render in Default.aspx so there is no problem calling that function.
When i click on button from Header.ascx page then it call Code Behind function
in this code i have added new UserControl into Default.aspx page and
want to update DivPanel and also some other control on Default.aspx page
after AjaxRequest
Now you see i cant use RadAjaxManager here because request is made from
Header.aspx page and Radajaxmanager is in Default.aspx and i want to
Update few controls on Default.aspx and also in Panel.aspx which is
another UserControl.
How do i update this control?
Please let me know if you understand this example and reply me asap thanks
Kind Regards:
Hariindarr Siingh
McConnell Dowell