﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Checkbox But Non-Boolean Values</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkbox-But-Non-Boolean-Values/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Checkbox But Non-Boolean Values</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkbox-But-Non-Boolean-Values/</link><pubDate>Tue, 13 Apr 2010 22:51:19 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;As far as I know, WebGrid will only accept boolean value for checkbox column.&lt;/p&gt;&lt;p&gt;For your scenario, you will need to add a new boolean column during InitializeDataSource server side event and during InitializeRow server side event you will need to set the boolean column based on the Y on N value.&lt;/p&gt;
&lt;p&gt;Attached is a simple sample of such scenario  &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Checkbox But Non-Boolean Values</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkbox-But-Non-Boolean-Values/</link><pubDate>Tue, 13 Apr 2010 09:03:29 GMT</pubDate><dc:creator>JohnnyBravo</dc:creator><description>&lt;p&gt;I like to use a checkbox editype for a column in my webgrid but the column type is char(1) with Y or N as the possible values. How do I configure the column so that Y is checked and N is unchecked for the checkbox?&lt;/p&gt;</description></item></channel></rss>