Editor .Text property doesn't change after being set in Page_Load

  •  10-01-2010, 2:55 AM

    Editor .Text property doesn't change after being set in Page_Load

    I am attempting to load some HTML into cuteeditor on Page_Load, by setting Editor1.Text = <HTML>
    What I'm finding is that when the save button is clicked, regardless of what the editor content has been changed to, Editor1.Text is the same as what it was set to in Page_Load.
    In the PostBackCommand event, ((<Appropriate cast>)sender).Text is the same; and in both cases .XHTML is having the same problem.
     
    If I don't set Editor1.Text in Page_Load, this problem doesn't occur and changes made with the editor are apparent in Editor1.Text.
     
    Can anyone tell me what is going wrong, and what is the correct way to load the editor with some specified content?
    Filed under:
View Complete Thread