Dynamically two way data binding


Author
Message
Chan
Chan
Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)Advanced StrataFrame User (609 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search