RadWindow Questions & Problems

4 posts, 0 answers
  1. Gaurav
    Gaurav avatar
    8 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2008 Link to this post

    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
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 18 Nov 2008 Link to this post

    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.
  3. Gaurav
    Gaurav avatar
    8 posts
    Member since:
    Nov 2008

    Posted 19 Nov 2008 Link to this post

    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.

  4. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 24 Nov 2008 Link to this post

    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.
Back to Top