Hi Guys,
I have a problem Im hoping you can help me with.
I have a RadGrid, with a RadFilter on it. The RadFilter button is an ItemCommand on the RadGrid. I have since put another ItemCommand on to call a RadWindow to display my insert record aspx page.
However I cant seem to get the ItemCommand to link to the Call Function
Here is the ASPX Code
Here is my VB Code
The filter works great however I cant seem to get the RadGrid to fire. I have also tried calling the client side javascript from the VB code however that didnt fire either.
Any help is appriciated.
Cheers
Joel
I have a problem Im hoping you can help me with.
I have a RadGrid, with a RadFilter on it. The RadFilter button is an ItemCommand on the RadGrid. I have since put another ItemCommand on to call a RadWindow to display my insert record aspx page.
However I cant seem to get the ItemCommand to link to the Call Function
Here is the ASPX Code
<CommandItemTemplate> <telerik:RadToolBar runat="server" ID="RadToolBar1" OnButtonClick="RadToolBar1_ButtonClick Skin="WebBlue"> <Items> <telerik:RadToolBarButton Text="Apply filter" CommandName="FilterRadGrid" ImageUrl="~/Images/Refresh.gif"/> <telerik:RadToolBarButton Text="Add new" CommandName="xInsert" ImageUrl="~/Images/AddRecord.gif" /> </Items> </telerik:RadToolBar> </CommandItemTemplate>Here is my VB Code
Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As GridCommandEventArgs) If e.CommandName = "FilterRadGrid" Then RadFilter1.FireApplyCommand() Else If e.CommandName = "xInsert" Then Dim newWindow As New Telerik.Web.UI.RadWindow() newWindow.ID = "InsertWindow" newWindow.NavigateUrl = "~/XDW/EditPalletQty.aspx" newWindow.VisibleOnPageLoad = True RadWindowManager1.Windows.Add(newWindow) End If End If End SubThe filter works great however I cant seem to get the RadGrid to fire. I have also tried calling the client side javascript from the VB code however that didnt fire either.
Any help is appriciated.
Cheers
Joel