I have added the dll but it is not showing up in the code behind. I am using visual studio 2010
and I am programming with VB
View the object in the object browser. Find the Web.Ui entry can click on 'Events' In the right pane of the viewer click on 'Enable'.
That should fix your problem.