Page 2 of 2

Re: Programatically assigning BackColor for TextBox

Posted: Wed Feb 22, 2017 2:53 pm
by Mahesh C
hi HighAley,
I tried to use same code with StiTableCell but that doesn't work for me .

StiCondition sctextColorCond = new StiCondition();
sctextColorCond.DataType = StiFilterDataType.String;
sctextColorCond.TextColor = System.Drawing.Color.Red;
//sctextColorCond.Column = String.Format("{{{0}.{1}}}", tblDR.TableName, Stimulsoft.Report.CodeDom.StiCodeDomSerializator.ReplaceSymbols(column.ColumnName));
sctextColorCond.Column = "{tblDR." + column.ColumnName + "};";
sctextColorCond.Condition = StiFilterCondition.LessThan;
sctextColorCond.Value1 = "0";
sctextColorCond.Font = new System.Drawing.Font("Calibri", 10F, System.Drawing.FontStyle.Bold);
sctextColorCond.BackColor = System.Drawing.Color.Beige;
sctextColorCond.Enabled = true;
dataCell.Conditions.Add(sctextColorCond);

Re: Programatically assigning BackColor for TextBox

Posted: Thu Feb 23, 2017 1:22 pm
by Alex K.
Hello,

Please send us a simple project which reproduces the issue for analysis.

Thank you.