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

How to get a confirmation message If the User selects other menuitem while he is trying to add a new record in Dataform under current menuitem

3 Answers 52 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sasikiran
Top achievements
Rank 1
Sasikiran asked on 09 Apr 2012, 04:14 PM

Scenario: 

In a Silverlight application, There are many Menuitems. If suppose the User is in a Menu Item (Lets say Users) and He is trying to add a new record, So he clicked the "+" button icon of Dataform to add a record. He entered User name, address. Now he accidentally clicks other Menu Item (Lets say Orders).

Now he can see the Orders DataGrid and Dataform. But I want a confirmation popup kind of message to the customer before he is switching to other Menu item, while he is trying to add a record in present Menu item Dataform.

Are there any events to capture User before moving to other menu item? or do we need to something beyond these events?

Any help is greatly appreciated

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 10 Apr 2012, 03:46 PM
Hello,

Basically I would advise you to execute such custom logic on RadDataForm's ValidatingItem event. However, as I am slightly confused by the description of you scenario, I would ask you to confirm whether you are refering to RadDataForm or Microsoft's Toolkit DataForm.

Regards,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Sasikiran
Top achievements
Rank 1
answered on 10 Apr 2012, 04:07 PM
Hi Ivanov,

Thanks for your reply, Sorry for my confused narration.

Its not a RadDataForm, it is Microsoft Toolkit dataform.

Basically I looking for a Prompt for User to Save When Leaving a Page. Like Warning user before leaving page with unsaved changes.
0
Ivan Ivanov
Telerik team
answered on 10 Apr 2012, 04:19 PM
Hello,

I fear that your inquiry is out of our support scope. If you need some additional information of Microsoft Silverlight toolkit, you can address the respective issues in Microsoft community forums.

All the best,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
DataForm
Asked by
Sasikiran
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Sasikiran
Top achievements
Rank 1
Share this question
or