Hi all experts!
I am trying to add a link button and a text box to a page dynamically. I don't have any problems with the reload recognizing the link and text values, but I'm stumped when it comes to how to access the important events (onclick for the linkbutton and textchanged and onentry and onexit from the text box) in the dynamic control.
With the linkbutton, one cannot access the OnClick, since it is a protected method (why? what's wrong w/allowing us to add our own events to this?). And for the textbox, I don't even see any way of capturing these events server-side.
Could someone show me some code that accomplishes these two things?
Thanks in advance for your expertise. Since this is an advanced question, 500 pts to the expert who shows, with either C# or VB, how to accomplish this w/ASP.NET 2.0 web controls.