Hi
in the click event for the okButton (‘SubmitRenameFolder’ below) I am doing doing an ajax post to the server.
If the value entered in the window is invalid the server will send a response code back. I would like the click event handler for the okButton to check for this code, and cancel the closing of the window in this case.
How can I do this?
Best regards
Peter
$(“#RenameFolderWindow”).jqxWindow({
showCollapseButton: false, okButton: $(‘#SubmitRenameFolder’), cancelButton: $(‘#CancelRenameFolder’), height: 105, width: 250, resizable: false, animationType: ‘fade’, theme: theme, isModal: true, autoOpen: false
});