Hi All,
I am facing weired issue, i have a nested radgrid2 which is placed inside a top level radgrid1.
Radgrid1 has two columns, the 1st one work as primary key for Radgrid2.
Both works fine, but whenever i click the navigation button of Radgrid 2, it loose the data and after that it display
"No Data to display"
Kindly see the inline code as well as attached screen-shots.
-----------------
Code ascx:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Most.ascx.cs"
Inherits="Most%>
<%@ Register Assembly="Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript" language="javascript">
//sharepoint postback to work after clicking on telerik export to pdf
if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' && _spBodyOnLoadFunctionNames != null) {
_spBodyOnLoadFunctionNames.push("supressSubmitWraper");
}
function supressSubmitWraper() {
_spSuppressFormOnSubmitWrapper = true;
}
var tableView = null;
function pageLoad(sender, args) {
tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
}
function RadComboBox1_SelectedIndexChanged(sender, args) {
tableView.set_pageSize(sender.get_value());
}
function changePage(argument) {
tableView.page(argument);
}
function RadNumericTextBox1_ValueChanged(sender, args) {
tableView.page(sender.get_value());
}
</script>
</telerik:RadScriptBlock>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<%--/*****************************************/--%>
<table width="980px">
<tr>
<td valign="top">
<table width="240px">
<tr>
<td>
<asp:UpdatePanel ID="UpdatePanel3" runat="server">
<ContentTemplate>
<table class="xyx-columnwidth">
<tr >
<td>
<table>
<tr>
<td align="right">
<asp:Button ID="BtnLookup" runat="server" CssClass="xyx-sumbitbtn" OnClick="BtnLookup_Click"
OnClientClick="" Text="Submit" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
}