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

RadWindow just for a message with OK button

4 Answers 144 Views
Window
This is a migrated thread and some comments may be shown as answers.
Marc Roussel
Top achievements
Rank 2
Marc Roussel asked on 30 Apr 2013, 01:36 PM
I was looking for RadWindow.Something that just show a message to the user like something that just terminated  not ALERT not CONFIRM just a message and since I like the style of RadWindow I don't want to use MessageBox

4 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 02 May 2013, 08:07 AM
Hello Marc,

Could you please explain what exactly you  want to be displayed on the RadWindow, and why the Alert is not doing the job? Also, you could always customize the template of the Alert to fit your requirements. And if still this is not fitted to your case, you could use a regular RadWindow with set size and position.

Regards,
Konstantina
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Marc Roussel
Top achievements
Rank 2
answered on 02 May 2013, 11:10 AM
Hi,

Just a message and a OK button but not an ALERT since it's not considered that way with an ALERT icon but only a message, an information with a OK button and I tried ALERT and trying to figure out how to have only OK button and not having the dialog as an alert but more like a Messagebox simply to show a message to the user.
0
Konstantina
Telerik team
answered on 07 May 2013, 08:08 AM
Hello Marc,

You could modify the template of the Alert dialog and remove the icon. In that way the dialog will be only with OK button and a message. You will have to merge the following in the App.xaml:

<Application.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/WindowPrompt;component/Themes/Telerik.Windows.Controls.xaml"/>
                <ResourceDictionary Source="/WindowPrompt;component/Themes/Telerik.Windows.Controls.Input.xaml"/>
                <ResourceDictionary Source="/WindowPrompt;component/Themes/Telerik.Windows.Controls.Navigation.xaml"/>
                <ResourceDictionary Source="/WindowPrompt;component/Alert.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Application.Resources>

Attached I am sending you the Alert.xaml which you could modify.

Hope this helps.

Greetings,
Konstantina
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Marc Roussel
Top achievements
Rank 2
answered on 07 May 2013, 09:52 AM
Awesome.  Thank you
Tags
Window
Asked by
Marc Roussel
Top achievements
Rank 2
Answers by
Konstantina
Telerik team
Marc Roussel
Top achievements
Rank 2
Share this question
or