AddHandler compile time error

2 posts, 0 answers
  1. Zacharia
    Zacharia avatar
    1 posts
    Member since:
    Jan 2009

    Posted 26 Jan 2009 Link to this post

    I was trying to use the DraggableListBox code in my application and all the calls to this.AddHandler(RadDragAndDropManager.Drag... lines give a compile time error stating 

    Error 7 'NMO.DraggableListBox' does not contain a definition for 'AddHandler' and no extension method 'AddHandler' accepting a first argument of type 'NMO.DraggableListBox' could be found (are you missing a using directive or an assembly reference?) C:\szbs\NMO\Page.xaml.cs 118 20 NMO

     I am not sure how to fix it.

    Any help to get me out of it is greatly appreciated.
  2. Hristo
    Hristo avatar
    832 posts

    Posted 30 Jan 2009 Link to this post

    Hello Z,

    Sorry for the late response.
    AddHandler is an extension method defined in Telerik.Windows namespace. So you need to add using Telerik.Windows in order to get access to this method.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
Back to Top