Radwindow and getting the DialogResult

2 posts, 0 answers
  1. Jeroen
    Jeroen avatar
    2 posts
    Member since:
    May 2014

    Posted 19 Jan 2015 Link to this post

    Hi Team,

    Does anyone know if there is a way of getting the DialogResult without having to put the result in yourself?  

    Just a basic result like Ok, and Cancelled for a dialog kind of window will do.

    Is/should this be  possible?

    Thx,

    Richard

  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 22 Jan 2015 Link to this post

    Hi Richard,

    RadWindow dialogs don't provide such override that return the DialogResult. However you can manually achieve that behavior by inheriting RadWindow and implementing custom static Show method that returns the DialogResult once the dialog is closed.

    Hope this helps.

    Regards,
    Kalin
    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top