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

Radwindow and getting the DialogResult

1 Answer 213 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jeroen
Top achievements
Rank 1
Jeroen asked on 19 Jan 2015, 01:46 PM
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

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 22 Jan 2015, 11:15 AM
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.

 
Tags
Window
Asked by
Jeroen
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or