RadWindow: Information dialog

10 posts, 0 answers
  1. Alessandro Federici
    Alessandro Federici avatar
    6 posts
    Member since:
    Nov 2009

    Posted 13 Jan 2010 Link to this post

    Hi,
      I noticed RadWindod has methods to display alerts (RadWindow.Alert) and confirmations (RadWindow.Confirm)
    How can I show an Information dialog that has just an OK button and shows the proper Information icon?
    Think of messages like "The operation completed fine" or "Your file has been saved"...

    Thanks,
      Alessandro

  2. Konstantina
    Admin
    Konstantina avatar
    2331 posts
    Member since:
    Sep 2012

    Posted 15 Jan 2010 Link to this post

    Hello Alessandro,

    Thank you for your interest in our products.

    You can see how to show an information dialog here. Changing the icon of the RadAlertWindow is a hard work. This can be achieved by implementing a custom theme for the RadAlertWindow control.

    If you have any further questions please feel free to contact us again.

    All the best,
    Konstantina
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

  3. Download a free trial of UI for WPF
  4. Alessandro Federici
    Alessandro Federici avatar
    6 posts
    Member since:
    Nov 2009

    Posted 15 Jan 2010 Link to this post

    I clicked the link you provided but it points to your web demo which does not show information dialogs.
    It shoes Alert, Prompt or Confirm dialogs which are not suited for regular Information type content.
    So my question stands...

    Can you point me to something that shows how to implement the custom theme you referred to?

  5. Konstantina
    Admin
    Konstantina avatar
    2331 posts
    Member since:
    Sep 2012

    Posted 18 Jan 2010 Link to this post

    Hello Alessandro,

    Straight to your question.

    If you won't need any of our Alert Windows you can create a custom style and that will apply it for all Alert Windows in your application. Attached you will find a simple project which illustrates that. If you remove the x:Key from the style and move the style in the application resources, that will apply it for all Alert Windows. But if you want to have different styles for each window you will have to keep the x:Key and add 2 methods which will apply the style. You can see all that made in the sample project attached to that post.

    If you have further questions please feel free to contact us again.

    Regards,
    Konstantina
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

  6. yonadav
    yonadav avatar
    60 posts
    Member since:
    Oct 2009

    Posted 15 Apr 2010 Link to this post

    Hi Konstantina ,


    We would also like to achieve something similar. We were thinking of taking the blue sphere for the Prompt window and replacing the question mark with the alert's exclamation mark. Could you post the styles for both and we'll merge them together and use the solution you have posted above?

    Thanks,
    yonadav

  7. Konstantina
    Admin
    Konstantina avatar
    2331 posts
    Member since:
    Sep 2012

    Posted 19 Apr 2010 Link to this post

    Hello yonadav,

    Thank you for contacting us.

    Attached I am sending you the style of the Prompt window. And the style of the Alert is in the sample project in my previous post.

    If you need further assistance please let us know.

    Kind regards,
    Konstantina
    the Telerik team


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

  8. yonadav
    yonadav avatar
    60 posts
    Member since:
    Oct 2009

    Posted 27 Apr 2010 Link to this post

    Hi Konstantina,


    Thank you for the attached.

    We've started using 2010 Q1 and the styles of the Alert, Prompt, dialogs has changed. Can you please provide the styles for the new ones?

    Thanks,
    yonadav

  9. Konstantina
    Admin
    Konstantina avatar
    2331 posts
    Member since:
    Sep 2012

    Posted 30 Apr 2010 Link to this post

    Hello yonadav,

    Thank you for contacting us.

    Attached you will find the whole xaml code for the Window. It contains also the styles for the RadAlert, RadPrompt and RadConfirm.

    If you need further assistance please feel free to contact us again.

    Best wishes,
    Konstantina
    the Telerik team


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

  10. yonadav
    yonadav avatar
    60 posts
    Member since:
    Oct 2009

    Posted 17 May 2010 Link to this post

    Hi Konstantina,

    Thank you for this and sorry for the delay in our response.

    Just a couple of quick questions before we try to implement this:
    1. Why does RadPrompt have a fixed width (350) while the other's is a range (275 to 500 pixels)? This relates to a different post you've answered regarding text wrapping in the new Alert/Prompt/Confirm windows (we've asked there regarding the correct width to use for the TextBlock...)?
    2. Is it okay with you (copyright-wise) if we create a new icon based on WindowConfirmIcon.png for our Info dialog (same background, replace question mark with a lower-case "i")?

    Thanks,
    yonadav

  11. Konstantina
    Admin
    Konstantina avatar
    2331 posts
    Member since:
    Sep 2012

    Posted 21 May 2010 Link to this post

    Hi yonadav,

    Thank you for your questions.

    My answers are listed below:
    1. That is because the RadPrompt has a TextBox which fixes the width. The other two windows have a TextBlock in them, which can be different size.
    2. Yes, you can create your own icon.

    If you have any other questions about our controls please let us know.

    Best wishes,
    Konstantina
    the Telerik team


    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

Back to Top
Download a free trial of UI for WPF