I want to diaplay toolbar on the cuteditor when a button will press, and again by clicking another button, i want to hide tool bar. i am doing like as shown below:
But its not working.
Private Sub content_readonly="readonly"()
txtbody.readonly="readonly"= True
txtbody.ShowEnlargeButton = False
txtbody.ShowDecreaseButton =
False
txtbody.ShowToolBar =
False
txtbody.ShowHtmlMode =
False
txtbody.ShowPreviewMode =
False
txtbody.ShowBottomBar =
False
End Sub
--
Private Sub donotview_toolbar()
txtbody.readonly="readonly"="readonly="readonly""=
False
txtbody.ShowEnlargeButton =
True
txtbody.ShowBottomBar =
True
txtbody.ShowDecreaseButton =
True
txtbody.ShowToolBar =
True
txtbody.ShowHtmlMode =
True
txtbody.ShowPreviewMode =
True
txtbody.ShowCodeViewToolBar =
True
End Sub
But the tool bar of editor is not displaying when i write editor1.Showtoolbar="true"
how could i do it?
Thank you
Sanjay