3 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 22 Jun 2009, 01:57 PM
Hello Matt,
Yes, it is possible to ajaxify the PlaceHolder using AjaxManager, as shown below:
aspx:
Thanks
Princy.
Yes, it is possible to ajaxify the PlaceHolder using AjaxManager, as shown below:
aspx:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="Button1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="PlaceHolder1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
Thanks
Princy.
0
Matt
Top achievements
Rank 1
answered on 22 Jun 2009, 05:28 PM
This script doesn't seem to work. At least the loading panel doesn't seem to show. But if you change "Placeholder" to "Panel" then the loading panel works.
<form id="form1" runat="server"> |
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> |
<div> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="Button1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="PlaceHolder1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> |
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="WebBlue" /> |
<asp:PlaceHolder ID="PlaceHolder1" runat="server"> |
This is a test |
</asp:PlaceHolder> |
<br /> |
<asp:Button ID="Button1" runat="server" Text="Button" /> |
</div> |
</form> |
0
Accepted
Hi Matt,
Indeed in order to display the loading panel you need to use asp Panel (which is rendered as a div on the page) instead of asp PlaceHolder which does not render any html. Thus the loading panel can be associated with the asp Panel (the div respectively).
Kind regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Indeed in order to display the loading panel you need to use asp Panel (which is rendered as a div on the page) instead of asp PlaceHolder which does not render any html. Thus the loading panel can be associated with the asp Panel (the div respectively).
Kind regards,
Sebastian
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.