Validation before save

5 posts, 0 answers
  1. Martin
    Martin avatar
    39 posts
    Member since:
    Sep 2008

    Posted 10 Apr 2013 Link to this post

    I have read every bit of information there is on the RadCollectionNavigator, not much out there, so now I have to ask (-:

    I would like to:
    - Validate before accepting a new item
    - Undo a new item
    - Ask fro delete confirmation
    - Know how to set focus on the new item in a rad listbox

    Can I do this with the RadCollectionNavigator or do I have to find another solution?
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 15 Apr 2013 Link to this post

    Hi Martin,

    Currently, such functionality cannot be performed through the API of RadCollectionNavigator. The way add/delete work is to call the corresponding methods of the source collection - AddNew(), Remove(dataItem) and everything is performed on the data layer.
    Nevertheless, we will definitely consider exposing events for those functionality. 

    Regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Amit
    Amit avatar
    2 posts
    Member since:
    Oct 2017

    Posted 01 Sep 2019 Link to this post

    Hi,

    This question was asked long back. Not sure whether these functionalities have been added in later releases or not.

    I have similar issues. I want to undo a new item, ask for delete confirmation.... on RadGridView. if these functionalities have been added to RadCollectionNavigator, could you please let me know where can i find them? If its available in MVVM Light, it would be great.

    Thanks,

  4. Dinko
    Admin
    Dinko avatar
    1120 posts

    Posted 04 Sep 2019 Link to this post

    Hi Amit,

    The RadCollectionNavigator does not have build-in functionality for Undo/Redo operation. Regarding the delete confirmation. In this case, you can customize RadCollectionNavigator’s commands. More information can be found in the Customizing Commands help article in our documentation. In your case, you can check the MoveCurrentToNext and MoveCurrentToPrevious section which demonstrate how to show confirm dialog before moving to the next item.

    Regards,
    Dinko
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. Amit
    Amit avatar
    2 posts
    Member since:
    Oct 2017

    Posted 04 Sep 2019 in reply to Dinko Link to this post

    Hi Dinko,

     

    Thanks for your quick reply. 

    I will look into it for sure.

     

    Thanks,

    Amit

Back to Top