How would you do this in ASP.NET

L

Lloyd Sheen

I have an app. It is database driven in that a form will be generated with
sections that are static and sections which are defined as:

Label - name is from database
Textbox - ID is from database

For each required Lable/Textbox the controls are added to a panel.

There is a save button but once the server code is activated the controls
which are dynamically generated are no longer on the form. Is there a time
when the server can get the information??

Lloyd Sheen
 
S

Steve C. Orr [MVP, MCSD]

Dynamically generate them again after postback, but let ASP.NET fill in the
values.
 
L

Lloyd Sheen

In the page_load, thanks so much that is not really intuitive but now that I
have seen it I have it drilled in.

Lloyd Sheen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top