This is a migrated thread and some comments may be shown as answers.

Modify TextBoxValue in Table

2 Answers 175 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sentil
Top achievements
Rank 1
Sentil asked on 08 Nov 2013, 07:07 AM
Hi Guys

I saw the below link

http://www.telerik.com/help/reporting/m_telerik_reporting_processing_tablerow_getcell.html
I am able to access my dynamic table cell values but how to modify cell values

in C#
Telerik.Reporting.Processing.ReportItem item = cell.Item;
//(In cell.Item i can see html text box values)
//How to modify my dynamic TextBox Values


Thanks
Senthil

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Hristov
Telerik team
answered on 11 Nov 2013, 05:13 PM
Hi Sentil,

You just need to cast the ReportItem to Telerik.Reporting.Processing.TextBox as shown:
var textBox = cell.Item as Telerik.Reporting.Processing.TextBox;
if (textBox != null)
{
    textBox.Value = DateTime.Now.ToShortDateString();
}


Regards,
Ivan Hristov
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
Sentil
Top achievements
Rank 1
answered on 12 Nov 2013, 07:03 AM
Hi

thanks

Senthil
Tags
General Discussions
Asked by
Sentil
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Sentil
Top achievements
Rank 1
Share this question
or