IE9 Bug

15 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Aug 2012

    Posted 15 Sep 2010 Link to this post

    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()}
  2. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 17 Sep 2010 Link to this post

    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
  3. DevCraft banner
  4. Leo Hernandez
    Leo Hernandez avatar
    3 posts
    Member since:
    Mar 2009

    Posted 21 Sep 2010 Link to this post

    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.
  5. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 24 Sep 2010 Link to this post

    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
  6. Christian
    Christian avatar
    17 posts
    Member since:
    Oct 2007

    Posted 20 Dec 2010 Link to this post

    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.
  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 23 Dec 2010 Link to this post

    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
  8. Josip
    Josip avatar
    17 posts
    Member since:
    Jan 2011

    Posted 21 Feb 2011 Link to this post

    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:   ------------- 
  9. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 24 Feb 2011 Link to this post

    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!
  10. Josip
    Josip avatar
    17 posts
    Member since:
    Jan 2011

    Posted 25 Feb 2011 Link to this post

    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.

     

  11. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 25 Feb 2011 Link to this post

    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!
  12. Josip
    Josip avatar
    17 posts
    Member since:
    Jan 2011

    Posted 28 Feb 2011 Link to this post

    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;
    
    
    
    
    
    
    
    
    
    
    
    
  13. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 03 Mar 2011 Link to this post

    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!
  14. Josip
    Josip avatar
    17 posts
    Member since:
    Jan 2011

    Posted 03 Mar 2011 Link to this post

    Hi,

     

    Your example looks very nice :)

    thank you... ill use some

     

    ill try upgrading with new release

  15. Laurence
    Laurence avatar
    2 posts
    Member since:
    Nov 2009

    Posted 19 Aug 2011 Link to this post

    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.
  16. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 22 Aug 2011 Link to this post

    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 >>

Back to Top
DevCraft banner