﻿<?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 - Buttonstyle defined in css</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Buttonstyle-defined-in-css/</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>Buttonstyle defined in css</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Buttonstyle-defined-in-css/</link><pubDate>Tue, 01 Sep 2009 04:17:16 GMT</pubDate><dc:creator>Michael</dc:creator><category>WebDesktop</category><category>WebButton</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have find out, how can I define Backcolor2 and GradienType:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;ctl00ContentPlaceHolder1WebDesktopManager1-TaskBarButtonStyle-Active{background-color:WhiteSmoke; font-family:Tahoma;&amp;nbsp; font-size:8pt;&amp;nbsp; font-weight:normal;border:1px Gray solid;border-right: 1px White solid;border-bottom: 1px White solid;cursor:Default;&lt;strong&gt;filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFF5F5F5 , endColorstr=#FFD3D3D3, GradientType=0);width:150px;basestyle:Normal;}&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have read Performace Guidelines. It's recommended to use &lt;strong&gt;Theme architecture.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;But how can I use Theme architecture? A sample would be great!&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Buttonstyle defined in css</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Buttonstyle-defined-in-css/</link><pubDate>Mon, 24 Aug 2009 23:17:46 GMT</pubDate><dc:creator>james</dc:creator><category>WebDesktop</category><category>WebButton</category><description>&lt;p&gt;Hello Michael,&lt;/p&gt;&lt;p&gt;Yes, you can define ButtonStyle using CSS class.&lt;/p&gt;
&lt;p&gt;For example, let's say you have the stylesheet classes as in the following:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;style&amp;gt;
.Button-Normal
{
    border: Gray 2px solid;
    background-color: White;
}
&amp;lt;/style&amp;gt;&lt;/pre&gt;
&lt;p&gt;You can assign the class to the Normal style of the WebButton through the object model, such as shown below:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;pre&gt;button.ButtonStyle.Normal.CssClass = "Button-Normal";&lt;/pre&gt;
&lt;p&gt;Note that you can also assign it declaratively in the ASPX markup. &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;br /&gt;James.&lt;/p&gt;</description></item><item><title>Buttonstyle defined in css</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Buttonstyle-defined-in-css/</link><pubDate>Fri, 21 Aug 2009 09:49:49 GMT</pubDate><dc:creator>Michael</dc:creator><category>WebDesktop</category><category>WebButton</category><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It is possible to define the Buttonstyle in Stylesheet?&lt;/p&gt;
&lt;p&gt;I have found How-to: Control WebGrid's styles using external CSS definition. &lt;br /&gt;But the WebGrid attributes aren't identical with css attributes e.g. Font-Names --&gt; font-family, BorderStyle --&gt; border-style&lt;br /&gt;Some attributes are missing: e.g. BackColor2, GradientType&lt;/p&gt;
&lt;p&gt;an other way:&lt;/p&gt;
&lt;p&gt;I can set IntegratedToDesktopManager to True and define the CommandButtonStyle in DesktopManager.&lt;br /&gt;This is possibly the better choice.&lt;/p&gt;
&lt;p&gt;Sorry, this Tropic should be in WebDesktop Forum &lt;img id="" style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley9.gif" /&gt; &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item></channel></rss>