troubleshooting Question

Dynamically adding controls on webform

Avatar of Devildib
Devildib asked on
.NET ProgrammingC#JavaScript
2 Comments1 Solution111 ViewsLast Modified:
Hi experts,

I have a webform in which i am  displaying a label and a textbox in one section along with other controls.It looks like label above and textbox just below it.This combination of label and textbox is required by default.I need to dynamically give option to user for adding two more such label and textbox combinations just on the right of the default label and textbox.May be with two plus signs and some text written beside,clicking which will add the controls.Also some removal mechanism is required to remove the other two combinations of label and textboxes.On post, the controls should not be lost.
Please help.Better to have javascript and c# combination.The horizontal orientation of the controls is a must.
Karrtik Iyer
Software Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros