I have a RadGrid set as the AjaxUpdatedControl in the RadAjaxManager so that the filtering happens using ajax. There is a select command column with a select button that when it's clicked i want it to post back so that i can set a bunch of values for other controls on the page. Right now when the select button is clicked and I debug (step through in VS) on the server-side it looks like the controls are being set but the page isn't actually updated. I think this is because the select button is using a callback instead of postback.
Is there a way i can make the select button in the column cause a post back but still have the filtering use ajax?
in case it helps here's the code below.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableViewState="true" OnCommand="Ajax_Command">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="AccountGrid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="AccountGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid ID="AccountGrid" runat="server" DataSourceID="AccountSqlDataSource" OnItemCommand="AccountGrid_ItemCommand"
AutoGenerateColumns="false" AllowFilteringByColumn="True" AllowSorting="true" AllowPaging="True" PageSize="15" ShowFooter="True">
<GroupingSettings CaseSensitive="false" />
<MasterTableView>
<Columns>
<telerik:GridButtonColumn Text="Select" CommandName="Select" UniqueName="SelectColumn" ButtonType="LinkButton" AutoPostBackOnFilter="true"></telerik:GridButtonColumn>
<telerik:GridNumericColumn
DataField="AccountID" UniqueName="AccountNumberColumn" HeaderText="Account #"
FilterDelay="1000" AutoPostBackOnFilter="true" FilterControlWidth="60" ShowFilterIcon="false">
Is there a way i can make the select button in the column cause a post back but still have the filtering use ajax?
in case it helps here's the code below.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableViewState="true" OnCommand="Ajax_Command">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="AccountGrid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="AccountGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid ID="AccountGrid" runat="server" DataSourceID="AccountSqlDataSource" OnItemCommand="AccountGrid_ItemCommand"
AutoGenerateColumns="false" AllowFilteringByColumn="True" AllowSorting="true" AllowPaging="True" PageSize="15" ShowFooter="True">
<GroupingSettings CaseSensitive="false" />
<MasterTableView>
<Columns>
<telerik:GridButtonColumn Text="Select" CommandName="Select" UniqueName="SelectColumn" ButtonType="LinkButton" AutoPostBackOnFilter="true"></telerik:GridButtonColumn>
<telerik:GridNumericColumn
DataField="AccountID" UniqueName="AccountNumberColumn" HeaderText="Account #"
FilterDelay="1000" AutoPostBackOnFilter="true" FilterControlWidth="60" ShowFilterIcon="false">
</Columns>
</MasterTableView>
</telerik:RadGrid>
</MasterTableView>
</telerik:RadGrid>