H
Hans Kesting
Hi,
Is there good information about the asp.net page lifecycle in
combination with dynamically loaded controls? Or on "how to build
dynamic controls"? I keep hitting problems where values are not
available at the moment I need them.
Current problem:
In a dynamically loaded ascx there is a dropdown. Based on the selected
value (reloading an existing value or responding to a
SelectedIndexChanged event), I create a set of "property edit"
controls. But when I try to save all selected values, the dropdowns in
there (my dropdowns, based on existing dropdowns) sometimes come up
empty.
This happens especially the first time, so when the property controls
are built following a SelectedIndexChanged.
Any suggestions?
Hans Kesting
Is there good information about the asp.net page lifecycle in
combination with dynamically loaded controls? Or on "how to build
dynamic controls"? I keep hitting problems where values are not
available at the moment I need them.
Current problem:
In a dynamically loaded ascx there is a dropdown. Based on the selected
value (reloading an existing value or responding to a
SelectedIndexChanged event), I create a set of "property edit"
controls. But when I try to save all selected values, the dropdowns in
there (my dropdowns, based on existing dropdowns) sometimes come up
empty.
This happens especially the first time, so when the property controls
are built following a SelectedIndexChanged.
Any suggestions?
Hans Kesting