- On client closing the Upload documents RadWindow function onClientClose(sender, eventArgs) CloseRadWindow('ctl00 ContentPlaceHolder1 lblBadFiles', 'ctl00 ContentPlaceHolder1 lblTempFiles', 'ctl00 ContentPlaceHolder1 DivBadFiles', 'ctl00 ContentPlaceHolder1 HDMandatoryCV', 'ctl00 ContentPlaceHolder1 btnSave', 'ctl00 ContentPlaceHolder1 ValidationSummary1', 'ctl00 ContentPlaceHolder1 btnUpload', 'ctl00 ContentPlaceHolder1 DivTempFiles');
- function validationFailed(sender, eventArgs) / / If validation fails UploadedFileFailed('ctl00 ContentPlaceHolder1 RadWindow1 C lblError', 'ctl00 ContentPlaceHolder1 RadWindow1 C lblNoFile', sender, eventArgs);
- function FileUploadFailed(sender, eventArgs) / / If file is too big UploadedFileError('ctl00 ContentPlaceHolder1 RadWindow1 C lblError', 'ctl00 ContentPlaceHolder1 RadWindow1 C lblNoFile', sender, eventArgs);
- function Clear(sender, eventArgs) / / If client removes uploaded file ClientDelUploadedFile('ctl00 ContentPlaceHolder1 RadWindow1 C lblError', 'ctl00 ContentPlaceHolder1 RadWindow1 C lblNoFile', 'ctl00 ContentPlaceHolder1 RadWindow1 C DocPanel', 'ctl00 ContentPlaceHolder1 lblTempFiles', 'ctl00 ContentPlaceHolder1 DivTempFiles', sender, eventArgs);
- function Uploaded(sender, eventArgs) / / Valid Uploaded Documents ValidUploadedFiles('ctl00 ContentPlaceHolder1 RadWindow1 C lblNoFile', 'ctl00 ContentPlaceHolder1 RadWindow1 C DocPanel', sender, eventArgs);
- call after page loaded $(document).ready(function AfterPageLoad() PageLoaded('ctl00 ContentPlaceHolder1 ValidationSummary1', 'ctl00 ContentPlaceHolder1 btnSave', 'ctl00 ContentPlaceHolder1 HDSubmit', 'ctl00 ContentPlaceHolder1 RadWindow1 C DocPanel');
1 ##LOC OK ## 1 function RadWindowprompt detectenter(id, ev, input) if (!ev) ev window.event; if (ev.keyCode 13) var but input.
parentNode.parentNode.getElementsByTagName("A") 0 ; if (but) if (but.click) but.click(); else if (but.onclick) but.focus();
var click but.onclick; but.onclick null; if (click) click.call(but); return false; else return true; ##LOC OK ## ##LOC Cancel ## 1 ##LOC OK ## ##LOC Cancel ##
30+ days ago