How would one make programmatically defined web controls persistant?

H

Hal Meyer

Greetings. I have created a good number of controls programmatically, but
when I try to retrieve the values of these controls after filling them, and
clicking the "process" button, the controls do no exist. How would I make
the controls (and their values) persist? TIA.
 
T

Teemu Keiski

Hi,

dynamical controls need to be recreated on the postback exactly as you
create them on intial request (might mean some flaggging system that whuch
one is created if controls are dependant on each other). E.g create instance
and add it to the Controls collection.
 

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
474,312
Messages
2,571,621
Members
48,435
Latest member
EHBEmilio5

Latest Threads

Top