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

Custom filter on GridTemplateColumn

1 Answer 99 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 03 Dec 2008, 10:14 PM
2008.3.1125.35   VS2008 SP1

Tried to follow this example but it's not working:    http://www.telerik.com/help/aspnet-ajax/grdfilteringwithdropdownlist.html

I created MyCustomFilteringColumn.vb with these headers:



Namespace MyCustomNamespace
    Public Class MyCustomFilteringColumn
        Inherits GridTemplateColumn

In ASPX page I have:
<%@ Register Namespace="MyCustomNamespace" TagPrefix="custom" %> 

<custom:MyCustomFilteringColumn DataField="Opt_In" HeaderText="Customer ID" UniqueName="CustomerID" />

I get a bunch of warnings and it will error with:  Parser Error Message: Unknown server tag 'custom:MyCustomFilteringColumn'.

Generation of designer file failed: Unknown server tag 'custom:MyCustomFilteringColumn'. 



  Namespace or type specified in the Imports 'MyCustomNamespace' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 04 Dec 2008, 06:15 AM
Hi,

I have implemneted the same and its working fine for me. Check out the link below where the Telerik team have provided  a  demo application on the same.  If you have any  difficulties please do let me know.

http://www.telerik.com/community/forums/aspnet/grid/use-drop-down-for-filtering.aspx

Thanks,
Princy
Tags
Grid
Asked by
Lenny_shp
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Share this question
or