QDSCV - edit item

3 posts, 0 answers
  1. Anton
    Anton avatar
    6 posts
    Member since:
    Nov 2014

    Posted 21 Nov 2014 Link to this post

    We are using QDSCV for entity collection display in RadGridView.

    Collection item editing performed within separate DomainContext (let`s call it "contextEdit").

    When edited entity updated in DB by contextEdit, then I need to refresh same entity  in QDSCV .

    I am looking for best way to refresh Item in QDSCV so the RadGridView reflect this changes.

    For now I am using my own deep copy procedure to assign QDSCV entity property values from the corresponding contextEdit` entity. Also using QDSCV.EditItem/CommitEdit:

    qdscv.EditItem(currItem);
    currItem.AssignFrom(newItem);
    qdscv.CommitEdit();

    This works fine during first call (QDSCV entity updated and RadGridView displayed changes).
    But when I edit the same entity second time, the QDSCV entity updated, however RadGridView did not reflect any new changes.
    Is it a bug in EditItem/CommitEdit methods or I have missed something?

    Whether it`s another way to update QDSCV items so it is reflected in RadGridView?


  2. Anton
    Anton avatar
    6 posts
    Member since:
    Nov 2014

    Posted 24 Nov 2014 in reply to Anton Link to this post

    Oh. It is appeared that project I am exploring based on Telerik Q3 2013. And Q3 2013 seems have a bug related to EditItem/CommitEdit methods. At least in Q1 2013 EditItem/CommitEdit works as expected. So I have swithched to Q1 2013 for a while.
  3. DevCraft banner
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 24 Nov 2014 Link to this post

    Hi,

    We indeed resolved a similar issue related to editing items. I am glad to hear it now works fine for you with the latest version.

    Regards,
    Dimitrina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top