﻿<?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 - Checkboxes Working When AllowEdit = No</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkboxes-Working-When-AllowEdit--No/</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>Checkboxes Working When AllowEdit = No</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkboxes-Working-When-AllowEdit--No/</link><pubDate>Fri, 18 Jun 2010 11:49:12 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Well, I am sorry but it just does not support the scenario as design. I hope you understand.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Checkboxes Working When AllowEdit = No</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkboxes-Working-When-AllowEdit--No/</link><pubDate>Thu, 17 Jun 2010 13:06:11 GMT</pubDate><dc:creator>JohnnyBravo</dc:creator><description>&lt;p&gt;BTW - I still think it's a bug...&lt;/p&gt;</description></item><item><title>Checkboxes Working When AllowEdit = No</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkboxes-Working-When-AllowEdit--No/</link><pubDate>Thu, 17 Jun 2010 13:05:17 GMT</pubDate><dc:creator>JohnnyBravo</dc:creator><description>&lt;p&gt;OK then. I just did the ForceNoEdit in the OnRowIntialize in my c# code. &lt;/p&gt;</description></item><item><title>Checkboxes Working When AllowEdit = No</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkboxes-Working-When-AllowEdit--No/</link><pubDate>Thu, 17 Jun 2010 12:11:19 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hi John,&lt;/p&gt;&lt;p&gt;Do yo use checkbox ISRowChecker feature? If yes, this is the default behaviour and not designed for editing. It is designed for multiple selection. There is no other way to disable them one by one in AfterInitialize. Get each cell object element inside row object and disable them manually.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Checkboxes Working When AllowEdit = No</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Checkboxes-Working-When-AllowEdit--No/</link><pubDate>Thu, 17 Jun 2010 11:01:56 GMT</pubDate><dc:creator>JohnnyBravo</dc:creator><description>&lt;p&gt;I have a grid and depending upon the status of an invoice, I toggle the AllowAddNew and AllowEdit attributes in the LayoutSetting of my c# code. A couple of my grids have checkboxes. If I set AllowEdit to Edit.No the grid cells become non-editable (which they should) EXCEPT for checkboxes (ColumnType="CheckBox" and EditType="Checkbox"). I tried to put code in the OnCheckBoxClick even in Javascript to work around this but the code never fires if the AllowEdit is set to Edit.No (I guess you don't trigger the events anymore in this case). How can I make these checkboxes disabled or readonly. I have code that disables them in the OnRowSelect event (which always seems to fire regardless of the AllowEdit value) but it gives the checkboxes a disabled look while the others look enabled. I'd like ALL the checkboxes to look disabled if AllowEdit is set to Edit.No. Is this a bug in the WebGrid?&lt;/p&gt;</description></item></channel></rss>