HtmlPlaceholder control not working properly inside a SL3 ChildWindow...

10 posts, 0 answers
  1. Ed
    Ed avatar
    7 posts
    Member since:
    Dec 2008

    Posted 17 Aug 2009 Link to this post

    I have an HTML Placeholder control inside a SL3 child window.

    The HTML Place holder is set to display a web page.

    When I launch the childWindow as a dialog, the webpage doesn't display inside the HtmlPlaceholder control.

    Is this supported?  Is there smething special I need to do to get this to work?

    If instead I put the same HtmlPlaceHolder control inside a SL3 page control pointing at the same web page, it works fine.

    =====

    I will create a support ticket for this and attach a simple test app that clearly shows the problem.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 20 Aug 2009 Link to this post

    Hello Ed,

    Thank you again for reporting this - we confirm this is a bug and will try to fix it with the internal release next week. You can use RadWindow to host the html placeholder control like in this demo:
    http://demos.telerik.com/silverlight/#HtmlPlaceholder/WindowIntegration

    Greetings,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft banner
  4. BlogReader
    BlogReader avatar
    27 posts
    Member since:
    Apr 2009

    Posted 28 Sep 2009 Link to this post

    Was this fixed. I was able to reproduce this in version 2009 SP2.
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 29 Sep 2009 Link to this post

    Hi BlogReader,

    We don't have 2009 SP2 version. What is the version of the dlls that you are using.

    Yes- this bug should be fixed in the internal builds that are available in your account.

    Greetings,
    Valentin.Stoychev
    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. Ed
    Ed avatar
    7 posts
    Member since:
    Dec 2008

    Posted 29 Sep 2009 Link to this post

    When will the next official release be out with this fix?  My company does not want me to use an internal release.

    Thanks!
    ...Ed
  7. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 29 Sep 2009 Link to this post

    Hello Ed,

    It will be at the beggining of November.

    Best wishes,
    Valentin.Stoychev
    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.
  8. BlogReader
    BlogReader avatar
    27 posts
    Member since:
    Apr 2009

    Posted 29 Sep 2009 Link to this post

    I am using 2009.2.812.1030. I will try with the latest dev version available to us(2009.2.0925)
  9. Martin Hollingsworth
    Martin Hollingsworth avatar
    6 posts
    Member since:
    Nov 2009

    Posted 26 Nov 2009 Link to this post

    I am using a trial version 2009.3.1103.1030 of the Silverlight Controls and it looks like I am still having the problem.

    If I host the the RadHtmlPlaceholder in a System.Windows.Controls.Page (c:\Program Files\Microsoft SDKs\Silverlight\v3.0\Libraries\Client\System.Windows.Controls.dll) derived page the content is visible.

    If I host it in a System.Windows.Controls.ChildWindow (also from the SL3 SDK) derived page it is not visible. If I use Firebug to view the actuall HTML Source I can see that the iframe and content is present in the HTML DOM but it is not visible.

    I've looked at another posting regarding this issue and checked the sample app you provided but it does not use the ChildWindow as I would expected. I expect to be able to use the ChildWindow using the code

     

    var businessObject = (BusinessObject)BussinessObjectDataForm.CurrentItem;

     

    var myChildWindow = new MyChildWindow("My Title", businessObject.About);

     

    myChildWindow.Closed += myChildWindow_Closed;

    myChildWindow.Show();

     


    Setting Application.RootVisual = new MyChildWindow() as shown in the sample is not correct use of the ChildWindow control.

    I am going to try and use your RadWindow control to get my requirement working but this thread gives the impression that this bug with the ChildWindow should be fixed in the build I have.

    What is the status of this bug?
  10. Bobi
    Admin
    Bobi avatar
    513 posts

    Posted 27 Nov 2009 Link to this post

    Hello Martin Hollingsworth,

    Thank you for the feedback. Unfortunately RadHtmlPlaceHolder is not working correctly in ChildWindow in the current officially released  Q3 version of our controls (although it is working correctly with
    version :2009.2.1002.1030 from the Q2 release).
    However this issue is added in our to do list and will be fixed for the next major release. We apologize for the caused inconvenience. We advice you to use RadWindow instead if possible.

    The important things is that when you host RadHtmlPlaceHolder into a RadWindow you will need to invalidate the arrange of the placeholder, when the location of the RadWindow changes:

    public HtmlPlaceHolderInChildWindowTestUserControl()
            {
                InitializeComponent();
                this.LocationChanged += new System.Windows.RoutedEventHandler(radWindow_LocationChanged);    
            }

            void radWindow_LocationChanged(object sender, System.Windows.RoutedEventArgs e)
            {
                this.InvalidateArrange();
            }
    Please find attached a sample project that demonstrates the usage of HtmlPlaceHolder in a RadWindow .
    I hope that this will help you.
    Please let us know if you have any other questions or you need some more help.


    Best wishes,
    Boryana
    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.
  11. Robert
    Robert avatar
    4 posts
    Member since:
    Aug 2009

    Posted 09 Feb 2010 Link to this post


Back to Top
DevCraft banner