Retrieving filtered values from a filter inside radgrid

4 posts, 0 answers
  1. Nivia
    Nivia avatar
    2 posts
    Member since:
    Jan 2013

    Posted 06 Jan 2013 Link to this post

    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 .
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Jan 2013 Link to this post

    Hi,

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

    Thanks,
    Shinu.
  3. Nivia
    Nivia avatar
    2 posts
    Member since:
    Jan 2013

    Posted 07 Jan 2013 Link to this post

    I tried the same ..its not working
  4. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 11 Jan 2013 Link to this post

    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.
Back to Top