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

RadWindow Questions & Problems

3 Answers 131 Views
Window
This is a migrated thread and some comments may be shown as answers.
Gaurav
Top achievements
Rank 1
Gaurav asked on 18 Nov 2008, 09:09 AM
Hi,

I have some questions and some problems using RadWindow:
1. Can we have an example where I can specify the Icon for RadWindow using "Icon" property. I am specifying a "png" file in Icon property but it still displays the default icon.

2. What do I need to do if I don't want to display any icon (not even the default one) for a RadWindow?

Here are the problems I encountered while using RadWindow:
1. If I specify the RadWindow width & height as "Auto", then RadWindow does not stretches to accommodate the content inside RadWindow. So essentialy the content flows out of RadWindow. How can I make the RadWindow size flexible to accommodate the content inside.

2. Currently I am using a fixed width & height RadWindow (as Modal Dialog). When I launch my application and if the browser screen is comparatively smaller and then I maximize the screen and launch the RadWindow, the RadWindow Background does not cover the entire screen. I can send you a screenshot of the same if you would like. 

Thanks

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 18 Nov 2008, 07:03 PM
Hi Gaurav,

We have just uploaded a new version of the controls. Please download them and let us know if you experience the same problems.


All the best,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Gaurav
Top achievements
Rank 1
answered on 19 Nov 2008, 01:44 PM
Hi,

I downloaded a new version this morning and tested for the problems 1 & 2. It's gone now. Thanks so much.

However I am still struggling with setting custom Icon for the window using "Icon" property. Can you show me some example for that?

Thanks again.

0
Hristo Borisov
Telerik team
answered on 24 Nov 2008, 09:04 AM
Hi Gaurav,

I am sorry for the late reply. When you are dealing with the Icon property, you should also take into consideration the IconTemplate property which describes the visual structure of the data( in this case our Icon property). Thus, if you want to show an image or text that doesn't have a specific visual structure, you should set the IconTemplate property to null. You can also take a look at the MSDN online help for DataTemplate in WPF which is quite similar to the Silverlight concept here:

http://msdn.microsoft.com/en-us/library/system.windows.datatemplate.aspx

Feel free to contact us for any further assistance.

All the best,
Hristo Borisov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Gaurav
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Gaurav
Top achievements
Rank 1
Hristo Borisov
Telerik team
Share this question
or