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

Dynamically created Grid Filter Error

1 Answer 40 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Farhan
Top achievements
Rank 1
Farhan asked on 30 Jan 2012, 07:25 AM
Hi,
   I have a grid that I am creating programmactically. Everything in the grid works fine. In the Column created Event I am setting the
Column.AutoPostback property to true. When I try to fiter on any of the columns I am getting this error

Microsoft JScript runtime error: 'value' is null or not an object

This is happening on all the column filters. Can someone tell me what is causing this since this is making the filtering useless for the grid? Please let me know since this is kind of a vague error from ajax and im having a hard time trying to find the cause and solution around it, your helps appreciated!!

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Jan 2012, 11:37 AM
Hello,

I suppose you are using Simple Data Binding. Inorder to implement Advanced features like Sorting,Filtering, make sure that you are binding the RadGrid with Advanced databinding using NeedDataSource event.
Advanced Data-binding (using NeedDataSource event)

Thanks,
Princy.
Tags
Filter
Asked by
Farhan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or