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

IE9 Bug

14 Answers 140 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 15 Sep 2010, 09:13 PM
I use the RadHtmlPlaceHolder control inside a ChildWindow. In the PreviewClosed event for the ChildWindow I set the Visibility of the place holder to Collapsed for aesthetic purposes. This throws an exception in IE9 but not IE8, Firefox, or Chrome.

{System.InvalidOperationException: RemoveChild failed.<br>   at System.Windows.Browser.HtmlElement.RemoveChild(HtmlElement element)<br>   at Telerik.Windows.Controls.RadHtmlPlaceholder.OnLayoutUpdated()<br>   at Telerik.Windows.Controls.RadHtmlPlaceholder.<Init>b__16()}

14 Answers, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 17 Sep 2010, 09:30 AM
Hello David,

 IE 9 is fresh beta and is normal to have issues with it. However I've just try it and couldn't get exception, but not quite good html rendering. Can you send us example project demonstrating it?
Thank you,

Greetings,
Miro Miroslavov
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
Leo Hernandez
Top achievements
Rank 1
answered on 22 Sep 2010, 12:25 AM
I am actually having the same problem with ie9 beta with the same control...although it only seems to happen when I am debugging an application, I have the same thing on our production environment and do not get any errors, only when VS is running. I can run it fine with Chrome debugging and it worked fine before I went to ie9. I am using an older version of telerik controls just because we are very behind when it comes to updating our 3 telerik controls we actually use ;) But to repro this issue the only thing I did was create a new project and threw down a RadHtmlPlaceholder control and boom, I get the error while doing nothing else.
0
Miro Miroslavov
Telerik team
answered on 24 Sep 2010, 03:16 PM
Hello Leo Hernandez,

 I still can't get the exception with our Latest binaries and latest IE9 release. Can you try it with the latest binaries and let me know if you still get the exception.

Regards,
Miro Miroslavov
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
Christian
Top achievements
Rank 1
answered on 20 Dec 2010, 04:09 PM
I have the same problem with the latest IE9 Beta and the latest internal build of telerik (RadControls_for_Silverlight_4_2010_3_1213_DEV_hotfix).

I have a RadRibbonBar and a RadHtmlPlaceHolder bellow it.  I hooked GotFocus on the RibbonBar Groups and set the visibility of the HtmlPlaceHolder to collapsed, it always gives me this exception.

Erreur : Erreur non gérée de l'application Silverlight
Code : 4004   
Catégorie : ManagedRuntimeError      
Message : System.InvalidOperationException: Échec de RemoveChild.
   à System.Windows.Browser.HtmlElement.RemoveChild(HtmlElement element)
   à Telerik.Windows.Controls.RadHtmlPlaceholder.OnLayoutUpdated()
   à Telerik.Windows.Controls.RadHtmlPlaceholder.<Init>b__16()    


Hope you can repro with this.
0
Tina Stancheva
Telerik team
answered on 23 Dec 2010, 04:26 PM
Hi David,

Thank you for the detailed report. It helped us reproduce the issue and I logged it as a bug in our PITS under the name HtmlPlaceholder: Collapsing the control throws an exception in IE9 where you can track its progress from tomorrow the latest.

I also updated your Telerik points accordingly.

Regards,
Tina Stancheva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Josip
Top achievements
Rank 1
answered on 21 Feb 2011, 02:40 PM
Hi,

i am having similar problem, but in my case its in IE8.
Problem occurs only sometimes (i didnt figure out pattern)
i am using control in both way (setting SourceUrl and HtmlSource)
is this known issue or I am doing something wrong?
tnx

i have
 <param name="Windowless" value="true" />   











Application_UnhandledException: Error HRESULT E_FAIL has been returned from a call to a COM component.


Exception(s):  -------------  Type: System.Exception  Base: System.Exception  Message:    u MS.Internal.XcpImports.CheckHResult(UInt32 hr)     u MS.Internal.XcpImports.SetValue(IManagedPeerBase obj, DependencyProperty property, DependencyObject doh)     u MS.Internal.XcpImports.SetValue(IManagedPeerBase doh, DependencyProperty property, Object obj)     u System.Windows.DependencyObject.SetObjectValueToCore(DependencyProperty dp, Object value)     u System.Windows.DependencyObject.SetEffectiveValue(DependencyProperty property, EffectiveValueEntry& newEntry, Object newValue)     u System.Windows.DependencyObject.UpdateEffectiveValue(DependencyProperty property, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, ValueOperation operation)     u System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet)     u System.Windows.Controls.Control.set_DefaultStyleKey(Object value)     u System.Windows.Controls.ContentControl..ctor()     u MS.Internal.CoreTypes.GetCoreWrapper(Int32 typeId)     u MS.Internal.ManagedPeerTable.EnsureManagedPeer(IntPtr unmanagedPointer, Int32 typeIndex, Type type, Boolean preserveManagedObjectReference)     u MS.Internal.XcpImports.ConvertDO(IntPtr doPointer, Int32 typeIndex, Boolean releaseObjectReference)     u MS.Internal.XcpImports.ConvertType(CValue outVal, Int32 typeIndex, Boolean releaseObjectReference, Boolean deleteBuffer, IManagedPeerBase fromObject)     u MS.Internal.XcpImports.ConvertCValueForManagedWithType(Type propertyType, CValue& outVal, Int32 outDOType, Boolean releaseObjectReference, Boolean deleteBuffer, IManagedPeerBase fromObject)     u MS.Internal.XcpImports.GetValue(IManagedPeerBase managedPeer, DependencyProperty property)     u System.Windows.DependencyObject.GetValueInternal(DependencyProperty dp)     u System.Windows.FrameworkElement.GetValueInternal(DependencyProperty dp)     u System.Windows.FrameworkElement.get_Parent()     u Telerik.Windows.Controls.RadHtmlPlaceholder.GetRootElement()     u Telerik.Windows.Controls.RadHtmlPlaceholder.OnLayoutUpdated()     u Telerik.Windows.Controls.RadHtmlPlaceholder.<Init>b__16()  Source:   TargetSite:   StackTrace:   ------------- 
0
Tina Stancheva
Telerik team
answered on 24 Feb 2011, 12:30 PM
Hi Josip,

I am not sure in what scenario you reproduce this issue, but we've seen this exception before in certain cases. The issue is logged in our PITS where you can track its progress.

Please accept our apology for the caused inconvenience.

Regards,
Tina Stancheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Josip
Top achievements
Rank 1
answered on 25 Feb 2011, 12:33 PM

hi,

In my case i have RADHTMLcontrol in tab control too (same as in cases you mentioned),

but I dont use any kind of expander.

 

0
Tina Stancheva
Telerik team
answered on 25 Feb 2011, 07:29 PM
Hello Josip,

Thank you for the clarification. The issue seems to be related to hosting the control in a TabControl. However we will need more time to further investigate it and therefore I wanted to ask you if you can send us a code sample illustarting your scenario so that we can look into it further. Also can you try your scenario with the  RadTabControl instead and let us know how it goes.

Thank you in advance for your cooperation.

Greetings,
Tina Stancheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Josip
Top achievements
Rank 1
answered on 28 Feb 2011, 04:24 PM

Hi,

 

sorry i didnt write correctly.

I allready use telerik:RadTabControl
control.

Scenario is:

I have grid on page, when user clicks button in some row in grid -> I open control (ZadatakPostojeci) from selected item details

public partial class ZadatakPostojeci : RadWindow
control has 
telerik:RadTabControl
with 4 tabs
on last tab there is only one item (my user control for displaying emails)

control has 
RadOutlookBar
and
RadHtmlPlaceholder
when user clicks in RadOutlookBar items (links to email.. simple HTML or HTML string)
than i fill 

mailBodyHTML.SourceUrl = new Uri(po.OdgovorLink, UriKind.Absolute);
        or if radoutlookbar provided html string
mailBodyHTML.HtmlSource = po.Poruka;






0
Tina Stancheva
Telerik team
answered on 03 Mar 2011, 04:28 PM
Hello Josip,

Thank you for the clarification. However, I wasn't able to reproduce it. Therefore I wanted to ask you to take a look at the attached sample and let me know if it illustrates your scenario correctly and if it works for you.

Also, we introduce some changes in the selection logic of the RadTabControl with the Q1 2011 Beta release, so can you please test your project against it and let us know how it goes?

Thank you in advance for your cooperation.

Best wishes,
Tina Stancheva
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Josip
Top achievements
Rank 1
answered on 03 Mar 2011, 05:05 PM

Hi,

 

Your example looks very nice :)

thank you... ill use some

 

ill try upgrading with new release

0
Laurence
Top achievements
Rank 1
answered on 19 Aug 2011, 08:56 AM
Hi,

I'm having the same issue as Josip in IE8. Intermittant, but frequent enough to be an issue. Seems to occur more on lower spec machines.

Did Q1 2011 fix the issue or has a work around found?
 
I've added my vote to the ticket in PITs

Current control version 2010.1.422.1040.

Thanks,

L.
0
Tina Stancheva
Telerik team
answered on 22 Aug 2011, 05:52 PM
Hi Laurence,

Unfortunately this issue hasn't been addressed yet but voting for it will definitely increase its priority.

Kind regards,
Tina Stancheva
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
HTMLPlaceHolder
Asked by
David
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Leo Hernandez
Top achievements
Rank 1
Christian
Top achievements
Rank 1
Tina Stancheva
Telerik team
Josip
Top achievements
Rank 1
Laurence
Top achievements
Rank 1
Share this question
or