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

RadWindow closes before RadHtmlPlaceHolder

3 Answers 65 Views
Window
This is a migrated thread and some comments may be shown as answers.
Saurabh Nandu
Top achievements
Rank 1
Saurabh Nandu asked on 18 Jun 2011, 09:39 AM
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??

3 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 20 Jun 2011, 08:45 AM
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
0
Saurabh Nandu
Top achievements
Rank 1
answered on 20 Jun 2011, 01:15 PM
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
0
Pana
Telerik team
answered on 24 Jun 2011, 08:02 AM
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,
Tags
Window
Asked by
Saurabh Nandu
Top achievements
Rank 1
Answers by
Pana
Telerik team
Saurabh Nandu
Top achievements
Rank 1
Share this question
or