Filtering Issue with disabled viewstate

3 posts, 0 answers
  1. Vinod
    Vinod avatar
    3 posts
    Member since:
    Feb 2012

    Posted 16 Mar 2012 Link to this post

    Hi All,

    I am new to Telerik, please help me.
    Rad filter doesn't work properly when I disable mastertableview's viewstate of the radgrid.But I need to create grid dynamically for diiferent profile in page so It is must to disable the mastertableview viewstate.

    Please help me to resolve this issue. Thanks In advance!!
  2. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 21 Mar 2012 Link to this post


    If you need to turn off RadGrid viewstate, then, in order for advanced features such as sorting and filtering, you'll need to use Advanced data Binding. Take a look at the Grid/Google-Like Filtering online demo. It should provide you with the insights you'll need to accomplish your requirements.

    Hope this helps!
  3. Eyup
    Eyup avatar
    3298 posts

    Posted 21 Mar 2012 Link to this post

    Hello Vinod,

    When ViewState is disabled,it is normal for  filtering not to behave correctly due to the fact that the grid data will reset on each postback.
    Fortunately, here comes the RadControls NeedDataSource event. By using it, you can achieve the desired work condition of your filtering. Please take a look at these tutorials:
    Advanced Data-binding
    Advanced Data-binding demo

    I hope this helps.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top