4 Answers, 1 is accepted
0
Accepted
Hello Haochen,
What you need to do is to use the first overload of the RadWindow.Alert() method and pass an object of type
DialogParameters - the object contains all of the needed properties:
For more details about the predefined dialogs you can check the following article from our online help documentation
http://www.telerik.com/help/wpf/radwindow-features-predefined-dialogs.html:
Hope this helps.
Regards,
Kalin
Telerik
What you need to do is to use the first overload of the RadWindow.Alert() method and pass an object of type
DialogParameters - the object contains all of the needed properties:
RadWindow.Alert(
new
DialogParameters { Header =
"Test"
, Content =
"aaaa"
});
For more details about the predefined dialogs you can check the following article from our online help documentation
http://www.telerik.com/help/wpf/radwindow-features-predefined-dialogs.html:
Hope this helps.
Regards,
Kalin
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
haochen
Top achievements
Rank 1
answered on 02 Jul 2014, 12:30 PM
Thank you
0
Hakem
Top achievements
Rank 1
answered on 02 Aug 2016, 05:11 PM
How to set Header/Title of Radwindow, when using onClose event in confirm method? The first parameter must be the text.
0
Hello Hakem,
For this scenario you would need to pass new instance of DialogParameters with the required properties set to the RadWindow.Confirm static method as shown below:
Hope this helps.
Regards,
Kalin
Telerik by Progress
For this scenario you would need to pass new instance of DialogParameters with the required properties set to the RadWindow.Confirm static method as shown below:
RadWindow.Confirm(
new
DialogParameters
{
Header =
"Header Text"
,
Content =
"Content Text"
,
Closed = ClosedEventHandler
});
Hope this helps.
Regards,
Kalin
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.