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
Hi
I want integrate Combo in Grid programmatically.
I bound the Webgrid and the Webcombo to Dataset and integrate Combo as follows (on PrepareDataBinding Event):
WebGridColumn UnitID = grd.RootTable.Columns[2]; UnitID.Caption = "Unit"; UnitID.Width = Unit.Pixel(200); UnitID.EditType = EditType.WebComboNET; UnitID.WebComboID = "wcUnit"; UnitID.ValueList.DataMember = "Measuring.Unit"; UnitID.ValueList.DataTextField = "Name"; UnitID.ValueList.DataValueField = "ID";
After selecting an item in the combo, I see their name (DataTextField) -> see attached picure ColumnBeforeInsert.jpg
After inserting, I see the ID (DataValueField) in this columns -> see attached picure ColumnAfterInsert.jpg
Why?
Regards
Michael
UnitID.ValueList.DataSource = ds;
Importent:
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