Hello guys.
I saw some post about radupload validation in grid, but is server-side. I'm trying to use this tip:
http://www.telerik.com/help/aspnet-ajax/upload_raduploadclientsidevalidation.html
but, when I put in my code the javascript:
I got an error:
The name 'MyUploadControl' does not exist in the current context
Note:
The RadUpload is inside a grid;
The page is inside a masterpage;
I have tried with the complete name of control, like: ContentPlaceHolder1_RadGrid1_ctl00_ctl05_MyUploadControl
but I got the same error.
What's the best way to use this kind of validation?
Best regards.
[[|]]'s
I saw some post about radupload validation in grid, but is server-side. I'm trying to use this tip:
http://www.telerik.com/help/aspnet-ajax/upload_raduploadclientsidevalidation.html
but, when I put in my code the javascript:
<script type="text/javascript"> |
function validateRadUpload1(source, arguments) |
{ |
arguments.IsValid = $find("<%= MyUploadControl.ClientID %>").validateExtensions(); |
} |
</script > |
I got an error:
The name 'MyUploadControl' does not exist in the current context
Note:
The RadUpload is inside a grid;
The page is inside a masterpage;
I have tried with the complete name of control, like: ContentPlaceHolder1_RadGrid1_ctl00_ctl05_MyUploadControl
but I got the same error.
What's the best way to use this kind of validation?
Best regards.
[[|]]'s