handling event for a dynamic object
hi,
i m using asp.net to develop a web application.
i have a webform in which i should dynamically create
controls like table,button,dropdownlist etc.
suppose i create an object of type "button" by :
dim bt as new button.
now what i'll do is that i will add the new button
object bt to my webform. but the problem i m facing is
that i dont know how to handle events (like onclick)
for this newly created object bt.
plz help friend.
|