Re: CuteEditor webpage integration

  •  01-11-2010, 4:10 AM

    Re: CuteEditor webpage integration

    Hi Sternzy ,
     
    Question 1
     
    Text of editor does not have a separate ID, you need to create the id yourself.
     
    Maybe like this
     
     Guid postID = Guid.NewGuid();
     int ID = postID ;
     
    Question 2
     
    If you want to save the data as a new page. Try this way
     
    1. Save the text of editor into database
     
    just need to save as a string(editor1.Text)
     
    2. When you want to load the data from database and save as a page. Using editor to achieve
     
    editor1.Text=GetDataFromDataBase();
    editor1.SaveFile("~/page.htm");
     
    Regards,
     
    Ken
View Complete Thread