converting to newer vestion of controls

2 posts, 0 answers
  1. Claude
    Claude avatar
    63 posts
    Member since:
    Apr 2009

    Posted 06 Feb 2015 Link to this post

    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);
  2. Dess
    Dess avatar
    1560 posts

    Posted 11 Feb 2015 Link to this post

    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.


    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.

  3. DevCraft banner
Back to Top