Bgcolor
I am trying to change the background color of my application.
I went into the template header and set the bgcolor="c0c0c0"..... so that i will have a grey background color. There seem to be no effect.
How do i change the main background color?
I want to maintain the tab color ans stuff the same
Kandia,
If you provide enough details, someone may be able to help you. I'll try one more time:
1) What type of template did you make the change in? Page template, region template, etc.?
2) What's the relevant portion of HTML before and after the change?
Sergio
Similar Messages
-
Change tr bgcolor based on optional region
Hello, dear DW wizards,
I would like to automatically change the background color of a table row based upon wether an optional region is visible in a document or not.
I created an optional region in a template and set its default state to show. In another region I made the tr tag of a table row editable. The default bgcolor for that row is red.
If the optional region in an html file based on this template is hidden, the bgcolor of the table row should automatically change to blue.
Is this possible with conditional expressions? I find no detailed info on the programming and don't know Javascript (which DW expression language is similar to).
Thanks for you help
BernhardYour best bet with questions like this is to post your code so we can see exactly what is happening. Nevertheless, the 'guess' answer to your question is "yes" you can do such things with conditional expressions. You would make the color for the <tr> test the template parameter that controls the visibility of the optional region:
<tr style="background-color:@@(param==true ? #AAAAAA : #BBBBBB)@@" -
Cfgrid checkbox column does not display bgcolor
I am running CF9 in Firefox and have a page with an editable grid. I have different background colors for certain groups of columns.
When I define a column as follows:
<cfgridcolumn name="HidePrice" display="true" header="Hide Price" width="40" select="yes" bgColor="##E7F3F1" type="boolean" />
it shows as a checkbox but the background color does not show. This same bg color does show in adjacent columns. That's my first problem.
In addition, I have applied some styles to the extJS cells using stuff like this:
.x-grid3-col-8 {height:42px;}
.x-grid3-col-9 {text-align:right;height:42px;}
.x-grid3-col-10 {text-align:center;height:42px;}
.x-grid3-col-11 {text-align:right;height:42px;}
This worked fine before I added the checkbox, but the checkbox field (in this case it's field .x-grid3-col-10) throws off the column count and the subsequent styles affect the wrong columns. As if the checkbox was not a full-fledged grid column.
Anybody have an inkling what's happening?This hasn't received an answer in almost two months?
I've searched the docs and online and I have yet to find a solution, but BUMP and you're not the only one. -
In my current page design, I have a menu bar across the top
which consists of a one row of a table in which the row has a red
background color with white text, i.e.,
<tr>
<td colspan="3" bgcolor="#CC0033">
<a href="index.html"
style="text-decoration:none"><font
color="#FFFFFF">Home</font></a>
This works as desired in Firefox, but in IE it is not
displaying the background color, so I have white text on a white
background ... works, but is hard to read. Anyone got a fix, other
than switching to a different background color with black
text?> Isn't DW validating it every time I make a change and
refresh?
If you have it turned on, DW will highlight invalid markup
for you.
Sometimes you will only see this if you look in Code view,
though.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"TM-H" <[email protected]> wrote in message
news:gb6d00$pmt$[email protected]..
> Isn't DW validating it every time I make a change and
refresh? It
> complains or does something obvious other places where I
make typos ...
> surprised it didn't do something here. -
Alternate row different dynamic BGcolor
I cannot find the way to handle the Dynamic BgColor
change....
Because in my calender report got 600 field each fields
depend on the flag to change the Bgcolor...
i found the lousy way is each field have to set a duplicate
color field overlap the data fields(set transparent)...then the
color field
set in the property "Print when" qeury.Flg eq 1 then show
color.....
is it got anyway like the HTML + CFM to set every alternate
row set the BgColor...?
if dun have choose i need to use this lousy way...
i Need helps...utardylan wrote:
> THX FOR UR replyed Daverms...
> Actually i also using such way to make it....
> bcoz i have 600++ query.fields in my report....so it too
tedious to use this
> way...
>
> So i'm finding the easy way to set it...
>
> but anyway thanks for ur reply
>
assuming you want to alternate 2 colours of rows returned by
your query:
<cfoutput query="yourquery">
<table>
<cfif yourquery.currentrow MOD 2 is 1>
<cfset bgc = "##cccccc">
<cfelse>
<cfset bgc = "">
</cfif>
<tr style="background-color:#bgc#;">
<td></td>
<td>...
</tr>
</cfoutput>
</table>
Azadi Saryev
Sabai-dee.com
Vientiane, Laos
http://www.sabai-dee.com -
Can bgcolor within procedure .show be changed?
i wonder how to change the bgcolor within the result of a select query on a dynamic page created with portal. (so not the bgcolor of the entire form, which is easy enough)
koenYou may want to redirect your question to the Oracle Portal (WebDB) forum. This forum is for Portal-to-Go, i.e. Application Server Wireless Edition. It's confusing, but they're different products.
You may have a better chance at receiving a response there.
Cheers. -
Java code to alternate row bgcolors
Hey all,
I have a table that's size is dynamic depending on the size of a resultset returned from the database. I want to pretty up the table by alternating the color of the rows. I was able to do this in asp by using the mod fuction which returns the remainder of an integer, and so if i = 1 bgcolor=white, if i=2 bgcolor=gray. I'm not sure what to use in jsp. Take a look at my code, and see if you know of a better way.
<%
int rowcount = 0;
String rowbgcolor = "";
int i = 1;
while(i <= validUsers.length){
rowcount = rowcount + 1
if rowcount mod 2 = 0 then
rowbgcolor = "#F8F8B1"
else
rowbgcolor = "#ECEC88"
end if
%>
<tr bgcolor="<%=rowbgcolor%>">
<td><img src="<bean:message key="marsapp.images_dir"/>/icon_edit.png" /> </td>
<td><%=validUsers.getUsername()%> </td>
<td><%=validUsers[i].getLastname()%>, <%=validUsers[i].getFirstname()%> </td>
<td><%=validUsers[i].getPhone()%> </td>
<td><%=validUsers[i].getFax()%> </td>
</tr>
<%i++;
%>
There is probably an easier way to do this with css but I'm no whiz with that. This is a struts application, but I dont find struts to be useful when generating formated tables like this. Is there something that I'm missing or is this already built into struts?sorry for not giving anyone a chance to reply, but here is the code transferred to jsp. It has the desirable effect of alternating rows, but it looks a bit sloppy to me. Still looking for suggestions for a better way.
<%
mars.UserDAO currentDAO = (mars.UserDAO)session.getAttribute("UserDAO");
mars.User[] validUsers = currentDAO.getUsers();
%>
<table cellspacing="0" cellpadding="2" width=600 align="center">
<tr class="TableRowHeader" bgcolor='#ECEC88'>
<td> </td>
<td>Username</td>
<td>Name (Last, First)</td>
<td>Phone</td>
<td>Fax</td>
</tr>
<%
String rowbgcolor = "";
int i = 0;
while(i <= validUsers.length-1){
if ((i % 2) == 0){
rowbgcolor = "#F8F8B1";
else{
rowbgcolor = "#ECEC88";
}%>
<tr bgcolor="<%=rowbgcolor%>">
<td><img src="<bean:message key="marsapp.images_dir"/>/icon_edit.png" /> </td>
<td><%=validUsers.getUsername()%> </td>
<td><%=validUsers[i].getLastname()%>, <%=validUsers[i].getFirstname()%> </td>
<td><%=validUsers[i].getPhone()%> </td>
<td><%=validUsers[i].getFax()%> </td>
</tr>
<%i++;
}%>
</table> -
Issue with onmouseover when attempting to change bgcolor
I am setting up a skeleton jsp page to be used by my team which will consist of a header, left nav, and a footer.
The issue I am having is that on the left nav I want the menu items to change color based on an onmouseover or onmouseout event. I know the following will work:
<td height="20" bgcolor="#f2f2f2" onMouseOver='bgColor="#80d8d8"' onMouseOut='bgColor="#f2f2f2"'>
Credit Referrals
</td>
However, what I would like to do is not have to hardcode the bgcolor= parameter on each of my <td> statements. Instead, is there a way to use a style sheet so that I can simply refer the onmouseover/out events to the bgcolor in the style sheet?
Thanks...try this out.
========================
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style type="text/css">
.navmenu {cursor: hand;
background-color: #e2e2e2;}
.navsub {cursor: hand;
background-color: #f2f2f2;}
.navdv {background-color: #808874;}
</style>
<SCRIPT LANGUAGE="JavaScript">
<!--
function changecolor(id,myclass)
htm = document.getElementById(id);
htm.className=myclass;
//-->
</SCRIPT>
</HEAD>
Here is my code using the class .navmenu :
<div class="navmenu" id="mydiv" onmouseover="changecolor('mydiv','navsub')" onmouseout="changecolor('mydiv','navdv')">
<tr >
<td height="20">
<b>Queues</b>
</td>
</tr>
</div>
<BODY>
</BODY>
</HTML> -
HELP: Seems impossible to change height x Width & bgcolor
Hi, I was wondering if someone can help me out...
I tried editing the .xml & .html files, but for some reason, nothing seems to want to produce desired results
Info about tag cloud:
This tag cloud was generated using the online tool available at tagcloud-generator.com
Contains 5 test word and Flash settings for "FLY" tag cloud with output size of 600 width & 600 height.
Default Background color is #FFFFFF.
Default Bordercolor is #FFFFFF.
Problem / Issues
There seems to be no way to change the background to transparent.
I am trying to change the output size size from 600px (width) x 600px (height) to 100% x 100%, so that it would look alright in all browsers. However, no matter how many times I change the width x height value in .html or .xml file, it does not seem to want to accept it.
If someone can please help in making above changes, it will be very much appreciated.
Here is the flash tag file with all the working code that I downloaded from tagcloud generator: http://www.plasticsurgerytulsa.org/tag/flash-tagcloud.zip
Thank you.Hi,
Thanks for the response.
Here is the content of HTML file
===========================================================
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0" />
<title>tagClouds</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#ffffff">
<?xml version="1.0" encoding="utf-8"?>
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '600',
'height', '600',
'src', 'tagClouds',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'tagClouds',
'bgcolor', '#ffffff',
'name', 'tagClouds',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'tagClouds',
'salign', '',
'flashVars', 'xmlURL=tagClouds53b5923d61d6103ad5d7342b03cfe6c51362858605.xml'
); //end AC code
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="600" height="600" id="tagClouds" align="middle" >
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="tagClouds.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="flashVars" value="xmlURL=tagClouds53b5923d61d6103ad5d7342b03cfe6c51362858605.xml" />
<embed src="tagClouds.swf" quality="high" bgcolor="#ffffff" width="100%" height="100%" name="tagClouds" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashVars="xmlURL=tagClouds53b5923d61d6103ad5d7342b03cfe6c51362858605.xml"/>
</object>
</noscript>
</body>
</html>
===========================================================
Here is the content of the XML file
===========================================================
<?xml version="1.0" encoding="UTF-8"?>
<tagClouds>
<einstellungen>
<allgemein modus="fliegen" breite="600" hoehe="600" hintergrundfarbe="0xFFFFFF" rahmenfarbe="0xFFFFFF"/>
<wolke prozentsatz_vertikal=""/>
<globus radius="" maximale_Drehgeschwindigkeit=""/>
<fliegen geschwindigkeit_aktiv="4" geschwindigkeit_passiv="2" richtung="vorwaerts"/>
<schrift schriftart="Arial" kleinste_Schriftgr="12" groesste_Schriftgr="22" link_dekoration="nounderline"/>
<farbe wert="0xFF7600"/>
<farbe wert="0x87A800"/>
<farbe wert="0xDE2159"/>
<farbe wert="0x039FAF"/>
</einstellungen>
<tag linkURL="" prioritaet="9" text="word-one" target="_self"/>
<tag linkURL="" prioritaet="10" text="word-two" target="_self"/>
<tag linkURL="" prioritaet="8" text="word-three" target="_self"/>
<tag linkURL="" prioritaet="6" text="word-four" target="_self"/>
<tag linkURL="" prioritaet="4" text="word-fire" target="_self"/>
</tagClouds>
===========================================================
*Edit*
Here is the direct URL to SWF file (In case you need it)
http://www.plasticsurgerytulsa.org/tag/tagClouds.swf -
Is it good idea to use style sheet for the bgcolor of a table that is just
is it good idea to use style sheet for the bgcolor of a table that is just being used for formatting
Hi,
CSS is a way to do so. I don't think that there is any problem with using CSS on any kind of table
Frank -
Hi,
Need a help in SSRS .
i want to change the row color irrespective of values (NULL also) based on a condition .
please find the below example
Name A1 B1 C1
A 1
B 2
C 3
in the above example , i want to get the A row to be colored in red(in cell A:B1,A:C! also).
ps: in the above format A1,B1,C1 are matrix.
thanks in advance.Hi Chandra,
I am able to reproduce your issue, you are using Matrix control not Tabix control.
Seond thing in matrix control also it will work fine , if you modify your SQL query as given below:-
select 'A' Name,'A1' City ,'Y' val
union
select 'A' Name,'B1' City ,NULL val
union
select 'A' Name,'C1' City ,NULL val
union
select 'B' Name,'A1' City ,NULL val
union
select 'B' Name,'B1' City ,'Y' val
union
select 'B' Name,'C1' City ,NULL val
union
select 'C' Name,'A1' City ,NULL val
union
select 'C' Name,'B1' City ,NULL val
union
select 'C' Name,'C1' City ,'Y' val
Becauze when Value Cell is evaluating then its not finding the Name column, in your sql
when Value is blank thats nothing (Not NULL), it should have that row to evaluate.
Below is the output of both the cases, one with my sql and another with your SQL, however same Matrix control.
Code also given below:-
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<ReportItems>
<Tablix Name="matrix1">
<TablixCorner>
<TablixCornerRows>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<FontFamily>Tahoma</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
</TablixCornerRows>
</TablixCorner>
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.21in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="textbox2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=First(Fields!val.Value)</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox2</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>=iif(Fields!Name.Value="A","LightSkyBlue","No Color")</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
<DataElementOutput>Output</DataElementOutput>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="matrix1_col">
<GroupExpressions>
<GroupExpression>=Fields!City.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!City.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.21in</Size>
<CellContents>
<Textbox Name="City1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!City.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>City1</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#6e9eca</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="matrix1_Name">
<GroupExpressions>
<GroupExpression>=Fields!Name.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!Name.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Name">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Name.Value</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
<TextRun>
<Value>4</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontWeight>Bold</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Name</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>=iif(Fields!Name.Value="A","LightSkyBlue","No Color")</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
<DataElementOutput>Output</DataElementOutput>
<KeepTogether>true</KeepTogether>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<RepeatColumnHeaders>true</RepeatColumnHeaders>
<RepeatRowHeaders>true</RepeatRowHeaders>
<DataSetName>DataSet1</DataSetName>
<Top>0.37in</Top>
<Height>0.42in</Height>
<Width>2in</Width>
<Style />
</Tablix>
<Textbox Name="textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>BgColor</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>12pt</FontSize>
<FontWeight>Bold</FontWeight>
<Color>SteelBlue</Color>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>textbox1</rd:DefaultName>
<Height>0.37in</Height>
<Width>5in</Width>
<ZIndex>1</ZIndex>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Tablix Name="Tablix1">
<TablixCorner>
<TablixCornerRows>
<TablixCornerRow>
<TablixCornerCell>
<CellContents>
<Textbox Name="Textbox7">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Name</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox7</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCornerCell>
</TablixCornerRow>
</TablixCornerRows>
</TablixCorner>
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>0.25in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Value">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Value.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Value</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>=iif(Fields!Name.Value="A","LightSkyBlue","No Color")</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="City">
<GroupExpressions>
<GroupExpression>=Fields!City.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!City.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>0.25in</Size>
<CellContents>
<Textbox Name="City">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!City.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>City</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="Name">
<GroupExpressions>
<GroupExpression>=Fields!Name.Value</GroupExpression>
</GroupExpressions>
</Group>
<SortExpressions>
<SortExpression>
<Value>=Fields!Name.Value</Value>
</SortExpression>
</SortExpressions>
<TablixHeader>
<Size>1in</Size>
<CellContents>
<Textbox Name="Name1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Name.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Name1</rd:DefaultName>
<Style>
<Border>
<Color>LightGrey</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>=iif(Fields!Name.Value="A","LightSkyBlue","No Color")</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</CellContents>
</TablixHeader>
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet2</DataSetName>
<Top>1.16333in</Top>
<Height>0.5in</Height>
<Width>2in</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>1.79833in</Height>
<Style />
</Body>
<Width>5in</Width>
<Page>
<LeftMargin>1in</LeftMargin>
<RightMargin>1in</RightMargin>
<TopMargin>1in</TopMargin>
<BottomMargin>1in</BottomMargin>
<Style />
</Page>
<AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="DataSource1">
<DataSourceReference>DataSource1</DataSourceReference>
<rd:SecurityType>None</rd:SecurityType>
<rd:DataSourceID>ca7399ac-7cfc-46e6-831e-0b2290c7d03f</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Query>
<DataSourceName>DataSource1</DataSourceName>
<CommandText>select 'A' Name,'A1' City ,'Y' val
union
select 'A' Name,'B1' City ,NULL val
union
select 'A' Name,'C1' City ,NULL val
union
select 'B' Name,'A1' City ,NULL val
union
select 'B' Name,'B1' City ,'Y' val
union
select 'B' Name,'C1' City ,NULL val
union
select 'C' Name,'A1' City ,NULL val
union
select 'C' Name,'B1' City ,NULL val
union
select 'C' Name,'C1' City ,'Y' val
</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
<Fields>
<Field Name="Name">
<DataField>Name</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="City">
<DataField>City</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="val">
<DataField>val</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
<DataSet Name="DataSet2">
<Query>
<DataSourceName>DataSource1</DataSourceName>
<CommandText>SELECT 'A' AS Name, 'A1' AS City, 'Y' AS Value
UNION
SELECT 'B' AS Name, 'B1' AS City, 'Y' AS Value
UNION
SELECT 'C' AS Name, 'C1' AS City, 'Y' AS Value </CommandText>
</Query>
<Fields>
<Field Name="Name">
<DataField>Name</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="City">
<DataField>City</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="Value">
<DataField>Value</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
</DataSet>
</DataSets>
<Language>en-US</Language>
<ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
<rd:ReportUnitType>Inch</rd:ReportUnitType>
<rd:ReportID>e17dffbf-c89b-47ce-872a-329978e90fd3</rd:ReportID>
</Report>
Thanks
Prasad -
GetHTMLAttribute("bgcolor");
Hi All, I am testing a web application and tryng to find out the color of a cell from a table using getHTMLAttribute("bgcolor");
But this propert is giving error
Pls helpwelcome to SDN.
the background color and element colors are based on the design you use in your page.
<htmlb:content design="classic" or "design2002" or "design2003"
try passing various desings in your page and see how its changes the background colur and element color in the page.
Regards
Raja -
SWF bgcolor, width and height
me have start a ActionScript Project in Flex
how to set the output swf' width and height? and the bgColor?Hi - this is an old question, but I'm having the same
question and don't see a response.
I have an actionscript only project, and want to control the
output parameters for the SWF. Is this possible? -
When UI is required,how to change UI content bgcolor style by css skin
when UI attribute required="true",there will be an '*' in front of the UI,1in addition,i want to change this UI content bgcolor style by css skin,How to achieve this?
You could do something similar to setting the inlineStyle attribute of the UI content whose background color you want to change.
inlineStyle='#{(bindings.TreeBindingName.hints.RequiredAttributeName.mandatory) ? "#C8C8C8" : ""}' -
Does anybody know how to read the value of the bgcolor param
that is being passed into a SWF so that ActionScript knows what the
current background color is set to?
In other words.... you pass a param name="bgcolor" in the
HTML code when calling the flash object... but how do you read it
into your action script?For this case I have no control over what is launching the
flash file... all I have control over is the .SWF and want to know
what the bgcolor is set to when the SWF is being called from within
ActionScript. I'm working within a lot of constraints... but having
this value would help me out a lot. I figure it must be stored in
some read only property... it just seems like it isn't documented
anywhere, and I can't find anything in Google.
Maybe you are looking for
-
Java Embedding setVariableData not working - Urgent
Hi Guys, I tried a simple HelloWord/Echo Kinda example, accessing input variable using getVariableData and assigning it to output variable using setVariable data in Java Embedding. It's throwing an error. JavaEnbedCode : String xmlData = ((oracle.xml
-
Running FB08 in background instead of foreground
Hello All, I tried to run BDC for FB08 but it does not post the reversal entries. I tried CALL_FB08 FM too but still no luck. Could some one help me out. The transaction process needs to be attached to a customized FI program for cheque reversal for
-
Is it possible to move items betwen regions using personalizations
Is it possible to move items betwen regions using personalizations?
-
Has anyone got any examples of successfully using this crossword in CP6
This is the link to the crossword....if so, is it online for viewing or can you provide a link to it? On that note, is there a easier way to create these yet...? http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=32
-
First time itunes download from pc to ipad
How do I download my itunes library from my pc to my new Ipad for the first time?