Previously had a control to export the grid to excel and was working fine.
Later on we found that we need to filter the records using the Radfilter control. So added the code as below:
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadFilter1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadFilter1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1" />
<div class="filterDiv">
<telerik:RadFilter runat="server" ID="RadFilter1" FilterContainerID="RadGrid1" ShowApplyButton="false" />
</div>
<CommandItemTemplate>
<telerik:RadToolBar runat="server" ID="RadToolBar1" OnButtonClick="RadToolBar1_ButtonClick">
<Items>
<telerik:RadToolBarButton Text="Apply filter" CommandName="FilterRadGrid" ImageUrl="<%#GetFilterIcon() %>"
ImagePosition="Right" />
</Items>
</telerik:RadToolBar>
</CommandItemTemplate>
Also made changes in the code behind file to fire the Filter command.
But now the Export to excel image button is not visible ......
Can anyone help ....