﻿<?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 - Styles</title><link>http://www.intersoftsolutions.com/Community/Tags/Styles/</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>Colors (Styles) from WebGrid when exporting</title><link>http://www.intersoftsolutions.com/Community/Tags/Styles/</link><pubDate>Thu, 04 May 2017 12:05:09 GMT</pubDate><dc:creator>zeljko.skoric@hrpro.hr</dc:creator><category>WebGrid</category><category>export</category><category>Styles</category><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br&gt;&lt;br&gt;I would like to know if there is a way to get styles from the grid which has some cells "colored". &lt;br&gt;&lt;br&gt;What I mean is this: &amp;nbsp;&lt;br&gt;&lt;br&gt;I have a grid like the one in the picture I attached, with some cells colored red and green.&lt;br&gt;(This was done in InitializeRow event on the server side).&lt;br&gt;&lt;br&gt;Now, when I export this grid, I can't seem to find this information (about this red and green styles) on the "&lt;b&gt;e&lt;/b&gt;" object passed to my export handler:&lt;br&gt;&lt;br&gt;Private Sub WebGrid1_Export(ByVal sender As System.Object, ByVal &lt;b&gt;e&lt;/b&gt; As ExportEventArgs) Handles WebGrid1.Export&amp;nbsp;&lt;br&gt;&lt;br&gt;Is it even possible to get this data from the ExportEventArgs object?&lt;br&gt;And if it is, how to get it?&lt;br&gt;&lt;br&gt;The example on the attached picture was done using v8_0_7200 grid.&lt;br&gt;&lt;br&gt;Thank you very much!&lt;/p&gt;</description></item><item><title>Crosslight Styling</title><link>http://www.intersoftsolutions.com/Community/Tags/Styles/</link><pubDate>Mon, 30 Jun 2014 11:42:11 GMT</pubDate><dc:creator>thomas.albert@tea-net.ch</dc:creator><category>Styles</category><category>Crosslight</category><description>&lt;p&gt;Hello Crosslight Support,&lt;/p&gt;&lt;p&gt;I have a question about styling. Crosslight ships with many pre build UI components. When buildung an app for a customer, the customer often wants his/her own corporate identity (fonts, colors, backgrounds, icons, ...)&amp;nbsp;to appear in the app's UI.&lt;/p&gt;&lt;p&gt;Is there a way to easily re-style the UI components included in Crosslight? Can this be done programmatically? Do you have other proposals, resources, samples&amp;nbsp;or best practices in styling an app developed with Crosslight?&lt;/p&gt;&lt;p&gt;Thanks for your assistance.&lt;/p&gt;&lt;p&gt;Thomas&lt;br&gt;&lt;/p&gt;</description></item><item><title>WebInput 3 Cannot Set Width Using CssClass Style</title><link>http://www.intersoftsolutions.com/Community/Tags/Styles/</link><pubDate>Thu, 07 Jan 2010 10:40:07 GMT</pubDate><dc:creator>PRISMAY</dc:creator><category>Calendar</category><category>Date</category><category>Time</category><category>CssClass</category><category>Styles</category><category>Width</category><description>&lt;p&gt;Seems that I can't set the width unless I use the WebInput Width property.  I've tried everything I can think of via CssClass and the width will not use my class setting.&lt;/p&gt;
&lt;p&gt;The styles used on the test page:&lt;/p&gt;&lt;span style="color: #0000ff; font-size: 9px"&gt;&lt;pre&gt;&amp;lt;style type="text/css"&amp;gt;
.Ctl_Calendar
{
	background-color: #ffffff;
	border: solid 0px #DDCCCC;
	font-family: Calibri;
	font-size: 10pt;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	width: 100%;
	height: 22px;
}

.Ctl_Calendar_Frame
{
	border: solid 1px #DDCCCC;
	width: 100%;
	height: 22px;
}

.Ctl_Calendar_DropDown
{
	font-family: Webdings;
	border: none;
	background-color: white;
	color: #DDCCCC;
	cursor: pointer;
}

.Ctl_Calendar_TextBox
{
	background-color: White;
	border-style: none;
	font-family: Calibri;
	font-size: 9pt;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	border-collapse: collapse;
	width: 100%;
	height: 22px;
}
&amp;lt;/style&amp;gt;
&lt;/pre&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 10pt"&gt;Seems that I can't set the width unless I use the WebInput Width property.&amp;nbsp; I've tried everything I can think of via CssClass and the width will not use my class setting.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebInput:WebInput ID="dt1" runat="server" IsDesignInitialize="False"
    CssClass="Ctl_Calendar" CausesValidation="False" 
    MaxDate="12/31/9998 23:59:59" MinDate="1753-01-01" UseDefaultStyle="true"&amp;gt;

&amp;lt;CultureInfo CultureName="en-US"&amp;gt;&amp;lt;/CultureInfo&amp;gt;

&amp;lt;DisplayFormat IsEnabled="true" IsValidateOnChange="true" Type="DateTime"
    Format="dd-MMM-yy"&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="true"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/DisplayFormat&amp;gt;
&amp;lt;DateTimeEditor IsEnabled="true"&amp;gt;&amp;lt;/DateTimeEditor&amp;gt;
&amp;lt;EditFormat IsEnabled="true" IsValidateOnChange="true" IsValueSpinnable="true"
    ErrorText="Invalid date selected" Type="DateTime" Format="MM/dd/yyyy"&amp;gt;
    &amp;lt;MaskInfo EmptyAsNull="true" MaskExpression="00/00/0000"&amp;gt;&amp;lt;/MaskInfo&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="true"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/EditFormat&amp;gt;
&amp;lt;DropDownStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/DropDownStyle&amp;gt;
&amp;lt;FrameStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/FrameStyle&amp;gt;
&amp;lt;TextBoxStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/TextBoxStyle&amp;gt;
    &amp;lt;HighLight IsEnabled="True" /&amp;gt;
&amp;lt;/ISWebInput:WebInput&amp;gt;

&amp;lt;br /&amp;gt;

&amp;lt;ISWebInput:WebInput ID="dt2" runat="server" IsDesignInitialize="False"
    CssClass="Ctl_Calendar" CausesValidation="False" 
    MaxDate="12/31/9998 23:59:59" MinDate="1753-01-01" UseDefaultStyle="false"&amp;gt;

&amp;lt;CultureInfo CultureName="en-US"&amp;gt;&amp;lt;/CultureInfo&amp;gt;

&amp;lt;DisplayFormat IsEnabled="true" IsValidateOnChange="true" Type="DateTime"
    Format="dd-MMM-yy"&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="true"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/DisplayFormat&amp;gt;
&amp;lt;DateTimeEditor IsEnabled="true"&amp;gt;&amp;lt;/DateTimeEditor&amp;gt;
&amp;lt;EditFormat IsEnabled="true" IsValidateOnChange="true" IsValueSpinnable="true"
    ErrorText="Invalid date selected" Type="DateTime" Format="MM/dd/yyyy"&amp;gt;
    &amp;lt;MaskInfo EmptyAsNull="true" MaskExpression="00/00/0000"&amp;gt;&amp;lt;/MaskInfo&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="true"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/EditFormat&amp;gt;
&amp;lt;DropDownStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/DropDownStyle&amp;gt;
&amp;lt;FrameStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/FrameStyle&amp;gt;
&amp;lt;TextBoxStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/TextBoxStyle&amp;gt;
    &amp;lt;HighLight IsEnabled="True" /&amp;gt;
&amp;lt;/ISWebInput:WebInput&amp;gt;

&amp;lt;br /&amp;gt;

&amp;lt;ISWebInput:WebInput ID="WebInput1" runat="server" IsDesignInitialize="False"
    CssClass="Ctl_Calendar" CausesValidation="False" Width="100%"
    MaxDate="12/31/9998 23:59:59" MinDate="1753-01-01" UseDefaultStyle="true"&amp;gt;

&amp;lt;CultureInfo CultureName="en-US"&amp;gt;&amp;lt;/CultureInfo&amp;gt;

&amp;lt;DisplayFormat IsEnabled="true" IsValidateOnChange="true" Type="DateTime"
    Format="dd-MMM-yy"&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="true"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/DisplayFormat&amp;gt;
&amp;lt;DateTimeEditor IsEnabled="true"&amp;gt;&amp;lt;/DateTimeEditor&amp;gt;
&amp;lt;EditFormat IsEnabled="true" IsValidateOnChange="true" IsValueSpinnable="true"
    ErrorText="Invalid date selected" Type="DateTime" Format="MM/dd/yyyy"&amp;gt;
    &amp;lt;MaskInfo EmptyAsNull="true" MaskExpression="00/00/0000"&amp;gt;&amp;lt;/MaskInfo&amp;gt;
    &amp;lt;ErrorWindowInfo IsEnabled="true"&amp;gt;
    &amp;lt;/ErrorWindowInfo&amp;gt;
&amp;lt;/EditFormat&amp;gt;
&amp;lt;DropDownStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_DropDown"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/DropDownStyle&amp;gt;
&amp;lt;FrameStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_Frame"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/FrameStyle&amp;gt;
&amp;lt;TextBoxStyle&amp;gt;
    &amp;lt;Active CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Active&amp;gt;
    &amp;lt;Normal CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Normal&amp;gt;
    &amp;lt;Over CssClass="Ctl_Calendar_TextBox"&amp;gt;&amp;lt;/Over&amp;gt;
&amp;lt;/TextBoxStyle&amp;gt;
    &amp;lt;HighLight IsEnabled="True" /&amp;gt;
&amp;lt;/ISWebInput:WebInput&amp;gt;
&lt;/pre&gt;
&lt;p&gt;The first calendar uses the default style, the second does not and the third uses the Width property.  Note that only the third one works because it explicitly uses the Width property.  The first and second do not adhere to the CssClass which has the width set to 100%.&lt;/p&gt;
&lt;p&gt;You can put the code above in a table and set the cell width to, say, 400px and you'll see that only the third object sizes to fit the cell, the other two do not.&lt;/p&gt;
&lt;p&gt;Also, the calendar that does not use the default style, i.e., UseDefaultStyle="false" crashes when I try to pull it down with the error "Microsoft Javascript runtime error: 'd' is null or not an object."  The javascript code snippet it breaks at is the dotfuscated v4e272.d.innertHTML=vde196; where v4e272 is valid but d is indeed null.&lt;/p&gt;</description></item></channel></rss>