By Chan - 10/10/2008
Hi,
I have a page that allow user to specify a field value with two way, combobox or textbox. System would based on the selection at another optiongroup to determine which controls to used for next editing.
I tried to specify two way binding <%# Bind('MyField') %> for both controls in aspx markup, and hide/unhide them in optiongroup selection changed event. However, ASP.NET always take the last dropped control value to update back to data source.
Therefore, I decided to set two way binding dynamically at runtime. How could I do so?
Thank you
|
|