﻿<?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 - headerStyle</title><link>http://www.intersoftsolutions.com/Community/Tags/headerStyle/</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 7 R2 headerStyle property problem =&gt; caption is erased</title><link>http://www.intersoftsolutions.com/Community/Tags/headerStyle/</link><pubDate>Tue, 29 Dec 2009 10:03:37 GMT</pubDate><dc:creator>supporti-track.pmi@pmintl.com</dc:creator><category>WebGrid</category><category>Caption</category><category>headerStyle</category><description>
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a small issue with headerStyle property. If I set it like this :&lt;/p&gt;
&lt;pre&gt;&amp;lt;cc4:WebGridColumn Caption="test" DataMember="Nb" Name="Nb" Width="3%"&amp;gt;
	&amp;lt;HeaderStyle Height="200px" CustomRules="writing-mode:tb-rl;"  /&amp;gt;
&amp;lt;/cc4:WebGridColumn&amp;gt;&lt;/pre&gt;
&lt;p&gt;the caption "test" doesn't appear.&lt;/p&gt;
&lt;p&gt;I tried to set it server side :&lt;/p&gt;&lt;pre&gt;void webgrid_InitializeColumn(object sender, ColumnEventArgs e)
        {
            
            if (e.Column.Name == "Nb")
            {
                //WebGridFormatStyle headerStyle = new WebGridFormatStyle();
                //headerStyle.Height = Unit.Pixel(100);
                //headerStyle.CustomRules = "writing-mode:tb-rl;";
                e.Column.Caption = Resources.Resources.grdNb;
            }
        }&lt;/pre&gt;

&lt;p&gt;but it doesn't work at all.&lt;/p&gt;
&lt;p&gt;Do you know how to set height, writing mode and have the caption correctly displayed?&lt;/p&gt;
&lt;p&gt;I thank you in advance,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;</description></item></channel></rss>