B
blue
I have a drop-down list, a radio button list and a submit button. I'm
adding these controls to a table and I'm adding the table to a Placeholder.
I'm adding it to the Placeholder because I don't know exactly where the
table will be located on the page until runtime. Before the form control
table is added to the Placeholder, I'm adding a whole bunch of tables to the
Placeholder. This is a flowchart program and I have multiple action boxes
and decision boxes on the page.
When I add the form controls to the Placeholder, the events for the
drop-down list and radio button list stop working. It's as if they
dissapear into a black hole and after the SelectedIndexChange event is fired
for the controls, the program looks for the event but can't find it so it
skips over it. Interestingly, the submit button's event still works.
Is there a way to get my drop-down list and radio button list events to
start working again?
Is there a way to do this without using a Placeholder? I could do
this.Controls.Add but I think it would be added outside of the </HTML> tag
and the form controls have to be within the <HTML> part.
adding these controls to a table and I'm adding the table to a Placeholder.
I'm adding it to the Placeholder because I don't know exactly where the
table will be located on the page until runtime. Before the form control
table is added to the Placeholder, I'm adding a whole bunch of tables to the
Placeholder. This is a flowchart program and I have multiple action boxes
and decision boxes on the page.
When I add the form controls to the Placeholder, the events for the
drop-down list and radio button list stop working. It's as if they
dissapear into a black hole and after the SelectedIndexChange event is fired
for the controls, the program looks for the event but can't find it so it
skips over it. Interestingly, the submit button's event still works.
Is there a way to get my drop-down list and radio button list events to
start working again?
Is there a way to do this without using a Placeholder? I could do
this.Controls.Add but I think it would be added outside of the </HTML> tag
and the form controls have to be within the <HTML> part.