HI,
I am building several .net controls dynamically using a function call and cute editor is also part of the controls. i have a button on the page which takes me to the next page. when i click on the next page button and navigate using back button to my previous page, cutesoft is not rendered properly. what happens is that the text are will be minimized and unless i click on the save button the text area doesnot show up.
/*************************************************Code ***************/
case QuestionTypes.RichTextbox :
addLabel(ref currentRow);
theTable.Rows.Add(currentRow);
currentRow = new TableRow();
CuteEditor.Editor ED = new CuteEditor.Editor();
ED.AutoConfigure = CuteEditor.AutoConfigure.Minimal;
ED.EnableObjectResizing = false;
ED.AllowPasteHtml = true;
ED.AllowEditServerSideCode = true;
int idnum = (int)RequestTypeId * part1 + QID * part2;
ED.SkinID = QID.ToString();
if (Required)
{
ED.ID = RequiredString + Pipe + QuestionBuilder.Rich + Pipe + QID ;
}
else
{
ED.ID =
QuestionBuilder.Rich + Pipe + QuestionBuilder.Rich + Pipe + QID ;
}
ED.EnableViewState =
true;
if (UserResponse != string.Empty)
{
ED.Text = UserResponse;
}
IDNames.Add(ED.ID);
ED.Height =
Unit.Pixel(75);
ED.Width =
Unit.Percentage(100);
tc =
new TableCell();
ED.DisableAutoFormatting =
true;
ED.PrintFullWebPage =
true;
tc.Controls.Add(ED);
currentRow.Cells.Add(tc);
theTable.Rows.Add(currentRow);
break;
********************************************
please help me in solving this issue.