iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Is there a way to set the inital value for more than one row of a mult-select WebCombo in server code? I would like to read previously set values from a table. I am able to do this by converting the string to a stringArray, but only the last value is set. Below is the code that I ues:
Thanks,
Al
WebCombo has SetMultipleValues method that can be used to sets multiple values into the WebCombo. The list below shows the overload list of SetMultipleValues method.
public void SetMultipleValues( string text, string values )
protected void Page_Load(object sender, EventArgs e) { WebCombo1.SetMultipleValues(“Anna Trujillo; Antonio Moreno”, “ANATR; ANTON”); }
public void SetMultipleValues( ArrayList valueItems )
protected void Page_Load(object sender, EventArgs e) { ArrayList myArray = new ArrayList(); myArray.Add(new WebComboValueItem("Ana Trujillo", "ANATR")); myArray.Add(new WebComboValueItem("Antonio Moreno", "ANTON")); WebCombo1.SetMultipleValues(myArray); }
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname