|
-
Aug 7th, 2009, 09:21 AM
#1
Thread Starter
New Member
add control through html string, addhandler?
I have a dynamic asp.net web page in which I build html strings in vb.net and return them to the asp.net page.
I'm trying to add a control (specifically a button).
I am able to do this quite easily, but where i'm stuck is I do not know how to add a handler for the click event of this button.
here is the line of vb code that returns the html string.
Me.html = Me.html & "<button name=""b_ViewSearchOptions"" runat=""server"">View Search Options</button>"
the asp.net code would look like this..
<%=html%>
any help is greatly appreciated!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|