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

RadGrid Custom Filtering Not working

2 Answers 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kannan
Top achievements
Rank 1
Kannan asked on 07 Sep 2012, 01:42 PM
Hi,

I am using Radgrid with Filtering options. In that i need to make a column filter to customized drop down. I am using this telerik version 2011.2.726.35. I have used the same example which is provided in this link http://www.telerik.com/help/aspnet-ajax/grid-filtering-with-dropdownlist.html .  But i am getting an error like unknown tag customFilter. customFilter is the prefix which is used in registering class file. And the class name is FilterColumn.

This is the code which i used for registering and in telerik columns.
<%@ Register TagPrefix="customFilter" Namespace="TestProject.Common"  %>

<customFilter:FilterColumn DataField="TaskStatus" UniqueName="TaskStatus1" FilterControlWidth="80px" HeaderText="Status"></customFilter:FilterColumn>                   

Please any one help me to get rid of this error.

Thanks & Regards
Kannan

2 Answers, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 12 Sep 2012, 12:20 PM
Hi,

 Please make sure the custom class is defined in a separate file in the App_Code folder of the web site. Then you you reference it in the suggested way:

<%@ Register TagPrefix="custom" Namespace="MyNamespace1" %>

Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Kannan
Top achievements
Rank 1
answered on 12 Sep 2012, 12:24 PM
Hi Marin,

Thanks for your reply.

I have found another solution like giving assembly name while referencing. And that worked for me.

<%@ Register TagPrefix="custom" Namespace="MyNamespace1" Assembly "Project1"%> 


Thanks a lot once again
Kannan 
Tags
Grid
Asked by
Kannan
Top achievements
Rank 1
Answers by
Marin
Telerik team
Kannan
Top achievements
Rank 1
Share this question
or