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

[Solved] Creating Filters in the grid

2 Answers 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kartik Ganesan
Top achievements
Rank 1
Kartik Ganesan asked on 30 Nov 2009, 11:43 PM
Hi,

We get an error when we try to implement this functionality:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultcs.aspx

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Object reference not set to an instance of an object.

Source Error:

Line 15: 
Line 16: <custom:MyCustomFilteringColumn DataField="SGSContactName" FilterControlWidth="180px" HeaderText="Custom TemplateColumn SGSContactName">
Line 17: <headerstyle width="25%" />
Line 18: <itemtemplate>


Is there a class in our version, we are using ASPNET Ajax Q1 2009.

Thanks

Kartik

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 01 Dec 2009, 01:40 PM
Hi Kartik,

Have you added the namespace reference to the page?
     <%@ Register TagPrefix="custom" Namespace="<MyApplicationNamespace>" Assembly="<MyApplicationAssembly>" %>

Also checkout the following documentation:
Implementing filtering for template/custom columns

-Shinu.
0
Pavlina
Telerik team
answered on 01 Dec 2009, 02:19 PM
Hello Kartik,

Attached to this message is a simple working project that demonstrates the needed approach, Please give it a try and let me know if it works for you.

Additionally, I recommend you review the following help article:
Implementing filtering for template/custom columns

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Kartik Ganesan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Pavlina
Telerik team
Share this question
or