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
I have a webgrid with a Edit type of checkbox. My dataset returns 0 or 1 for the value. The 0 and 1's are showing in the column instead of the checkbox being there. How do I get the checkbox to show up when I am returning an 0 from the dataset?
Hi Jocelyn,
Forgiveness, I must be forgot to attach the file. Here are the attachment. I hope it helps, thank you.
Best Regards,
Andi Santoso
Hello Jocelyn,
Are you asking on how to show the checkbox on the WebGrid? because I am not quite sure what is you issue. The Edit type of checkbox is, actually, will return the value of either 0 or 1 only. Here are the sample code to show the checkbox on the WebGrid and I attached you a sample file using northwind database to be more clearly for you.
<ISWebGrid:WebGridColumn Caption="Discontinued" ColumnType="CheckBox" CustomEditorName="HtmlEditor" DataMember="Discontinued" DataType="System.Boolean" EditType="Checkbox" Name="Discontinued" Width="100px"> <ValueList DataSourceID="AccessDataSource1" DataTextField="Discontinued" DataValueField="Discontinued"> </ValueList> </ISWebGrid:WebGridColumn>
Best Regards,Andi Santoso
** Double Post **
Where is the attached file?
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