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

Filter Button Empty - not working

2 Answers 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Martin Sarosi
Top achievements
Rank 2
Martin Sarosi asked on 14 Apr 2011, 12:19 PM
The Filter Button does not work I cannot fathom why :(

The format code block doesn't seem to work with firefox but

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:Marty-rls7ConnectionString %>"  
            SelectCommand="SELECT [WO_SD_NO_P], [WO_SD_DE], [WO_SD_EQ_NO] FROM [SA_WO_SD_Data] WHERE ([SI_SITE] = @SI_SITE)" EnableCaching="true" CacheDuration="Infinite">
            
            <SelectParameters>
                <asp:Parameter DefaultValue="SiteA" Name="SI_SITE" Type="String"  />
            </SelectParameters>
        </asp:SqlDataSource>
        <Telerik:RadScriptManager ID="scriptmanager" runat="server" />
        <Telerik:RadAjaxManager ID="ajaxmanager" runat="server" />
        <Telerik:RadGrid ID="RegisterGrid" runat="server" DataSourceID="SqlDataSource1"
         AllowFilteringByColumn="true" AllowSorting="true" GroupingEnabled="true" ShowGroupPanel="true">            
            <ClientSettings AllowColumnsReorder="true" AllowDragToGroup="true"/>
        </Telerik:RadGrid>
    </div>
    </form>
</body>
</html>

The filter button doesn't work :(

Can anyone help ?

In firefox the menu appears to show but it is empty.

Mart

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 19 Apr 2011, 03:54 PM
Hello Martin,

Can you elaborate what happens when you click the filter menu? Also please confirm no javascript errors are thrown on the page. It might be of help if you share the code-behind of the page for further check.

Best wishes,
Iana
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Andrew
Top achievements
Rank 1
answered on 20 Jan 2012, 05:39 PM
For future reference, I recently had this bug using the Razor engine.

<%= Html.Telerik().... commands must be replaced with @Html.Telerik() commands.

Interesting enough, I only found the Filter button to break.

Cheers,
Andrew
Tags
Grid
Asked by
Martin Sarosi
Top achievements
Rank 2
Answers by
Iana Tsolova
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or