﻿<?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 - All ValueList-Style attributes cause exception</title><link>http://www.intersoftsolutions.com/Community/WebGrid/All-ValueList-Style-attributes-cause-exception/</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>All ValueList-Style attributes cause exception</title><link>http://www.intersoftsolutions.com/Community/WebGrid/All-ValueList-Style-attributes-cause-exception/</link><pubDate>Tue, 15 Nov 2011 20:07:03 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Glad to know that the snippet code helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Should you need further assistance or run into any problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>All ValueList-Style attributes cause exception</title><link>http://www.intersoftsolutions.com/Community/WebGrid/All-ValueList-Style-attributes-cause-exception/</link><pubDate>Tue, 15 Nov 2011 06:09:59 GMT</pubDate><dc:creator>davidpendry</dc:creator><description>Thanks Yudi for the workaround...&lt;br /&gt;&lt;br /&gt;David&lt;br /&gt;</description></item><item><title>All ValueList-Style attributes cause exception</title><link>http://www.intersoftsolutions.com/Community/WebGrid/All-ValueList-Style-attributes-cause-exception/</link><pubDate>Mon, 14 Nov 2011 20:30:21 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The ‘ValueList-Style-Width’ at the following snippet code&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGridColumn Caption="SupplierID" ValueList-Style-Width="100px" ...&amp;gt;
    &amp;lt;ValueList DataSourceID="AccessDataSource3" DataTextField="CompanyName" ...&amp;gt;
    &amp;lt;/ValueList&amp;gt;
&amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;should be equals to the code shown below.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGridColumn Caption="SupplierID" ...&amp;gt;
    &amp;lt;ValueList DataSourceID="AccessDataSource3" DataTextField="CompanyName" ...&amp;gt;
        &amp;lt;Style Width="100px"&amp;gt;
        &amp;lt;/Style&amp;gt;
    &amp;lt;/ValueList&amp;gt;
&amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I have checked that the “&amp;lt;Style Width=…” code works. Please try to use this code instead of the “ValueList-Style-Width”. I’ll have this forwarded to WebGridDevelopment team to find why does the “ValueList-Style-Width” causing exception.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>All ValueList-Style attributes cause exception</title><link>http://www.intersoftsolutions.com/Community/WebGrid/All-ValueList-Style-attributes-cause-exception/</link><pubDate>Mon, 14 Nov 2011 11:01:18 GMT</pubDate><dc:creator>davidpendry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If i add ValueList-Style-Width="100px"to a ISWebGrid:WebGridColumn a error is generated of &lt;br /&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-size: 9pt;"&gt;&lt;em&gt;Object reference not set to an instance of an object.&lt;/em&gt;&lt;/span&gt; &lt;/h2&gt;
&lt;p&gt;Why is this ?&lt;/p&gt;
&lt;p&gt;Code below:&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;ISWebGrid:WebGridColumn Caption="Unit" ValueList-Style-Width="100px"&lt;br /&gt; Name="Id" Width="100px" DataMember="EntityId" &lt;br /&gt; DataType="System.Guid" EditType="DropdownList" DefaultValue="00000000-0000-0000-0000-000000000000" DefaultText="..Please Select"&amp;gt;&lt;br /&gt; &amp;lt;ValueList DataSourceID="sdsUnit" DataTextField="Name" DataValueField="EntityId"&amp;gt;&lt;br /&gt; &amp;lt;/ValueList&amp;gt;&lt;br /&gt; &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>