RadWindow just for a message with OK button

5 posts, 0 answers
  1. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 30 Apr 2013 Link to this post

    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

  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 02 May 2013 Link to this post

    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.

  3. DevCraft banner
  4. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 02 May 2013 Link to this post

    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.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 07 May 2013 Link to this post

    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.

  6. Marc Roussel
    Marc Roussel avatar
    429 posts
    Member since:
    Dec 2009

    Posted 07 May 2013 Link to this post

    Awesome.  Thank you
Back to Top
DevCraft banner