﻿<?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 - Wrap text in selfreference grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Wrap-text-in-selfreference-grid/</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>Wrap text in selfreference grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Wrap-text-in-selfreference-grid/</link><pubDate>Sun, 19 Dec 2010 22:13:58 GMT</pubDate><dc:creator>yudi</dc:creator><category>Wrap text in selfreference grid</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you very much for the finding. It really 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;By default, the cell content of WebGrid is placed inside the &amp;lt;nobr&amp;gt; tag. Thus, causing the cell content becomes not wrapping. On WebGridColumn where its AllowMultiLine feature is enabled, the cell content of WebGrid is placed inside the &amp;lt;td&amp;gt; tag.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Unfortunately, WebGrid will also add the &amp;lt;nobr&amp;gt; tag on column which defined in ExpandColumnMember in SelfReferenceSettings.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I have forwarded this to WebGrid development team for further investigation. I will let you know whether this is the default behavior of WebGrid or issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;strong&gt;Edited&lt;/strong&gt;.&lt;em&gt;Reason:add latest news heard from WebGrid development team.&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I just got news from WebGrid development team that this is the default behavior or WebGrid. The ExpandColumnMember column is not suppose to be wrapped.&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>Wrap text in selfreference grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Wrap-text-in-selfreference-grid/</link><pubDate>Fri, 17 Dec 2010 09:33:38 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Wrap text in selfreference grid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;So found what is happening.the text is wraping for all fields but not for the ExpandColumnMemeber column (eg:"title" ).&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;SelfReferencingSettings&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;ExpandColumnMember&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="title"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;ChildDataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="parent_id"
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;ParentDataMember&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="id"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;&lt;span style="font-size: 13px; color: #ff0000"&gt;Enabled&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;="true"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;

&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;any way to wrap this column?this is a critical issue for us.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;thanks&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;Arun&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Wrap text in selfreference grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Wrap-text-in-selfreference-grid/</link><pubDate>Thu, 16 Dec 2010 05:47:56 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Wrap text in selfreference grid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It's not working for me in self reference grids&lt;/p&gt;
&lt;p&gt;my version of ISNet.WebUI.WebGrid.dll is 6.0.7200.215.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;was this implemented recenlty in the product?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Wrap text in selfreference grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Wrap-text-in-selfreference-grid/</link><pubDate>Wed, 15 Dec 2010 22:27:34 GMT</pubDate><dc:creator>yudi</dc:creator><category>Wrap text in selfreference grid</category><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I made a minor modification on SelfReferencingGrid.aspx sample file of WebGridSamples project. Below are the detail changes.&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;li&gt;Enable AllowMultiLine property in “Notes” WebGridColumn&lt;/li&gt;&lt;/ol&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" ...&amp;gt;
    &amp;lt;RootTable DataKeyField="EmployeeID"&amp;gt;
        ...
        &amp;lt;Columns&amp;gt;
            ...
            &amp;lt;ISWebGrid:WebGridColumn Caption="Notes" DataMember="Notes" Name="Notes"
                Width="100px" AllowMultiLine="true"&amp;gt;
            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
            ...
        &amp;lt;/Columns&amp;gt;
    &amp;lt;/RootTable&amp;gt;
&amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;ol style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt" start="2"&gt;&lt;li&gt;Set RowHeightDefault property of LayoutSettings to “-1”&lt;/li&gt;&lt;/ol&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="WebGrid1" runat="server" ...&amp;gt;
    &amp;lt;LayoutSettings RowHeightDefault="-1"&amp;gt;&amp;lt;/LayoutSettings&amp;gt;
    &amp;lt;RootTable DataKeyField="EmployeeID"&amp;gt;
        ...
        &amp;lt;Columns&amp;gt;
            ...
            &amp;lt;ISWebGrid:WebGridColumn Caption="Notes" DataMember="Notes" Name="Notes"
                Width="100px" AllowMultiLine="true"&amp;gt;
            &amp;lt;/ISWebGrid:WebGridColumn&amp;gt;
            ...
        &amp;lt;/Columns&amp;gt;
    &amp;lt;/RootTable&amp;gt;
&amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;And the result is shown as follow:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="border-bottom: medium none; border-left: medium none; width: 640px; height: 173px; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/Community/Attachments/2175/Self-Reference%20with%20Word%20Wrap.png" /&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I’m using WebGrid 7.0 (build 406) and WebUI.NET Framework 3.0 (build 757). My browser is IE 8 with IE 8 Standards mode.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please let us know if you have different scenario or different result.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Wrap text in selfreference grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Wrap-text-in-selfreference-grid/</link><pubDate>Wed, 15 Dec 2010 13:37:49 GMT</pubDate><dc:creator>aiyer</dc:creator><category>Wrap text in selfreference grid</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;How can I wrap the text in a column.&lt;/p&gt;
&lt;p&gt;I tried this&lt;/p&gt;&lt;span style="font-size: 13px"&gt;grd.RootTable.Columns.GetNamedItem(&lt;/span&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;&lt;span style="font-size: 13px; color: #a31515"&gt;"title"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;).AllowMultiLine = &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;True 
&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;grd.RootTable.RowHeightDefault = Unit.Pixel(-1)&lt;/p&gt;&lt;/span&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;it works in normal grid.but it doesn't work in Self Reference Grid .&lt;/p&gt;
&lt;p&gt;is it a bug?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Melbin&lt;/p&gt;</description></item></channel></rss>