hi, i have xml for ssrs report which has tablix cell contents and my xml code looks like this, i want to add color only to the fields Fields!AddedDate.Value,Fields!Removed Date.Value,Fields!modifieddate.Value only , but i could not add style to these fields <TablixCell> <CellContents> <Textbox Name="TransactionDate3"> <CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether> <Paragraphs> <Paragraph> <TextRuns> <TextRun> <Value> = Microsoft.VisualBasic.Interaction.IIF(Fields!AddedDate.Value = "", "", "Added Date: " + Fields!AddedDate.Value + System.Environment.NewLine) + "Removed Date: " + Fields!Removed Date.Value + System.Environment.NewLine + "Modified Date: " + + Microsoft.VisualBasic.Interaction.IIF(Fields!modifieddate.Value = "", "", Fields!modifieddate.Value + System.Environment.NewLine) </Value> <Style> <Color>Red</Color> </Style> </TextRun> </TextRuns> <Style /> </Paragraph> </Paragraphs> <Style> <Border> <Style>None</Style> </Border> <PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom> </Style> </Textbox> </CellContents> </TablixCell>i tried adding span tag and style attributes to these fields but they were not being applied , i tried the syntax<Value>= Microsoft.VisualBasic.Interaction.IIF(Fields!AddedDate.Value = "", "", "Added Date: " + " `<span style=color:red>` " + Fields!DMHomeStore.Value + "`</span>`" i am not getting the color to those fields , any clue what i was missing...
↧