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

Retrieving filtered values from a filter inside radgrid

3 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nivia
Top achievements
Rank 1
Nivia asked on 07 Jan 2013, 05:45 AM
Hi all,

Im a beginner in telerik controls. I have a filter inside radgrid . the filter is working fine .After filtering the grid displays the filtered records.But in the page refresh ,the grid shows the whole records. I need the filtered records only. how can i do this.? Thanks in advance .

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 07 Jan 2013, 07:07 AM
Hi,

Try setting EnableViewState as true.
aspx:
<telerik:RadGrid EnableViewState="true" ID="RadGrid2" .....></telerik:RadGrid>

Thanks,
Shinu.
0
Nivia
Top achievements
Rank 1
answered on 07 Jan 2013, 08:24 AM
I tried the same ..its not working
0
Shinu
Top achievements
Rank 2
answered on 11 Jan 2013, 07:27 AM
Hi,

ViewState will be maintained for the default rendering of the form, when posted back the state of the control will be maintained, even if you press F5 or Refresh the page. But if you select the url in the Address bar and hit enter, the view state wont persist because it is having the same effect as  copying and pasting the url in the Address bar. Can you please elaborate the scenario as I am unable to replicate the issue.

Thanks,
Shinu.
Tags
General Discussions
Asked by
Nivia
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Nivia
Top achievements
Rank 1
Share this question
or