simple combobox cannot be filled.
Kris Coppens
Hi,I try to create a simple combobox on a form. Somehow the databinding is goes wrong I guess.
THe code seems not be executed once I try to bind the userdatasource to the combo and/or add validvalues. ( I do not get a error or something )
What am I doing wrong ?
Thx for your help.
Here is my code
SwissAddonFramework.UI.Components.UserDatasource udsScenarios = SwissAddonFramework.UI.Components.UserDatasource.CreateNew("DS_U");
pVal.Form.AddUserDatasource(udsScenarios);
pVal.Form.Update();
// from here is goes wrong , i guess
cmbScenario.DataBind.SetBind(false, "DS_U");
cmbScenario.ValidValues.Add( "1", "A" );
cmbScenario.ValidValues.Add("2", "S");
0
Please sign in to leave a comment.
Comments
0 comments