Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stringbuilder call sub onclick?

Status
Not open for further replies.

need2progm

Programmer
Dec 13, 2002
92
US
I am using a stringbuilder to add a button at the end of a dynamically sized data grid. EditAnswer is a sub that will add row for editing. When I run my app the button appears but the onclick doesn't work. Thoughts?


Dim sbAdd As New StringBuilder()
sbAdd.Append(&quot;<INPUT id='btnAddAnswer'type='button' Width=197px Height=34px &quot;)
sbAdd.Append(&quot; value='Add Answers'&quot;)
sbAdd.Append(&quot; name='btnAnswer'&quot;)
sbAdd.Append(&quot; runat='server'&quot;)
sbAdd.Append(&quot; onclick='EditAnswer()'>&quot;)
sbAdd.Append(&quot; >&quot;)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top