Tree control hosted in Winform control in IE

5 posts, 0 answers
  1. Robert Martin
    Robert Martin avatar
    5 posts
    Member since:
    Jul 2007

    Posted 25 Oct 2007 Link to this post

    I have a winform control I am hosting in IE.  When the control loads initially the tree view works great.  When I navigate away from the page and then go back and the control reloads I get an error message of 'Object reference not set to an instance of an object'  The radtree control builds fine, meaning the nodes appear with the correct child nodes but when I got to drag and drop the child nodes I get the error.  When I close the IE window and re open it the control works fine until I navigate away from the page and then go back (in the same session).  Can anyone help with this??

    Thanks in advance!!!
    Adam
  2. Jordan
    Admin
    Jordan avatar
    547 posts

    Posted 29 Oct 2007 Link to this post

    Hi Robert Martin,

    Thank you for writing.

    Unfortunately, we have not tested RadControls for WinForms hosted in IE and this scenario is not supported.
    However, we are interested why you have chosen this approach.

    Also, have you considered using RadControls for ASP.NET?

    Sincerely yours,
    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Robert Martin
    Robert Martin avatar
    5 posts
    Member since:
    Jul 2007

    Posted 29 Oct 2007 Link to this post

    We have to use a winform control hosted in IE based on our project spec's.  There is other functionality we need that only a winform control can give us so we are forced to go this route.  The RadControl Tree View is used a bunch in our winform control and it is too late to turn back and use something else so I need to find a solution.  The control works great when the page loads, just when we navigate away and then back we see the problem of when dragging and dropping I get the 'reference not set to an instance of an object'.  The tree populates with the nodes and they can be clicked and there are no errors.  I have narrowed down the problem to the the events for the drag and drop.  I get the error I believe when the control attempts to fire these events.   Any help that can be provided is needed and would be greatly appreciated.

    Thanks!
    Adam
  5. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 29 Oct 2007 Link to this post

    Adam,

    Could you send us your application in your other ticket? We would like to see how far you have gotten with this implementation and whether we will be able to help you out. We have not tested this scenario, but it seems that we may be able to fix it for you, even though it is not officially supported.

    Thanks in advance.

    Jordan
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Robert Martin
    Robert Martin avatar
    5 posts
    Member since:
    Jul 2007

    Posted 29 Oct 2007 Link to this post

    I have opened a new ticket and uploaded the control.  Please let me know what you need from next...

    Thanks!
    Adam
Back to Top
UI for WinForms is Visual Studio 2017 Ready