Telerik Team,
I am using Rad Grid and have following command item template in the grid where I am using Rad Tool Bar and Rad Tool Bar Button. I want to call client side function to display filter bar in the grid on client click of one of the button. Please suggest which event should I use. I notice that Rad Tool Bar Button does not support OnClientClick event.
<CommandItemTemplate>
<telerik:RadToolBar Skin="Vista" ID="RadToolBar1" runat="server">
<Items>
<telerik:RadToolBarButton Text="Add new student" ID="btnInitInsert" runat="server"
CommandName="Insert" ImageUrl="~/images/telerik/AddRecord.gif" ImagePosition="Left">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Delete student"
ID="btnDelete" runat="server" CommandName="Delete" ImageUrl="~/images/telerik/Delete.gif"
ImagePosition="Left">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Toggle filtering" ID="ToggleFiltering" runat="server"
CommandName="ToggleFiltering" ImageUrl="~/images/telerik/search.png" ImagePosition="Left">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Refresh" ID="btnRefresh" runat="server" CommandName="RebindGrid"
ImageUrl="~/images/telerik/Refresh.gif" ImagePosition="Left" CausesValidation="false">
</telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>
</CommandItemTemplate>
Thank you for your assistance in advance.
Pathan L. M.
I am using Rad Grid and have following command item template in the grid where I am using Rad Tool Bar and Rad Tool Bar Button. I want to call client side function to display filter bar in the grid on client click of one of the button. Please suggest which event should I use. I notice that Rad Tool Bar Button does not support OnClientClick event.
<CommandItemTemplate>
<telerik:RadToolBar Skin="Vista" ID="RadToolBar1" runat="server">
<Items>
<telerik:RadToolBarButton Text="Add new student" ID="btnInitInsert" runat="server"
CommandName="Insert" ImageUrl="~/images/telerik/AddRecord.gif" ImagePosition="Left">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Delete student"
ID="btnDelete" runat="server" CommandName="Delete" ImageUrl="~/images/telerik/Delete.gif"
ImagePosition="Left">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Toggle filtering" ID="ToggleFiltering" runat="server"
CommandName="ToggleFiltering" ImageUrl="~/images/telerik/search.png" ImagePosition="Left">
</telerik:RadToolBarButton>
<telerik:RadToolBarButton Text="Refresh" ID="btnRefresh" runat="server" CommandName="RebindGrid"
ImageUrl="~/images/telerik/Refresh.gif" ImagePosition="Left" CausesValidation="false">
</telerik:RadToolBarButton>
</Items>
</telerik:RadToolBar>
</CommandItemTemplate>
Thank you for your assistance in advance.
Pathan L. M.