{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
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,
Miro Miroslavov
the Telerik team
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
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.
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
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: -------------
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
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.
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
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 hastelerik:RadTabControlwith 4 tabs
on last tab there is only one item (my user control for displaying emails)
control hasRadOutlookBar
andRadHtmlPlaceholder
when user clicks in RadOutlookBar items (links to email.. simple HTML or HTML string)than i fillmailBodyHTML.SourceUrl = new Uri(po.OdgovorLink, UriKind.Absolute);
or if radoutlookbar provided html stringmailBodyHTML.HtmlSource = po.Poruka;
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
Hi,
Your example looks very nice :)
thank you... ill use some
ill try upgrading with new release
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.
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 >>