Preview Mode

Last post 06-15-2007, 12:52 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  06-15-2007, 11:43 AM 30789

    Preview Mode

    I have a page with an editor on it, works great, user can enter in notes, etc.
     
    I have another page, where someone can only read the notes entered on the 1st page.  I want this editor to only appear in Preview Mode.
     
    How can I set the mode to Preview Mode?  I've tried using SetActiveTab & _set_Active_tab and neither are working.  Not sure if the script can'd find these functions or I'm not passing them the correct arguments.
     
    Thanks for the help.
     
     
     
    Filed under:
  •  06-15-2007, 12:52 PM 30794 in reply to 30789

    Re: Preview Mode

    Editor.ActiveTab Property

    Sets which Tab is active (Edit/Code/View).


    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'Sets which Tab is active
               editor.ActiveTab = "Code"
               editor.Text = "Hello World"
               editor.Draw()
          %>

    Members

    Member Name Description
    Edit The view in which you do most of your work
    Code Code view lets you manually edit your HTML code
    View Approximates how your page will display in the Internet Explorer browser.

     


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML