Hello
i am having a normal aspx which contain splitter control.inside that am using
<radspl:RadPane ID="rpTaregetWindow" runat="server" ContentUrl="DefaultTarget.aspx"Scrolling="Both">
</radspl:RadPane>.
my page is populating inside this radpane rpTaregetWindow.
my page which contain a rad grid .on clicking on edit,am popuping a new rad window for edit
update function.after performing the task .i can close the window by GetRadWindow().Close();
on click of save/cancel.my requirement is to reload the parent page(normal aspx page which is
not rad window) with reload of grid with previous update that we have made in popup
(child.this was not happening for my case.
if any one can help me, please reply as soon as possible
Thanks
Regards
Mathews Baby
I’ve found that you get the following JavaScript error when you have AutoGenerateColumns set to false and UseStaticHeaders set to true for a RadGrid:
Sys.InvalidOperationException: A control is already associated with the element.
I guess this is the result of telling the RadGrid to use static headers twice (in some form or another), but it was somewhat difficult to figure out what exactly was causing the JavaScript error (we found the answer by removing different attributes until we found the right one).
Here is the basic RadGrid definition (just for reference):
| <telerik:RadGrid runat="server" AutoGenerateColumns="False"> |
| <ClientSettings> |
| <Scrolling UseStaticHeaders="True" /> |
| </ClientSettings> |
| . |
| . |
| . |
| </telerik:RadGrid> |
| <asp:Panel ID="pnlSearch" DefaultButton="btnSearch" runat="server"> |
| <label>I'm looking for:</label> |
| <noscript> |
| <asp:TextBox ID="txtSearchTermNoScript" runat="server" CssClass="textInput" /> |
| </noscript> |
| <telerik:RadComboBox ID="txtSearchTerm" runat="server" AllowCustomText="true" |
| MarkFirstMatch="false" EnableLoadOnDemand="true" Width="280px" Height="168px" |
| onitemsrequested="txtSearchTerm_ItemsRequested" onload="txtSearchTerm_Load" |
| OnClientItemsRequested="OnClientItemsRequested" EnableEmbeddedSkins="false" Skin="Cks"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| </telerik:RadComboBox> |
| <label>in…</label> |
| <asp:DropDownList ID="ddlSearchCollection" runat="server" CssClass="dropDownBox" /> |
| <asp:ImageButton ID="btnSearch" runat="server" CssClass="searchButton" OnClick="btnSearch_Click" /> |
| </asp:Panel> |