Re: Text property does not work

  •  02-02-2007, 6:38 AM

    Re: Text property does not work

    Hello

     

    I managed to overcome the problem... i was putting my cuteEditor outside the form tag
     
    now it works...
     
    however i do have another question... i made a new toolbar button that is suppose to send the html to a database
    but i can't define commandName to trap it on postback
    here's my code:
     
    ctrl = CuteEditor.CreateCommandButton("Send", "send.gif", "Send Message")
    ctrl.Attributes("onclick") = "CuteEditor_GetEditor(this).ExecCommand('PostBack')"
    int_pos = CuteEditor.ToolControls.IndexOf("Print")
    CuteEditor.InsertToolControl(int_pos, "Send", ctrl)
     
    the button works well but in my cuteEditor_PostBackCommand I cannot accessed commandName... it always comes "undefined"
     
    how can i make commandName="Send"??
     
    (great product so far)
     
    regards
     
     
    Jorge
View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems