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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I dynamically create Web Form Buttons?

Status
Not open for further replies.

JohnnyBGoode

Programmer
May 1, 2002
76
CA
I would like to dynamically create Web Form Buttons as well as create Button1_Click(){} functions for each one. Is this possible?
 
Dynamic form creation I find is best handled using Javascript, unless you have oodles of server data that is determining the configuration of the form.
 
That is what I have. I have a list of Topics (driven from the DB). Each of which has sub-topics (also driven from the DB). Then there are Articles pertaining to each sub-topic. When I click on a Topic, the sub-topic list should change. When I click on a Sub-Topic, the Article list should change.

The difficult part is that I am using ASP.NET coding in c#.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top