﻿<?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 - readonly</title><link>http://www.intersoftsolutions.com/Community/Tags/readonly/</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>Webgrid does not support Webcombo column to make it readonly</title><link>http://www.intersoftsolutions.com/Community/Tags/readonly/</link><pubDate>Sat, 03 Jun 2017 11:58:17 GMT</pubDate><dc:creator>sjain</dc:creator><category>WebGrid</category><category>WebCombo</category><category>readonly</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Your webgrid does not supoort &amp;nbsp;property for webcombo column into webgrid as readonly.&lt;/p&gt;&lt;p&gt;Once I set to readonly then adding new row in the column does not support.&lt;/p&gt;&lt;p&gt;To do, I added code in prepare_databinding event of grid as bellow:&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (MyColumn.Name == "MyColumnName")&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MyColumn.Caption = "New Name";&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MyColumn.EditType = EditType.NoEdit;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MyColumn.FilterEditType = FilterEditType.TextBox;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MyColumn.NewRowEditType = NewRowEditType.&amp;lt;DOES NOT HAVE WEBCOMBO&amp;gt;;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;You can see enum values of&amp;nbsp;NewRowEditType:&lt;/p&gt;&lt;p&gt;&amp;nbsp;public enum NewRowEditType&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SameAsEditType = 0,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TextBox = 1,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DropdownList = 2,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NoEdit = 3,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Checkbox = 4,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CalendarCombo = 5,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Please add this feature or give me solution to do.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Sachin Jain&lt;/p&gt;</description></item><item><title>Readonly column(EditType = EditType.DropdownList) should show datatext field </title><link>http://www.intersoftsolutions.com/Community/Tags/readonly/</link><pubDate>Thu, 15 Sep 2016 14:02:35 GMT</pubDate><dc:creator>sjain</dc:creator><category>readonly</category><category>EditType.DropdownList</category><category>textfield</category><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;When we mark column(having column edit type as dropdownlist EditType = EditType.DropdownList;)  as&lt;/p&gt;&lt;p&gt;readonly, then datavalue field is shown.&lt;/p&gt;&lt;p&gt;how to make when column makred as readonly then datatext field show of doropdownlist not datavalue field?&lt;/p&gt;&lt;p&gt;Please reply ASAP.&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Sachin Jain&lt;b&gt;&lt;/b&gt;&lt;i&gt;&lt;/i&gt;&lt;u&gt;&lt;/u&gt;&lt;sub&gt;&lt;/sub&gt;&lt;sup&gt;&lt;/sup&gt;&lt;strike&gt;&lt;/strike&gt;&lt;br&gt;&lt;/p&gt;</description></item></channel></rss>