3 Answers, 1 is accepted
i been through this one before, My export button is part of the command item template. the ASPX is as
<CommandItemTemplate>
<table cellpadding="5" width="100%">
<tr align="center" valign="middle">
<td align="center" valign="middle">
<asp:Image ID="AddRecord1" runat="server" ImageUrl="~/RadControls/Grid/Skins/AddRecord.gif"
AlternateText="Create Contact Note" />
<a href="#" onclick="return ShowInsertDUTransactionForm();">Add New</a>
</td>
<td align="center" valign="middle">
<asp:LinkButton Style="vertical-align: middle" ID="LinkButton4" runat="server" CommandName="Export">
<asp:Image ID="Image1" runat="server" ImageUrl="~/RadControls/Grid/Skins/excel.jpg"
AlternateText="Export To Excel" /> Export to Excel</asp:LinkButton>
</td>
<td align="center" valign="middle">
<asp:LinkButton Style="vertical-align: middle" ID="LinkButton23" runat="server" CommandName="PerformInsert"
Visible='<%# rgrdDUTransactions.MasterTableView.IsItemInserted %>'>
<img style="border: 0px" alt="" src="../../../RadControls/Grid/Skins/Insert.gif" /><asp:Label
ID="Label69" runat="server" Text=" Add this" Height="17px"></asp:Label></asp:LinkButton></td>
<td align="center" valign="middle">
<asp:LinkButton Style="vertical-align: middle" ID="LinkButton27" OnClientClick="javascript:return confirm('Delete selected Transaction?')"
runat="server" CommandName="DeleteSelected" CausesValidation="false">
<img style="border: 0px" alt="" src="../../../RadControls/Grid/Skins/Delete.gif" /><asp:Label
ID="Label72" runat="server" Text=" Delete Selected" Height="17px"></asp:Label></asp:LinkButton></td>
<td align="center" valign="middle">
<asp:LinkButton Style="vertical-align: middle" ID="LinkButton28" runat="server" CommandName="RebindGrid"><img style="border:0px" alt="" src="../../../RadControls/Grid/Skins/Office2007/Refresh.gif" /> Refresh</asp:LinkButton></td>
<td align="center" valign="middle">
<asp:Label ID="Label31" runat="server" Text='<%# DUTransactions.MasterTableView.DataSourceCount & " transactions" %>'></asp:Label></td>
</tr>
</table>
</CommandItemTemplate>
How can i use Triggers with this one as i am not using any Update Panel or a button in Update Panel.
Ricky
I think that the sample projects from the following code library thread can guide you through the process of how to disable explicitly the export button in the grid command item from being ajaxified:
http://www.telerik.com/community/code-library/submission/b311D-ttcbe.aspx
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center