3
Answers

Telerik Report dynamically add text box in the group header

 hi guys,
 
Telerik Report dynamically add text box in the group header section pls help
Answers (3)
0
Madhanmohan Devarajan

Madhanmohan Devarajan

NA 6.5k 471.5k 8y
Saravana,
Would you like to add the group header in the Telerik Report itself (in Browser) ? or based on the condition it has to be added dynamically thru code?
Also please attach some screenshots or picture so that it will be easy to understand.
0
S.Saravana Kumar

S.Saravana Kumar

NA 1k 13.1k 8y
hi madhanmohan thank for your reply i need to add this format in header section dynamically

Startdate 12-Jan-2016 vehicle type Diesel vehicel make year 2012

vehicle Name Maruti Mileage 2kms Air condtion no

Vehicle No Z4003 Closed Kms 1512 kms

only single row but need to display like this
0
Madhanmohan Devarajan

Madhanmohan Devarajan

NA 6.5k 471.5k 8y
Hi Saravana,
You can use the below code
Telerik.Reporting.HtmlTextBox textboxGroupHeader;
var tableGroupColumn = new Telerik.Reporting.TableGroup();
this.table1.ColumnGroups.Add(tableGroupColumn);
tableGroupColumn.ReportItem = textboxGroupHeader; // to add theHTML textboxtoColumn Group header