A
Anders K. Jacobsen [DK]
Hi im creating a (or is starting but need your advise) search page for some
products which has surdden charataristicas which all should be serachable.
These charataristicas can be added runtime so to say and the charataristicas
is stored in the database where they are decribed eg. The charataristicas is
a Textbox, width=20 and so on.
Therefore I need to dynamically add controls to my search page according to
the database. But how will viewstate "handle" this. I guess i have to
rebuild the page structure on every postback, correct?
But will this rebuild destroy the state of the controls that i added on last
postback? If yes, what do I do then? Is it "impossible".
I really appriciate your help and thougts on this. Thanks!
Anders
products which has surdden charataristicas which all should be serachable.
These charataristicas can be added runtime so to say and the charataristicas
is stored in the database where they are decribed eg. The charataristicas is
a Textbox, width=20 and so on.
Therefore I need to dynamically add controls to my search page according to
the database. But how will viewstate "handle" this. I guess i have to
rebuild the page structure on every postback, correct?
But will this rebuild destroy the state of the controls that i added on last
postback? If yes, what do I do then? Is it "impossible".
I really appriciate your help and thougts on this. Thanks!
Anders