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

converting to newer vestion of controls

1 Answer 88 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Claude
Top achievements
Rank 1
Claude asked on 06 Feb 2015, 06:58 PM
I am converting a large project from some 2012 controls to the latest version.   All is going well, until I hit the treeview control.  

On compile, I get this error. 

Cannot implicitly convert type 'Telerik.WinControls.UI.RadTreeView.TreeViewEventHandler' to 'Telerik.WinControls.UI.TreeNodeCheckedEventHandler'

Not quite sure how to handle this. 

here is the referenced line of code
​ this.monitorRadTreeView.NodeCheckedChanged += new Telerik.WinControls.UI.RadTreeView.TreeViewEventHandler(this.monitorRadTreeView_NodeCheckedChanged);

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 11 Feb 2015, 01:13 PM
Hello Claude,

Thank you for writing.

In Q3 2012 SP1 (version 2012.3.1211) we introduced a reason for checking a check-box in the event arguments of the NodeCheckedChanged event. However, this includes a breaking change as well listed in our release history. The signature of NodeCheckedChanged event is changed to use TreeNodeCheckedEventArgs.

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Dess
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Treeview
Asked by
Claude
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or