Hi.
We are trying to develope a webpage with the following elements:
The details panel contains a WebUserControl that we are loading like this:
This WebUserControl has the particularity its fields (RadTextBoxes, RadNumericTextBoxes,...) are retrieved from database, depending of the information we want to show. Our objective is when we change the selected row of the RadGrid, the WebUserControl data changes, but this AJAX reload of the control never arrives.
We followed some feeds we found in the Telerik forums and Telerik examples, but we haven't success.
Any help or suggestion?
Thanks in advance.
We are trying to develope a webpage with the following elements:
<radA:RadAjaxManager ID="ajaxMngr" runat="server" DefaultLoadingPanelID="ajaxMngrLP" OnResolveUpdatedControls="ajaxMngr_ResolveUpdatedControls"> |
<AjaxSettings> |
<radA:AjaxSetting AjaxControlID="listGrid"> |
<UpdatedControls> |
<radA:AjaxUpdatedControl ControlID="details" /> |
<radA:AjaxUpdatedControl ControlID="listGrid" /> |
</UpdatedControls> |
</radA:AjaxSetting> |
</AjaxSettings> |
</radA:RadAjaxManager> |
<radA:AjaxLoadingPanel ID="ajaxMngrLP" runat="server" Transparency="50"> |
<img src="RadControls/Ajax/Skins/Default/LoadingProgressBar.gif" alt="Loading..." |
style="border: 0;" /> |
</radA:AjaxLoadingPanel> |
<asp:Panel ID="details" runat="server"> |
</asp:Panel> |
<br /> |
<radG:RadGrid ID="listGrid" runat="server" EnableAJAX="true" EnableAJAXLoadingTemplate="true" |
LoadingTemplateTransparency="55" PageSize="10" Skin="Green" OnNeedDataSource="listGrid_NeedDataSource" |
OnItemCreated="listGrid_ItemCreated" OnSelectedIndexChanged="listGrid_changeSelected" |
AllowPaging="True"> |
<MasterTableView Width="100%" DataKeyNames="ID" CommandItemDisplay="Top" Style="white-space: normal" |
GridLines="Vertical"> |
</MasterTableView> |
<ClientSettings EnablePostBackOnRowClick="true"> |
<Selecting AllowRowSelect="True" /> |
</ClientSettings> |
<PagerStyle Mode="NextPrevAndNumeric" ShowPagerText="False"></PagerStyle> |
</radG:RadGrid> |
The details panel contains a WebUserControl that we are loading like this:
public void LoadUserControl(string controlName) |
{ |
UserControl userControl = (UserControl)this.LoadControl(controlName); |
userControl.ID = GetUserControlID(controlName); |
this.details.Controls.Add(userControl); |
} |
This WebUserControl has the particularity its fields (RadTextBoxes, RadNumericTextBoxes,...) are retrieved from database, depending of the information we want to show. Our objective is when we change the selected row of the RadGrid, the WebUserControl data changes, but this AJAX reload of the control never arrives.
We followed some feeds we found in the Telerik forums and Telerik examples, but we haven't success.
Any help or suggestion?
Thanks in advance.