Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32755

is it possible use the value binding on a select that contai

$
0
0

i did  project on ASP.Net MVC3, C#,MS Sql Server 2008


is it possible use the value binding on a select that contains static options like this?

<select data-bind="value:"><option value="a">a</option><option value="b">b</option><option value="c">c</option></select>

Actually the bind is writing the value, if I select an option the value will change, but I am not able to read it when the select is initialized. When the page is loaded the first option is always setted.


Viewing all articles
Browse latest Browse all 32755

Trending Articles