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

RadWindow: Information dialog

9 Answers 309 Views
Window
This is a migrated thread and some comments may be shown as answers.
Alessandro Federici
Top achievements
Rank 1
Alessandro Federici asked on 13 Jan 2010, 04:03 PM
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

9 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 15 Jan 2010, 08:12 AM
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.
0
Alessandro Federici
Top achievements
Rank 1
answered on 15 Jan 2010, 01:53 PM
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?
0
Konstantina
Telerik team
answered on 18 Jan 2010, 03:58 PM
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.
0
yonadav
Top achievements
Rank 1
answered on 15 Apr 2010, 11:42 AM
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
0
Konstantina
Telerik team
answered on 19 Apr 2010, 03:05 PM
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.
0
yonadav
Top achievements
Rank 1
answered on 27 Apr 2010, 09:50 AM
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
0
Konstantina
Telerik team
answered on 30 Apr 2010, 07:56 AM
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.
0
yonadav
Top achievements
Rank 1
answered on 17 May 2010, 05:23 PM
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
0
Konstantina
Telerik team
answered on 21 May 2010, 08:21 AM
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.
Tags
Window
Asked by
Alessandro Federici
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Alessandro Federici
Top achievements
Rank 1
yonadav
Top achievements
Rank 1
Share this question
or