GridView Filtering Issue Q2 2012

4 posts, 0 answers
  1. Akshay
    Akshay avatar
    5 posts
    Member since:
    Jun 2012

    Posted 03 Jul 2012 Link to this post

    Hi
    I have updated my DLL's from Q2 2011 to Q2 2012.
    But I am facing a code break in GridView Filter.

    The code is:

    IColumnFilterDescriptor filterDescriptor = e.ColumnFilterDescriptor as IColumnFilterDescriptor;
    string name = e.ColumnFilterDescriptor.DistinctFilter.Member;
    It is saying that member "Member" doesn't exist.
    Any Pointers?
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 03 Jul 2012 Link to this post

    Hi,

     We have introduced breaking changes with the Q1 2012 (2012.1.215.1050) version of the RadControls. Please check here for detailed information on all the changes done. 

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Ajmal
    Ajmal avatar
    1 posts
    Member since:
    Jul 2012

    Posted 06 Jul 2012 Link to this post

    If a user clicks a column header to trigger the sort of that column and then goes into a cell in one of the rows on that same column and clicks away, the RowEditedAction (i.e., Save) is not triggered. The grid automatically sorts based on the new value, which displays in the grid but the new value was not retained in the database and validation was not performed because the Save action was never triggered. 

    ACTUAL RESULTS: No warning message occurs, list re-sorts since this value has changed, modification is not saved to the database. EXPECTED RESULTS: Warning message would occur and change would be saved to database since Save action would be triggered on the view model. This could be a bug with Telerik, although my research did not locate anything. But could also be the way UIF implements the RowEditedAction

  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 09 Jul 2012 Link to this post

    Hello,

     When you edit a row and you move outside of that row - the RowEditEnded event will be raised. As the collection has changed, the sorting will be re-evaluated.

    I am not sure what do you mean by "the RowEditedAction (i.e., Save) is not triggered". Would you please clarify? May ask you what is your ItemsSource? Do you expect the changed values to be automatically saved into your database? 

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top