Hello,
I have the editor embedded in a gridview and it works great.
I just want to preview the live content before I submit it to the database.
The editor doesn't use the javascript in the preview mode. Below is some code that I want to use to show the content of the editor in a label box that is not embedded in the gridview.
Protected Sub btnupdatepreview_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnupdatepreview.Click
Dim txt1 As CuteEditor.Editor = GridView1.FindControl("txtmenu")
lblpreview.Text = txt1.Text
End Sub
Is this the correct way of doing it ?