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.
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.
Advertisement
Advertisement
-
Re: Web Custom Control Events (and is anyone out there?)
Sat, June 25, 2005 - 6:57 PMwww.learnasp.com/quickstar...spx#events
has what you want.