Re: how to disable the bottons

  •  08-26-2005, 11:05 PM

    Re: how to disable the bottons

     
    coding
    Editor.DisableItemList string. Example DisableItemList="Save, Bold, Delete"

    like in my application
    --------------

      <script runat="server">
     Public Sub Page_Load(sender As object, e As System.EventArgs)
     
      If Page.IsPostBack Then
       Literal1.Text = "<h3>The HTML you typed is...</h3><br>"
       Literal1.Text += Server.HtmlEncode(Editor1.Text)
        Editor1.DisableItemList = "Insert Flash,Insert Media,Insert Table"
          Editor1.Setting("security:ImageGalleryPath") = "/uploads"
      Else
       Editor1.Text = "Type Here"
      
      End If
      
     End Sub

     public Sub Submit(sender As object, e As System.EventArgs)
      Literal1.Text = "<h2>The HTML you typed is...</h2><br>"
      Literal1.Text += Server.HtmlEncode(Editor1.Text)
     End Sub
      </script>


    ------------------
     
     
    but it was not working as i expected.
    i want to be disable some buttons when i run cuteeditor (default.aspx) page
    for that u have some idea
    plz help
     
View Complete Thread