Re: Save instance?

  •  02-24-2004, 4:41 AM

    Re: Save instance?

    Ohh well Adam i was a little to fast there again.

    When i click the save button in cute editor.

    Which event is raised?

    you wrote:

     

    private void UpdateBtn_Click(Object sender, EventArgs e) {

           // Create an instance of the HtmlTextDB component

           Portal.HtmlTextDB text = new Portal.HtmlTextDB();

         
           // Update the text within the HtmlText table

           text.UpdateHtmlText(moduleId, Server.HtmlEncode(Editor1.Text));

    }

     

    and i want to know what i should write instead of the highlighted text, when i use the save button build in the cute editor.

     

    Thx i advance

View Complete Thread