Web Custom Control Events (and is anyone out there?)

topic posted Fri, June 3, 2005 - 11:22 AM by  Elfie
Share/Save/Bookmark
Advertisement
So, I kinda feel like I'm mostly talking to myself here... but here goes anyway.

Does anyone know how to catch events within a Web Custom Control?

For example, let's say I have a Web Custom Control that outputs a LinkButton. I want to be able to take a certain action (we'll say, output to the screen) when the LinkButton is clicked. Can anyone give me a fully coded example of this? Simply setting "lnk.Click += new EventHandler(lnk_Click);" isn't working. In fact the Text value of lnk isn't even highlighted as being a link.
posted by:
Elfie
Maryland
Advertisement
Advertisement