This is a migrated thread and some comments may be shown as answers.

how to use RadAjaxManager programmetically

1 Answer 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Abdul
Top achievements
Rank 1
Abdul asked on 21 Oct 2010, 07:05 AM
Hi,
i want to write this code programmetically

 

<telerik:RadAjaxManager ID="rajxMgrManageEmployee" runat="server">

 

<AjaxSettings>

 

         

<telerik:AjaxSetting AjaxControlID="rtsMEManageEmployee">

 

                 

<UpdatedControls>

 

                         

<telerik:AjaxUpdatedControl ControlID="pnlPlaceHolder" LoadingPanelID="rajxLdpanManageEmployee" />

 

                         

<telerik:AjaxUpdatedControl ControlID="rtsMEManageEmployee" />

 

                 

</UpdatedControls>

 

         

</telerik:AjaxSetting>

 

 

 

</AjaxSettings>

 

 

 

</telerik:RadAjaxManager>

 

 

 

 

 

<telerik:RadAjaxLoadingPanel ID="rajxLdpanManageEmployee" runat="server" Height="25px"

 

Width="25px" HorizontalAlign="Center">

 

 

 

</telerik:RadAjaxLoadingPanel>


i tried to write  this code like this

 

 

 

protected override void PageLoad(object sender, EventArgs e)

 {

 

 

RadTabStrip rtsMEManageEmployee = (RadTabStrip)pnlPlaceHolder.FindControl("rtsMEManageEmployee");

 

 

rajxMgrManageEmployee.AjaxSettings.AddAjaxSetting(pnlPlaceHolder, rtsMEManageEmployee);

 

 

 

 

rajxMgrManageEmployee.AjaxSettings.AddAjaxSetting(pnlPlaceHolder, rtsMEManageEmployee, rajxLdpanManageEmployee);
}

 

 

 

 

 

 

 

but RadAjaxLoadingPanel  is not showing on the page.
Please help

Thanx and Regards
Abdul shaquoor

 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 21 Oct 2010, 12:05 PM
Hi Abdul,

Here are some help articles that should be helpful:
Add RadAjaxManager programmatically
Add AjaxSettings programmatically

Greetings,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Abdul
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or