Last post Jul 26, 2010 04:46 AM by khvip87
Jul 22, 2010 08:22 AM|khvip87|LINK
Hi all ...
am creating a custom server control and there are textbox and button.
I want to add event button to let user execute his/her own code.
I mean my event must show in Events menu at VS (like Property)...
the following image show :
Plz Help :)
Jul 22, 2010 08:42 AM|XIII|LINK
you need to expose a public event from your custom control. Visual Studio will automatically pick it up and display it in the properties/events pane.
I suggest you also look at these great tutorials:
Jul 22, 2010 10:05 AM|khvip87|LINK
but this artical dosn't include the solution what i am looking for :)
Jul 26, 2010 03:54 AM|Qin Dian Tang - MSFT|LINK
First I should say your image is down. Please refer the sample in this post (custom control with button Click):
Jul 26, 2010 04:46 AM|khvip87|LINK
Now u can check the image ....
Some one Help me :)