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

Tree control hosted in Winform control in IE

4 Answers 41 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Robert Martin
Top achievements
Rank 1
Robert Martin asked on 25 Oct 2007, 08:15 PM
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

4 Answers, 1 is accepted

Sort by
0
Jordan
Telerik team
answered on 29 Oct 2007, 09:10 AM
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
0
Robert Martin
Top achievements
Rank 1
answered on 29 Oct 2007, 01:37 PM
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
0
Vassil Petev
Telerik team
answered on 29 Oct 2007, 03:03 PM
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
0
Robert Martin
Top achievements
Rank 1
answered on 29 Oct 2007, 04:36 PM
I have opened a new ticket and uploaded the control.  Please let me know what you need from next...

Thanks!
Adam
Tags
Treeview
Asked by
Robert Martin
Top achievements
Rank 1
Answers by
Jordan
Telerik team
Robert Martin
Top achievements
Rank 1
Vassil Petev
Telerik team
Share this question
or