Mar 30, 2011, 9:48 AM
Selecting value from ComboBox after binding
In my code (using Coolite 0.8.2) I do something like:
I would like to make this work but also to ask if this is the best way to set the value of the combo after binding data in an ajax event
this.ReferenceStore.DataSource = data;
this.ReferenceStore.DataBind();
this.cbReference.Select(myValue, true);
but I get a javascript error: "this.view is null or not an object"I would like to make this work but also to ask if this is the best way to set the value of the combo after binding data in an ajax event