Can't see Radwindow on Design time in Expression Blend

4 posts, 0 answers
  1. Joshua
    Joshua avatar
    3 posts
    Member since:
    Nov 2010

    Posted 22 Dec 2010 Link to this post

    Why is not possible see the controls into RadWindow or RadModalWindow ? the controls are into window but like you can see on the picture I have a button, I try with more controls and anyway, the result is the same. I need this for sort the controls.
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 23 Dec 2010 Link to this post

    Hi Joshua,

    Thank you for writing.

    Currently our controls support only basic design-time support by providing simple metadata to the designer run-time. This is why you will not see more advanced editors for the controls than already provided by the run-time.

    The case of RadWindow is different than all the other controls. RadWindow is intended to occupy zero space in the container that it is inserted in. At run-time RadWindow dynamically inserts a Canvas panel which displays the content of the window. Therefore what you are seeing during design-time, is not the Canvas panel, but RadWindow itself and you are inserting the controls in RadWindow, not the Canvas. It turned out that there is no way to delegate the creation of objects to the canvas panel in Expression Blend.

    Currently you can design how your controls will look like in the window by placing them in an appropriate panel. After you do this you can simply cut the generated XAML and paste it as the value of RadWindow's Content property.

    Please write again if you have more questions.

    Kind regards,
    Victor
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. gehl
    gehl avatar
    1 posts
    Member since:
    Jan 2011

    Posted 12 Jan 2011 Link to this post

    I have worked around it by putting all my content into yet another UserControl, but this isn't the best solution.  With my current approach, I have a lot of pass-through methods and bindings going on.  Note that Blend 4 fully supports a ChildWindow.


    _________________
    VLC Download
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 14 Jan 2011 Link to this post

    Hello gehl,

    I am happy to hear that you managed to find a workaround.

    We are aware that Blend supports ChildWindow and our aim was to create an identical design-time experience for RadWindow. It turned out that some of the extensibility APIs that Microsoft provide do not work in Blend. We tried reflecting the Blend design-time assemblies to see how the things are working for ChildWindow, since there are no design-time assemblies for the framework controls. However there was no relevant logic which most likely means that the design-time support code for ChildWindow is in a native dll or in Blend itself.

    We will continue our research on this problem and we will do our best to come out with a solution as soon as possible.

    I would like to thank you for your time and your feedback - it is most welcome.

    Regards,
    Victor
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top