
I have a rad grid inside a update panel.
Add a trigger in update panel on a button.
this works fine but when we click on header of grid fro sorting then it throws a error column name is not find.
Please suggest me what i will do to remove this problem. Its vary urgent
11 Answers, 1 is accepted
Could you please post your code so we can reproduce the issue locally? This way we will be able to provide an appropriate suggestion for you.
Regards,
Daniel
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.

<asp:UpdatePanel ID="GeneralSearchResultGridUpdatePanel" runat="server"
UpdateMode="Conditional">
<ContentTemplate>
<telerik:RadGrid ID="ResultsRadGrid" runat="server" GridLines="Vertical" Style="margin: 0px 10px 10px 10px"
DataSourceID="ResultsObjectDataSource" SkinID="SearchGrid" OnSelectedIndexChanged="ResultsRadGrid_SelectedIndexChanged"
BorderStyle="Solid" OnItemDataBound="ResultsRadGrid_ItemDataBound" OnSortCommand="ResultsRadGrid_SortCommand"
AllowSorting="true">
<MasterTableView DataKeyNames="ID" Frame="Void" DataSourceID="ResultsObjectDataSource"
AutoGenerateColumns="False">
<NoRecordsTemplate>
No records to display !
</NoRecordsTemplate>
<Columns>
<telerik:GridBoundColumn DataField="SimpleTitle" HeaderText="Alt Trial Title<div style='color: red; display:inline'>*</div>"
SortExpression="SimpleTitle" UniqueName="SimpleTitle">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="NameTrialStatusType" HeaderText="Status<div style='color: red; display:inline'>*</div>"
SortExpression="NameTrialStatusType" UniqueName="NameTrialStatusType">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Phase<div style='color: red; display:inline'>*</div>"
UniqueName="NameTrialPhaseType" SortExpression="NameTrialPhaseType" DataField="NameTrialPhaseType">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Study Type" UniqueName="NameTrialStudyType"
SortExpression="NameTrialStudyType" DataField="NameTrialStudyType">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Stage" UniqueName="TrialEligibilityDiseaseStage"
SortExpression="TrialEligibilityDiseaseStage" DataField="TrialEligibilityDiseaseStage">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Pancreatic Specific" UniqueName="PancreaticSpecific"
SortExpression="PancreaticSpecific" DataField="PancreaticSpecific">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Keywords" UniqueName="Keywords" SortExpression="Keywords"
DataField="Keywords">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="NCT #" UniqueName="NCTID" SortExpression="NCTID"
DataField="NCTID">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Sponsor Name" UniqueName="SponsorName" SortExpression="SponsorName"
DataField="SponsorName">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Sponsor Study ID" UniqueName="ProtocolID" SortExpression="ProtocolID"
DataField="ProtocolID">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="PanCAN ID" UniqueName="ID" SortExpression="ID"
DataField="ID">
<HeaderStyle Font-Names="Trebuchet MS" Font-Size="14px" ForeColor="#3496B4" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
<asp:ObjectDataSource ID="ResultsObjectDataSource" runat="server" SelectMethod="SearchTrialGeneral"
TypeName="ServiceLayer.TrialService" EnableCaching="true" CacheDuration="9000"
CacheExpirationPolicy="Sliding" CacheKeyDependency="SearchByGeneral">
<SelectParameters>
<asp:ControlParameter ControlID="ActionHiddenField" Name="AnAction" PropertyName="Value"
Type="String" />
<asp:ControlParameter ControlID="TrialTitleTextBox" Name="TrialTitle" PropertyName="Text"
Type="String" />
<asp:ControlParameter ControlID="NCTNOTextBox" Name="NCTID" PropertyName="Text" Type="String" />
<asp:ControlParameter ControlID="SponsorStudyIDTextBox" Name="ProtocolID" PropertyName="Text"
Type="String" />
<asp:ControlParameter ControlID="KeywordsTextBox" Name="Keywords" PropertyName="Text"
Type="String" />
<asp:ControlParameter ControlID="IDsTrialStatusTypeHiddenField" Name="IDsTrialStatusType"
PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="IDsTrialPhaseTypeHiddenField" Name="IDsTrialPhaseType"
PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="IDsTrialStudyTypeHiddenField" Name="IDsTrialStudyType"
PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="PancreaticSpecificHiddenField" Name="PancreaticSpecific"
PropertyName="Value" Type="Byte" />
<asp:ControlParameter ControlID="IDsTrialDiseaseStageTypeHiddenField" Name="IDsTrialDiseaseStageType"
PropertyName="Value" Type="String" />
<asp:ControlParameter ControlID="SponsorNameTextBox" Name="SponsorName" PropertyName="Text"
Type="String" />
<asp:ControlParameter ControlID="PanCANIDTextBox" Name="PanCANId" PropertyName="Text"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="SearchButton" EventName="Click" />
<asp:AsyncPostBackTrigger ControlID="ResultsRadGrid" EventName="SortCommand" />
</Triggers>
</asp:UpdatePanel>
<asp:UpdateProgress ID="GeneralSearchResultGridUpdateProgress" runat="server" AssociatedUpdatePanelID="GeneralSearchResultGridUpdatePanel"
DisplayAfter="0">
<ProgressTemplate>
<div id="progressBackgroundFilter">
</div>
<div id="processMessage">
<img alt="Loading" src="../../App_Themes/PANCAN_Theme/Images/ajax-loader.gif" style="width: 31px;
height: 31px" /><br />
<span class="updateProgress">Working on your request...</span>
<br />
</div>
</ProgressTemplate>
</asp:UpdateProgress>
Could you please post the full stack trace? We tried to reproduce the issue locally but unfortunately to no avail. I suppose the error message is similar to the following...
"XXX is neither a DataColumn nor a DataRelation for table ."
Most common reason for this error is that the DataField/SortExpression property doesn't exist in your datasource.
Best regards,
Daniel
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.

Posted 1 minute ago (permalink)
I still have to find someone either user or telerik to come up with a exact answer or a solution. Even for a simple case, I have been asked to look into other things. All I want is that my Telerik RadGrid to work with UpdatePanel and be able to sort.
I have tried following that did not work.
%
@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI, Version=2009.3.1103.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" %>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="uiUserGrid" >
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="uiUserGrid" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<div>
<telerik:RadGrid ID="uiUserGrid" runat="server" GridLines="None"
AllowPaging="True" AllowSorting="true" PageSize="20" EnableEmbeddedBaseStylesheet="True"
EnableEmbeddedSkins="false" ImagesPath="~/_layouts/global/radcontrols/Grid/MyLink"
Skin="MyLink">
<HeaderStyle ForeColor="White" />
</telerik:RadGrid>
</div>
And this is my original code which was not working either.
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<telerik:RadGrid ID="uiUserGrid" runat="server" GridLines="None"
AllowPaging="True" AllowSorting="true" PageSize="20" EnableEmbeddedBaseStylesheet="True"
EnableEmbeddedSkins="false" ImagesPath="~/_layouts/global/radcontrols/Grid/MyLink"
Skin="MyLink">
<HeaderStyle ForeColor="White" />
</telerik:RadGrid>
</ContentTemplate>
</asp:UpdatePanel>
</div>
As you can see, there is no rocket science in this code. Telerik should be able to give me a solution to this issue.
Judging by these code-snippets it is not clear whether you use simple data-binding, advanced data-binding or a declarative data source.
Therefore I created a sample project that recreates your scenario using advanced data-binding. Please test it on your end and let me know if it exhibits the same problem.
I strongly recommend that you examine the following links:
Simple Data-binding
Advanced Data-binding
Declarative DataSource
Simple Data Binding demo
Advanced Data Binding demo
All the best,
Daniel
the Telerik team

I have 2 grids in a ASP Page. 1 is a Infragistics Grid and other is a Telerik one which I will be using going forward. While I can see both the grids added on the page, when I click on the next page button on the Infragistics grid, the Telerik grid is also getting refreshed. When I click on the next page button in the Telerik grid, nothing happens. I am not sure about the issue however I feel this has somethign to do with the updatePanel. Can you have a look at the code from the attached file and suggest. Any help is much appreciated.
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MemberSearchResultsControl.ascx.cs"
Inherits="Humana.MRA.HumanaProStar.Web.MemberSearchResultsControl" %>
<%@ Register Assembly="Infragistics35.WebUI.UltraWebGrid.v10.3, Version=10.3.20103.2217, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>
<%@ Register Src="MemberSearchCustomPager.ascx" TagName="CustomPager" TagPrefix="uc1" %>
<%@ Register Src="MemberConditionUpdatePanel.ascx" TagName="MemberConditionUpdatePanel"
TagPrefix="uc2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="ajax" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<script type="text/javascript">
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginReq);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endReq); var ModalProgress7 = '<%= ModalProgress7.ClientID %>'; function beginReq(sender, args) {
var updateProg1 = document.getElementById('updateProgressDiv7');
updateProg1.style.visibility = "visible";
updateProg1.innerHTML = "<img id='ig_progress3' src='../Images/circledotloader.gif' style='vertical-align: middle' alt='Processing' />" +
" <Label style='font-size: 12pt; font-weight: 700'>Processing...</Label>";
$find(ModalProgress7).show();
} function endReq(sender, args) {
$find(ModalProgress7).hide();
} function AfterActiveRowActivate() {
var grid = igtbl_getGridById('<%=SearchResultsUltraWebGrid.ClientID%>');
beginReq(grid, '');
__doPostBack('__Page', '');
}
//END PHASE 3 COMMENTED CODE function pageLoad(sender, args) {
var panelSearchResult = $find("searchResultBehavior");
var panelMember = $find("collapsibleBehaviorMember");
if (panelSearchResult != null) {
panelSearchResult.add_expandComplete(expandHandler1);
panelSearchResult.add_collapseComplete(collapseHandler1);
}
if (panelMember != null) {
panelMember.add_expandComplete(expandHandler);
panelMember.add_collapseComplete(collapseHandler);
}
}
function expandHandler1(sender, args) {
var panelSearchResultHeader = document.getElementById('<%=SearchResultsHeaderPanel.ClientID%>');
if (panelSearchResultHeader != null) {
panelSearchResultHeader.className = 'expandPanelHeader'; ScrollToView();
}
}
function collapseHandler1(sender, args) {
var panelSearchResultHeader = document.getElementById('<%=SearchResultsHeaderPanel.ClientID%>');
if (panelSearchResultHeader != null) {
panelSearchResultHeader.className = 'collapsePanelHeader';
}
}
function ScrollToView() {
var grid = igtbl_getGridById('<%=SearchResultsUltraWebGrid.ClientID%>'); var row = null;
if (grid != null) { row = grid.getActiveRow();
}
if (row) {
setTimeout("igtbl_getGridById('<%=SearchResultsUltraWebGrid.ClientID%>').getActiveRow().scrollToView()", 100);
}
}
</script>
<script id="Infragistics" type="text/javascript">
<!-- function SearchResultsUltraWebGrid_InitializeLayoutHandler(gridName) {
ScrollToView();
}
// -->
</script>
<asp:Panel ID="panelUpdateProgress" runat="server" CssClass="updateProgress" BackColor="Transparent"
BorderStyle="None" Visible="true">
<div id="updateProgressDiv7" style="position: relative; top: 75%; text-align: center;
visibility: hidden">
<img id="ig_progress7" src="../Images/circledotloader.gif" style="vertical-align: middle"
alt="Processing" />
<asp:Label ID="processingLabel7" runat="server" Text="Processing..." Visible="true"
BackColor="Transparent" Style="font-size: 12pt; font-weight: 700;"></asp:Label>
</div>
</asp:Panel>
<ajaxToolkit:ModalPopupExtender ID="ModalProgress7" runat="server" TargetControlID="panelUpdateProgress"
BackgroundCssClass="modalProgressBackground" PopupControlID="panelUpdateProgress" />
<asp:Panel ID="SearchResultsHeaderPanel" runat="server" CssClass="expandPanelHeader"
Height="20px">
<div style="padding: 5px; cursor: pointer; vertical-align: middle;">
<div class="collapsePanelTitle" style="float: left;">
Member Search Results
</div>
<div style="float: right; vertical-align: middle;">
<asp:ImageButton ID="collapseImage" runat="server" ImageUrl="~/images/igpnl_dwn.gif"
AlternateText="(Show Search Options...)" />
</div>
</div>
</asp:Panel>
<asp:Panel ID="SearchResultsPanel" runat="server">
<br />
<ajax:UpdatePanel ID="NewUpdatePanel1" runat="server">
<ContentTemplate>
<igtbl:UltraWebGrid ID="SearchResultsUltraWebGrid" runat="server" Height="200px"
DataKeyField="MemberKey" Width="850px" OnSortColumn="SearchResultsUltraWebGrid_SortColumn"
OnActiveRowChange="SearchResultsUltraWebGrid_ActiveRowChange" EnableAppStyling="False">
<Bands>
<igtbl:UltraGridBand DataKeyField="MemberKey">
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
<Columns>
<igtbl:UltraGridColumn Width="90px" BaseColumnName="ProviderKey">
<Header Caption="Provider ID_test" Title="Provider ID" />
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="210px" BaseColumnName="ProviderName">
<Header Caption="Provider Name" Title="Provider Name">
<RowLayoutColumnInfo OriginX="1" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="1" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="90px" BaseColumnName="MemberKey">
<Header Caption="Member ID" Title="Member ID">
<RowLayoutColumnInfo OriginX="2" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="2" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="205px" BaseColumnName="MemberName">
<Header Caption="Member Name" Title="Member Name">
<RowLayoutColumnInfo OriginX="3" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="3" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="60px" BaseColumnName="Product">
<Header Caption="Product" Title="Product">
<RowLayoutColumnInfo OriginX="3" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="3" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="70px" BaseColumnName="DateOfBirth">
<Header Caption="Date of Birth" Title="Date of Birth">
<RowLayoutColumnInfo OriginX="4" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="4" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="75px" Key="pyRiskScore" BaseColumnName="pyRiskScore">
<Header Caption="Prior Year Risk Score" Title="Prior Year Risk Score">
<RowLayoutColumnInfo OriginX="5" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="5" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="75px" Key="RiskScore" BaseColumnName="RiskScore">
<Header Caption="Proj Year Risk Score" Title="Proj Risk Score">
<RowLayoutColumnInfo OriginX="6" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="6" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="75px" BaseColumnName="HccModelCd">
<Header Caption="HCC Model" Title="HCC Model">
<RowLayoutColumnInfo OriginX="7" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="7" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="70px" BaseColumnName="Lvl1Status">
<Header Caption="Level One Open" Title="Level One Open">
<RowLayoutColumnInfo OriginX="8" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="8" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="70px" BaseColumnName="OpenStatus">
<Header Caption="Open" Title="Open">
<RowLayoutColumnInfo OriginX="9" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="9" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="70px" BaseColumnName="AffmStatus">
<Header Caption="Affirmed" Title="Affirmed">
<RowLayoutColumnInfo OriginX="10" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="10" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="70px" BaseColumnName="AccpStatus">
<Header Caption="CMS Accepted" Title="CMS Accepted">
<RowLayoutColumnInfo OriginX="11" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="11" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Width="70px" BaseColumnName="NoconStatus">
<Header Caption="No Conditions" Title="No Conditions">
<RowLayoutColumnInfo OriginX="12" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="12" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Hidden="true" Width="30px" BaseColumnName="MemberMarket">
<Header Caption="Market" Title="Market">
<RowLayoutColumnInfo OriginX="13" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="13" />
</Footer>
</igtbl:UltraGridColumn>
<igtbl:UltraGridColumn Hidden="true" Width="30px" BaseColumnName="FactorType">
<Header Caption="FactorType" Title="FactorType">
<RowLayoutColumnInfo OriginX="14" />
</Header>
<Footer>
<RowLayoutColumnInfo OriginX="14" />
</Footer>
</igtbl:UltraGridColumn>
</Columns>
</igtbl:UltraGridBand>
</Bands>
<DisplayLayout AutoGenerateColumns="False" Version="4.00" AllowSortingDefault="Yes"
StationaryMargins="Header" HeaderClickActionDefault="SortMulti" Name="ctl00xSearchResultsUltraWebGrid"
RowHeightDefault="20px" SelectTypeRowDefault="Single" CellClickActionDefault="RowSelect"
SortingAlgorithmDefault="Custom" AllowColSizingDefault="Free" TableLayout="Fixed"
RowSelectorsDefault="No">
<GroupByBox Hidden="True">
<BoxStyle BorderColor="Window" BackColor="ActiveBorder">
</BoxStyle>
</GroupByBox>
<GroupByRowStyleDefault BorderColor="Window" BackColor="Control">
</GroupByRowStyleDefault>
<ActivationObject BorderWidth="5px" BorderColor="145, 201, 201" BorderStyle="Solid">
</ActivationObject>
<FooterStyleDefault BorderWidth="1px" BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White">
</BorderDetails>
</FooterStyleDefault>
<RowStyleDefault Font-Bold="False" Cursor="Hand" HorizontalAlign="Left" Font-Size="11px"
BorderWidth="5px" BorderColor="#91C9C9" BorderStyle="Solid" Font-Names="Arial,Helvetica,sans-serif;"
BackColor="Window">
<Padding Left="3px"></Padding>
</RowStyleDefault>
<FilterOptionsDefault>
<FilterOperandDropDownStyle BorderWidth="1px" BorderColor="Silver" BorderStyle="Solid"
Font-Size="11px" Font-Names="Arial,Helvetica,sans-serif;" BackColor="White" CustomRules="overflow:auto;">
<Padding Left="2px"></Padding>
</FilterOperandDropDownStyle>
<FilterHighlightRowStyle ForeColor="White" BackColor="#151C55">
</FilterHighlightRowStyle>
<FilterDropDownStyle BorderWidth="1px" BorderColor="Silver" BorderStyle="Solid" Font-Size="11px"
Font-Names="Arial,Helvetica,sans-serif;" BackColor="White" Width="200px" Height="300px"
CustomRules="overflow:auto;">
<Padding Left="2px"></Padding>
</FilterDropDownStyle>
</FilterOptionsDefault>
<HeaderStyleDefault Font-Bold="True" Wrap="True" HorizontalAlign="Left" BackColor="#91C9C9">
<BorderDetails ColorBottom="Black" WidthBottom="1px" StyleBottom="Solid" StyleLeft="None"
StyleRight="Solid" StyleTop="None" ColorLeft="Gainsboro" ColorRight="Gainsboro"
WidthLeft="1px" WidthRight="1px"></BorderDetails>
</HeaderStyleDefault>
<EditCellStyleDefault BorderWidth="0px" BorderStyle="None">
</EditCellStyleDefault>
<FrameStyle BorderWidth="1px" Font-Bold="False" BorderColor="Black" BorderStyle="Solid"
Font-Size="10pt" Font-Names="Arial,Helvetica,sans-serif" BackColor="#91C9C9"
Width="850px" Height="200px">
</FrameStyle>
<Pager MinimumPagesForDisplay="2">
<PagerStyle BorderWidth="1px" BorderStyle="Solid" BackColor="LightGray">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White">
</BorderDetails>
</PagerStyle>
</Pager>
<AddNewBox>
<BoxStyle BorderWidth="1px" BorderColor="InactiveCaption" BorderStyle="Solid" BackColor="Window">
<BorderDetails ColorTop="White" WidthLeft="1px" WidthTop="1px" ColorLeft="White">
</BorderDetails>
</BoxStyle>
</AddNewBox>
<SelectedRowStyleDefault Font-Size="11px" BorderWidth="5px" BorderColor="#91C9C9"
BorderStyle="Solid" Font-Names="Arial,Helvetica,sans-serif;" HorizontalAlign="Left"
Font-Bold="False" BackColor="#FF8000" Cursor="Hand">
<Padding Left="3px"></Padding>
</SelectedRowStyleDefault>
<Images>
<SortAscendingImage Url="~/Images/ig_tblSortAsc.gif" />
<SortDescendingImage Url="~/Images/ig_tblSortDesc.gif" />
</Images>
<ClientSideEvents InitializeLayoutHandler="SearchResultsUltraWebGrid_InitializeLayoutHandler" />
</DisplayLayout>
</igtbl:UltraWebGrid>
</ContentTemplate>
</ajax:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<uc1:CustomPager ID="customPager" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="SearchResultsUltraWebGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="SearchResultsUltraWebGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
<asp:Panel ID="Panel1" runat="server">
<br />
<ajax:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<div>
<telerik:RadGrid runat="server" ID="SearchResultsUltraWebGrid1" Height="200px" Width="850px"
AllowSorting="True" AllowPaging="True" PageSize="30" AutoGenerateColumns="False"
CellPadding="0" GridLines="Both" ResolvedRenderMode="Classic" PagerStyle-Mode="NextPrevAndNumeric">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<MasterTableView DataKeyNames="MemberKey" ClientDataKeyNames="MemberKey" HeaderStyle-HorizontalAlign="Left"
BorderStyle="Solid" BorderColor="Black" BorderWidth="1px">
<Columns>
<telerik:GridBoundColumn HeaderStyle-Width="90px" DataField="ProviderKey" UniqueName="ProviderKey"
HeaderText="Provider ID" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="90px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="210px" DataField="ProviderName" UniqueName="ProviderName"
HeaderText="Provider Name" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="210px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="90px" DataField="MemberKey" UniqueName="MemberKey"
HeaderText="Member ID" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="90px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="205px" DataField="MemberName" UniqueName="MemberName"
HeaderText="Member Name" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="205px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="60px" DataField="Product" UniqueName="Product"
HeaderText="Product" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="60px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="70px" DataField="DateOfBirth" UniqueName="DateOfBirth"
HeaderText="Date of Birth" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="75px" DataField="pyRiskScore" UniqueName="pyRiskScore"
HeaderText="Prior Year Risk Score" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="75px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="75px" DataField="RiskScore" UniqueName="RiskScore"
HeaderText="Proj Year Risk Score" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="75px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="75px" DataField="HccModelCd" UniqueName="HccModelCd"
HeaderText="HCC Model" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="75px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="70px" DataField="Lvl1Status" UniqueName="Lvl1Status"
HeaderText="Level One Open" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="70px" DataField="OpenStatus" UniqueName="OpenStatus"
HeaderText="Open" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="70px" DataField="AffmStatus" UniqueName="AffmStatus"
HeaderText="Affirmed" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="70px" DataField="AccpStatus" UniqueName="AccpStatus"
HeaderText="CMS Accepted" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="70px" DataField="NoconStatus" UniqueName="NoconStatus"
HeaderText="No Conditions" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="70px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="30px" DataField="MemberMarket" UniqueName="MemberMarket"
HeaderText="Market" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="30px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderStyle-Width="30px" DataField="FactorType" UniqueName="FactorType"
HeaderText="FactorType" ItemStyle-HorizontalAlign="Left">
<HeaderStyle Width="30px" />
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid></div>
</ContentTemplate>
</ajax:UpdatePanel>
</asp:Panel>
<ajaxToolkit:CollapsiblePanelExtender ID="SearchResultsCollapsiblePanel" BehaviorID="searchResultBehavior"
runat="Server" TargetControlID="SearchResultsPanel" ExpandControlID="SearchResultsHeaderPanel"
CollapseControlID="SearchResultsHeaderPanel" Collapsed="False" TextLabelID="Label1"
ImageControlID="collapseImage" ExpandedText="(Hide Details...)" CollapsedText="(Show Details...)"
ExpandedImage="~/images/igpnl_dwn.gif" CollapsedImage="~/images/igpnl_up.gif"
SuppressPostBack="true" />
<div>
</div>
<uc2:memberconditionupdatepanel visible="false" id="MemberConditionUpdatePanel" runat="server" />
I would not recommend that you try wrapping an ajax-enabled RadGrid in UpdatePanel. Please either remove the update panel, or RadAjaxManager.
Let me know whether this helps.
Regards,
Daniel
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Regards
Gaurav
Please try one of the following solutions:
UpdatePanel
<
ajax:UpdatePanel
ID
=
"UpdatePanel2"
runat
=
"server"
>
<
ContentTemplate
>
<
div
>
<
telerik:RadGrid
runat
=
"server"
ID
=
"SearchResultsUltraWebGrid1"
Height
=
"200px"
Width
=
"850px"
AllowSorting
=
"True"
AllowPaging
=
"True"
PageSize
=
"30"
AutoGenerateColumns
=
"False"
CellPadding
=
"0"
GridLines
=
"Both"
ResolvedRenderMode
=
"Classic"
PagerStyle-Mode
=
"NextPrevAndNumeric"
>
...
</
telerik:RadGrid
></
div
>
</
ContentTemplate
>
</
ajax:UpdatePanel
>
RadAjaxPanel
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
>
<
div
>
<
telerik:RadGrid
runat
=
"server"
ID
=
"SearchResultsUltraWebGrid1"
Height
=
"200px"
Width
=
"850px"
AllowSorting
=
"True"
AllowPaging
=
"True"
PageSize
=
"30"
AutoGenerateColumns
=
"False"
CellPadding
=
"0"
GridLines
=
"Both"
ResolvedRenderMode
=
"Classic"
PagerStyle-Mode
=
"NextPrevAndNumeric"
>
...
</
telerik:RadGrid
></
div
>
</
telerik:RadAjaxPanel
>
RadAjaxManager
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"SearchResultsUltraWebGrid1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"SearchResultsUltraWebGrid1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
div
>
<
telerik:RadGrid
runat
=
"server"
ID
=
"SearchResultsUltraWebGrid1"
Height
=
"200px"
Width
=
"850px"
AllowSorting
=
"True"
AllowPaging
=
"True"
PageSize
=
"30"
AutoGenerateColumns
=
"False"
CellPadding
=
"0"
GridLines
=
"Both"
ResolvedRenderMode
=
"Classic"
PagerStyle-Mode
=
"NextPrevAndNumeric"
>
...
</
telerik:RadGrid
>
</
div
>
Let me know if the problem still persists.
Regards,
Daniel
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

SearchResultsUltraWebGrid1_ItemCommand(Object sender, GridCommandEventArgs e)
{
GridDataItem item = (GridDataItem)e.Item; // getting a casting error here which says that I cannot convert GridPagerItem to GridDataItem
SelectMember(item); // this is the method where I am trying to pass the value that I need from the GridDataItem
}
Thanks in advance for your help :)
Note that the item from ItemCommand arguments is the item that fires the event. For instance if you go to the nest page if the grid the ItemCommand will be fired and the item will be of type GridPagerItem. Could you please let me know when you need to access a row? What action is performed?
Regards,
Kostadin
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.