This is a migrated thread and some comments may be shown as answers.

Rad Grid Command Item Template

0 Answers 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
L. M. Pathan
Top achievements
Rank 1
L. M. Pathan asked on 12 Sep 2011, 08:04 AM
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.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
L. M. Pathan
Top achievements
Rank 1
Share this question
or