This is a migrated thread and some comments may be shown as answers.

Validation before save

4 Answers 91 Views
CollectionNavigator
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 2
Martin asked on 10 Apr 2013, 12:05 PM
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?

4 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 15 Apr 2013, 07:41 AM
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.

0
Amit
Top achievements
Rank 1
answered on 01 Sep 2019, 02:25 PM

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,

0
Dinko | Tech Support Engineer
Telerik team
answered on 04 Sep 2019, 11:12 AM
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.
0
Amit
Top achievements
Rank 1
answered on 04 Sep 2019, 02:01 PM

Hi Dinko,

 

Thanks for your quick reply. 

I will look into it for sure.

 

Thanks,

Amit

Tags
CollectionNavigator
Asked by
Martin
Top achievements
Rank 2
Answers by
Maya
Telerik team
Amit
Top achievements
Rank 1
Dinko | Tech Support Engineer
Telerik team
Share this question
or