I have a dropdownlist in a datagrid that get's shown to the user once the "Edit" button from the Datagrid is clicked. I have the dropdown set @ PostBack=True
How do I set a label on the page to equal the dropdownlist's selected value on postback.
Is it in the HTML text attribute of the label?
Something like below for the label's text? I'm getting close, but not yet there!
..the datagrid id is DataGrid1, and the dropdown is ddlP3
text='<%# DataBinder.Eval(Container.DataGrid1.Findcontrol("ddlP3.SelectedValue.ToString()") %>'
How do I set a label on the page to equal the dropdownlist's selected value on postback.
Is it in the HTML text attribute of the label?
Something like below for the label's text? I'm getting close, but not yet there!
..the datagrid id is DataGrid1, and the dropdown is ddlP3
text='<%# DataBinder.Eval(Container.DataGrid1.Findcontrol("ddlP3.SelectedValue.ToString()") %>'