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

dynamically loaded Radgrid's filter throwing error

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Samir
Top achievements
Rank 1
Samir asked on 15 Sep 2010, 09:13 PM
Hi
  I have following set up:
I am dynamically loading a user control which has radgrid in it...i also have a button above radgrid, which when clicked opens a radwindow, upon closing that radwindow, i am rebinding the radgrid which is working fine and the grid results are updated. But now the basic filters (filters on top of columns) don't work anymore. They work fine on initial page load, but now they throw error "Error: 'null' is null or not an object". I have a client side function on close of the popup which triggers ajaxrequest click of a hidden button and hidden button click's server click event does the rebind. So i guess the data is getting rebinded okay, just the filters are not working. My guess is this is happening because of dynamically loading control, but i checked the server ID and the Client side ID of the grid and they stay the same and i also have enableviewstate to true. what else can i try???

thanks in advance

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 16 Sep 2010, 02:32 PM
Hi,

Can you specify how is the grid itself created, declaratively or programmatically?

Kind regards,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Samir
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or