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

AddHandler compile time error

1 Answer 46 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Zacharia
Top achievements
Rank 1
Zacharia asked on 26 Jan 2009, 09:53 PM
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.

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 30 Jan 2009, 07:29 AM
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,
Hristo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
DragAndDrop
Asked by
Zacharia
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or