Hi I am trying to add html table to the context via c#.
I am getting the value without the table.
Can anyone help me out .
StringBuilder sb = new StringBuilder();sb.Append(@"<table style='width: 100 %; '>");
sb.Append(@"<tr>");
for (int i = 0; i < 10; i++)
{
sb.Append(@"<table style='width: 450px' > Val1 </ td > ");
sb.Append(@"<table style='width: 450px' > </ td >");
sb.Append(@"</tr>");
sb.Append(@"<tr>");
sb.Append(@"<table style='width: 450px' > Val2</ td > ");
sb.Append(@"<table style='width: 450px' > </ td > ");
sb.Append(@"</tr>");
sb.Append(@"<tr>");
sb.Append(@"<table style='width: 450px' > Val3 </ td > ");
sb.Append(@"<table style='width: 450px' > </ td > ");
sb.Append(@"</tr>");
sb.Append(@"<tr>");
sb.Append(@"<table style='width: 450px' > Val4 </ td > ");
sb.Append(@"<table style='width: 450px' > </ td > ");
sb.Append(@"</tr>");
}
sb.AppendLine(@"</ table >");
RadEditor .Content= sb.ToString();