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

4 posts, 0 answers
  1. Sasikiran
    Sasikiran avatar
    6 posts
    Member since:
    Jan 2012

    Posted 09 Apr 2012 Link to this post

    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

  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 10 Apr 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Sasikiran
    Sasikiran avatar
    6 posts
    Member since:
    Jan 2012

    Posted 10 Apr 2012 Link to this post

    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.
  5. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1128 posts

    Posted 10 Apr 2012 Link to this post

    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 >>
Back to Top