2 posts, 0 answers
  1. Zemser
    Zemser avatar
    1 posts
    Member since:
    Apr 2007

    Posted 26 Sep 2007 Link to this post

    I creaded some derived class DocumentClientInfo inherited from DocumentPane.
    Into DocumentClientInfo class i put webBrowser control (MS) as folow:

    [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] 
        public partial class DocumentClientInfo : DocumentPane 
            public DocumentClientInfo() 
                : base() 
                webBrowser1.ObjectForScripting = this
                webBrowser1.DocumentText = "<html><body><input id=\"chk1\" type=\"checkbox\" onclick=\"window.external.Test();\" /></body></html>"
             public void Test() 

    On raising click event I get following  message:
    A QueryInterface call was made requesting the class interface of COM 
    visible managed class 'DocumentClientInfo'. However since this class derives from
    non COM visible class 'Telerik.WinControls.Docking.DocumentPane', the QueryInterface call will fail. This
    is done to prevent the non COM visible base class from being
    constrained by the COM versioning rules.
    Haw can resolve this?
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 26 Sep 2007 Link to this post

    Hi Roman,

    Currently the DockingManager and its IDockable windows do not support and are to visible to COM. We have added this feature to our plans for implementation in one of our next releases. Thank you for your feedback.

    Sincerely yours,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top