Author: sunrunner100 | Posted on: 3/23/2009 9:01:42 PM | Views : 379


Hello,

I am adding a bunch of HTML to a div tag and had the need to insert an ASP button in there also.  The problem I am encountering is happening with the button press event... it just isn't firing.  The reason I am using an HTMLTextWriter and not controls.add() is because I encounter an error whenever I try to add more html to the DIV tag later on... something about the DIV tag not being literal anymore.  How can I make it so that this button has a click event, or is there a better way about adding a button and html to a div.

My code is as follows:

Dim sw As Go to the complete details ...