FilterExpression blank

4 posts, 0 answers
  1. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 08 Apr Link to this post

    Hi

    On one particular page I am having a problem with filters in a RadGrid.  I have another page with a similar setup that works fine.  

    I am finding that when a user enters a filter value the post back happens as expected but the filter value MasterTableView.FilterExpression is empty.  Oddly the grid still seems to do a client side filter but there is no server filter value entered.

    Any suggestions as to what could cause this? I've been looking for the various differences in the pages and am stumped on it!

    Regards

    Jon

     
  2. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 11 Apr in reply to Jon Link to this post

    EnableViewState was set to false.  Kind of annoying as I wanted to keep that false but it works when set to true so I guess I need to accept that!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 13 Apr Link to this post

    Hello Jon,

    Please keep EnableViewState set to True. You can find additional info here:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/performance/optimizing-viewstate-usage


    Regards,
    Eyup
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  5. Jon
    Jon avatar
    813 posts
    Member since:
    Oct 2008

    Posted 13 Apr in reply to Eyup Link to this post

    Hi Eyup

    I will.  I must say that the article is a little unclear and could do with a bit of a re-write to be more tabular perhaps.  Near the end it says that the filter expression doesn't need the enableviewstate to be set to true.  With this alteration in favor of paging the re-enablement of the view state no longer has the impact that it did before so I will happily remove it.

    Best Regards

    Jon

Back to Top