How to set the default value of a textbox so it is blank everytime?

Last post 07-18-2007, 3:29 PM by erjjones. 2 replies.
Sort Posts: Previous Next
  •  07-18-2007, 11:28 AM 31663

    How to set the default value of a textbox so it is blank everytime?

    Support @ CuteSoft,
     
    How to set the default value of a textbox so it is blank everytime?
     
    Thanks,
    Eric
  •  07-18-2007, 1:33 PM 31674 in reply to 31663

    Re: How to set the default value of a textbox so it is blank everytime?

    Eric,
     
    Please use the following property to set default value:
     

    Editor.Text Property

    This property provides access to the text within the editable area of the CuteEditor control. It can be used to set the text when the control is first displayed and also to read out the text when a form has been submitted.


    Example Code

          <%
               Dim editor
               Set editor = New CuteEditor
               editor.ID = "Editor1"
               'This property provides access to the text within the editable area of the CuteEditor control
               editor.Text = "Hello World"
               editor.Draw()
          %>

     
     

    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

  •  07-18-2007, 3:29 PM 31676 in reply to 31674

    Re: How to set the default value of a textbox so it is blank everytime?

    Cute Support,
     
    Actually, I was referring to when a user selects to place a "textbox form input" it places text (ie. textbox1) as the text boxes value.  How to you set cuteeditor so that when a user selects to place a textbox on their editor it doesn't initially set a value for the textbox?  I don't mind if it sets the textbox name and id to "textbox1, or textbox2, etc." I just don't want a value defaulted.  How would you edit the cute editor code to do this?
     
    Thanks,
    Eric
View as RSS news feed in XML