RadWindow closes before RadHtmlPlaceHolder

4 posts, 0 answers
  1. Saurabh Nandu
    Saurabh Nandu avatar
    104 posts
    Member since:
    Oct 2006

    Posted 18 Jun 2011 Link to this post

    Hi,

    The RadWindow closes before the RadHtmlPlaceHolder. How can i avoid this issue. It looks very odd when i close the radWindow, the popup goes away leaving the radPlaceHolder behind. And after two seconds it goes away.
    This issue can be seen on your demo too.

    Can you please suggest me a way by which i can close the radHtmlPlaceHolder first and the the popup??
  2. Pana
    Admin
    Pana avatar
    748 posts

    Posted 20 Jun 2011 Link to this post

    Hello,

    RadHTMLPlaceHolder is just a browser html rendered over the Silverlight plugin. The HTML will disappear once the window is closed but will not be affected by animations and render transformations. So the few milliseconds RadWindow plays its closing animation you will still see the placeholder. On option would be to manually remove the HTML placeholder when the window starts to close. Other would be to remove the closing animation of RadWindow and third would be to use the new RadRitchTextBox with its basic HTML rendering. Note the RadRitchTextBox is highly agile and provide presentation for MSWord like text rendering with tables and images embedded however it is not a html browser and rendering HTML is limited to the basic bold, italics, tables, list elements etc. CSS and other advanced features may produce glitches.

    Greetings,
    Pana
    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
  3. DevCraft banner
  4. Saurabh Nandu
    Saurabh Nandu avatar
    104 posts
    Member since:
    Oct 2006

    Posted 20 Jun 2011 Link to this post

    Hi Pana,

    I appreciate your reply, but as am completely new to this, would u guide me on how do i proceed to remove the Html PlaceHolder manually when the window starts to close.

    Regards,
    Saurabh
  5. Pana
    Admin
    Pana avatar
    748 posts

    Posted 24 Jun 2011 Link to this post

    Hi,

    I am attaching an example project. You can see ho the OnPreviewClosing of the RadWindow that triggers the hide animation has an override that will hide the HTMLPlaceholder.

    Regards,
Back to Top