Can not call a TreeView constructor

Class library usage, coding and language questions.
Posts: 2
Joined: Fri Mar 09, 2007 4:21 am
Location: India

Can not call a TreeView constructor

Post by haynitin » Sat Mar 10, 2007 9:11 am

I am not able to call a TreeView constructor using the following code snippet.

Control c = form.FindControl(CONTROLID)
// Get the treeview
TreeView tw = new TreeView(control.Handle);

I am using RanoRex version of 1.1.0 released on 6th March 2007. Is it part of the release (because I don't find the constructor declaraion in the metadata of RanorexNet.dll located in \bin\Net2.0)?

Site Admin
Site Admin
Posts: 350
Joined: Wed Jul 05, 2006 7:44 pm

Post by admin » Sat Mar 10, 2007 6:39 pm

Inheritance and exception handling are supported only in the professional version.
Sorry for the missing comment "Supported only in RanorexPro" in the constructor documentation.

We will extend the documentation for the next version.

Ranorex Team