In my page there is a RadGrid having filter functionality enabled.
I am handling the "OnHeaderMenuShowing" event for one of my requirement and its working fine but while trying the "OnFilterMenuShowing" client-side event its not working for me, even the simple method having to show alert message also not being called by this event handler and also without throwing any error.
Please see my code example below :-
function FilterMenuShowing(sender, eventArgs){
alert('hi');
}
again this is called at the client-side event like below for the RadGrid :-
<ClientSettings AllowColumnsReorder="true" AllowColumnHide="true" ColumnsReorderMethod="Reorder">
<ClientEvents OnGridCreated="ResizeGrid" OnFilterMenuShowing="FilterMenuShowing" />
</ClientSettings>
Can any body say here if anything missed for it to work ?
OR anything to do more for get it worked ?
Thanks in advance ... :)


<Telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> <Telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="true" ShowRowHeaders="false" EnableMultiSelect="false" OnSelectionChanged="RadCalendar1_SelectionChanged"> </Telerik:RadCalendar>protected void RadCalendar1_SelectionChanged(object sender, SelectedDatesEventArgs e) { RadCalendar cal = (RadCalendar)sender; if (cal.SelectedDate.Month != cal.FocusedDate.Month) cal.FocusedDate = cal.SelectedDate; } <EditFormSettings EditFormType="Template"><FormTemplate> <asp:DropDownList ID="editDropDown" runat="server"> <asp:ListItem Text="Item1"></asp:ListItem> <asp:ListItem Text="Item2"></asp:ListItem> <asp:ListItem Text="Item3"></asp:ListItem> </asp:DropDownList> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="btn" Text="btn" runat="server" OnClientClick="ddlValue();" /> </FormTemplate> </EditFormSettings>Protected Sub myRadGrid_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles myRadGrid.ItemDataBound If TypeOf e.Item Is GridEditableItem And e.Item.IsInEditMode Then Dim Item As GridEditableItem = CType(e.Item, GridEditableItem) Dim cbl As CheckBoxList = Item.FindControl("cblReg") Dim Id As Integer = e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("intCategoryId") 'populate the checkboxlist will all avialable items sql = "Select COLUMN_NAME from ITSystems.INFORMATION_SCHEMA.COLUMNS where Table_name = 'Drat_Registration' and COLUMN_NAME not like 'int%'" myDataTable = New DataTable myDataTable = getData(sql) cbl.DataSource = myDataTable cbl.DataTextField = "COLUMN_NAME" cbl.DataValueField = "COLUMN_NAME" cbl.DataBind() 'get the existing items that should be checked when editing sql = "Select strFieldName from Drat_regRelation where intCategoryId = " & Id myDataTable = New DataTable myDataTable = getData(sql) For Each row As DataRow In myDataTable.Rows For Each Item In cbl.Items If row(0) = cbl.DataValueField Then cbl.SelectedValue = True End If Next Next End If End Sub
<telerik:RadGrid ID="myRadGrid" runat="server" Width="100%" BorderWidth="1px" CellPadding="6" GridLines="None" BorderColor="#404040" Skin="Web20">
<MasterTableView AutoGenerateColumns="false" DataKeyNames="Category" Name="MasterGrid" BorderColor="#404040" Font-Size="9" Font-Names="Veranda,arial,sans-serif"
HeaderStyle-HorizontalAlign="Center" GridLines="Both" BorderWidth="1px"><AlternatingItemStyle BackColor="#B0C4DE" />
<HeaderStyle ForeColor="White" Font-Bold="true" BorderColor="#404040" BorderWidth="1px" />
<Columns>
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn"></telerik:GridEditCommandColumn>
<telerik:GridBoundColumn DataField="Category" HeaderText="Category" />
<telerik:GridBoundColumn DataField="DataFields" HeaderText="REG DATA" />
</Columns>
<EditFormSettings EditFormType="Template">
<FormTemplate>
<table width="100%">
<tr>
<td style="height:8px"></td>
</tr>
<tr>
<td><b>EDIT DETAILS</b></td>
</tr>
</table>
<table width="100%">
<tr>
<td align="left"><asp:CheckBoxList ID="cblReg" runat="server" DataTextField="strCategory" DataValueField="intCategoryId"></asp:CheckBoxList></td>
</tr>
<tr>
<td style="height:5px"></td>
</tr>
</table>
<table width="100%">
<tr>
<td>
<asp:LinkButton ID="lnkSubmit" runat="server" text='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "Insert", "Update") %>'
CommandName='<%# IIf((TypeOf(Container) is GridEditFormInsertItem), "PerformInsert", "Update")%>'></asp:LinkButton>
<asp:LinkButton ID="lnkCancel" runat="server" CausesValidation="false" CommandName="Cancel" Text="Cancel"></asp:LinkButton>
</td>
</tr>
<tr>
<td style="height:8px"></td>
</tr>
</table>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
if(!m||j==m||$telerik.isDescendant(j,m)){return true;}if(this._childrenDetached&&$telerik.isDescendant(l.get_parent()._getAnimationContainer(),m)){return true;}if(this._scroller&&l.get_level()>0&&!$telerik.isDescendant(this.get_element(),m)){var k=l;while(k.get_level()>0){k=k.get_parent();}this._onItemMouseOut({eventMapTarget:k.get_element(),eventMapRelatedTarget:m});}if(l._state==a.RadMenuItemState.Closed||l._state==a.RadMenuItemState.AboutToClose){return true;}if(l._state==a.RadMenuItemState.AboutToOpen){l._clearTimeout();l._state=a.RadMenuItemState.Closed;l.get_parent()._openedItem=null;return true;| protected void RadDataPager1_PreRender(object sender, EventArgs e) |
| { |
| RadDataPager dataPager = (RadDataPager)lvwProducts.FindControl("RadDataPager1"); |
| foreach (Control control in dataPager.Controls) |
| { |
| foreach (Control c in control.Controls) |
| { |
| if (c is HyperLink) |
| { |
| HyperLink currentLink = (HyperLink)c; |
| currentLink.NavigateUrl = UrlClass.LinkToCategory("1", "1", "2"); // <--- This rewrites properly. |
| // TODO: Put Page Command Value into PageNumber parameter. |
| currentLink.NavigateUrl = UrlClass.LinkToCategory(DepartmentId, CategoryId, PageNumber); |
| } |
| } |
| } |
| } |