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

Dynamically created Radgrid, Filter Text boxes, postback

3 Answers 141 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rob
Top achievements
Rank 1
rob asked on 04 Mar 2009, 12:32 AM
Using 2.0, I am dynamically creating the grid in Page_Init.  I can enter filter text, click on the filter icon, the postback occurs and the results are properly filtered.  The issue is that the Filter Text box is empty, so the user cannot see what the filter was.
Can you help?

Thanks,
Rob

3 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 06 Mar 2009, 12:29 PM
Hi rob,

Can you please double-check that you are instantiating the grid programmatically inside the PageInit handler in par with the concepts from this help topic? This should ensure that the viewstate of the control will remain consistent and the event lifecycle will be intact.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
rob
Top achievements
Rank 1
answered on 06 Mar 2009, 06:47 PM

Hi Sebastian,
As I said, I am instantiating the grid in Page_init.  I followed the example you cited, but there is no FILTER used there.  Do you have a working example using filters?

Thanks,

Rob

0
Sebastian
Telerik team
answered on 07 Mar 2009, 09:00 AM
Hello Rob,

You will find the example you requested attached to this message. In it there are two grids with filtering enabled - one instantiated on PageInit and one on PageLoad. The filtering is enabled for both controls.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
rob
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
rob
Top achievements
Rank 1
Share this question
or