Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
getting HTML code
posted

HI Guys,

 

I am getting HTML code insted of image and value in expoter.

 

//Add Row

Infragistics.Documents.Report.Grid.IGridRow row = grid.AddRow();

Infragistics.Documents.Report.Grid.IGridCell cell = row.AddCell();

Infragistics.Documents.Report.Text.IText text = cell.AddText();for (int i = 0; i < UltraWebGridGrid1.Rows.Count; i++)

{

row = grid.AddRow();

for (int j = 0; j < UltraWebGridGrid1.Columns.Count; j++)

{

cell = row.AddCell();

cell.Borders =
new Infragistics.Documents.Report.Borders(Infragistics.Documents.Graphics.Pens.Black);

text = cell.AddText();

text.AddContent(
Convert.ToChar(UltraWebGridGrid1.RowsIdea.Cells[j].Value));

}

}

 

Convert.ToChar(UltraWebGridGrid1.RowsIdea.Cells[j].Value

Insted of value I am getting HTML Code in this line.

 

I am trying to add section into PDF Export.

And in the section I want to add Table.

And mY table values is stored as Grid in the form.

AS such I want to Export one Grid in to PDF  Export as Header.

And Body part of the PDF file is already other Grid with diffrent columns.

Thanks.

Dhaval

Please help me in this.