Rendering Problem

Last post 05-23-2008, 12:55 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  05-23-2008, 12:18 PM 40720

    Rendering Problem

    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.
     
  •  05-23-2008, 12:55 PM 40722 in reply to 40720

    Re: Rendering Problem

    vamsi komarneni,
     
    Which version of Cute Editor are you using? Can you try the version 6.1?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML