Re: Using ExecCommand with custom commands

  •  02-23-2007, 4:58 AM

    Re: Using ExecCommand with custom commands

    I found ExecCommand("PostBack") in the forums (not in the docs as far as I could see). This allows me to assume that if the command is "undefined" it is a javascript initiated "SaveAndExit".
     
    HOWEVER, it would be neat if there was a more elegant solution, ie. allowing our own defined commands to be called using ExecCommand, or to set command name as follows:-
     
    ExecCommand("SaveAndExit");
    ExecCommand("Postback", "SaveAndExit");
     
    Can this be done?
     
    Regards
    Colin
View Complete Thread