I've try to replicate the following example:
http://demos.telerik.com/aspnet-ajax/upload/examples/async/additionalfields/defaultvb.aspx?product=asyncupload
but when I click on the select button and after choose a file I've a javascript error.
I have the same identical page. Only difference is the name of the file and I remove the "qsf" tag
"args.get_row is not a function"
The problem seems to be in the following
in particular, it seems that the objects radAsyncUpload, args have no function inside
How to solve this problem?
Thanks
http://demos.telerik.com/aspnet-ajax/upload/examples/async/additionalfields/defaultvb.aspx?product=asyncupload
but when I click on the select button and after choose a file I've a javascript error.
I have the same identical page. Only difference is the name of the file and I remove the "qsf" tag
"args.get_row is not a function"
The problem seems to be in the following
<script type=
"text/javascript"
>
var
$ = $telerik.$;
function
onClientFileUploaded(radAsyncUpload, args) {
var
$row = $(args.get_row());
var
inputName = radAsyncUpload.getAdditionalFieldID(
"TextBox"
);
var
inputType =
"text"
;
var
inputID = inputName;
var
input = createInput(inputType, inputID, inputName);
var
label = createLabel(inputID);
$row.append(
"<br/>"
)
$row.append(label);
$row.append(input);
}
function
createInput(inputType, inputID, inputName) {
var
input =
'<input type="'
+ inputType +
'" id="'
+ inputID +
'" name="'
+ inputName +
'" />'
;
return
input;
}
function
createLabel(forArrt) {
var
label =
'<label for='
+ forArrt +
'>File info: </label>'
;
return
label;
}
</script>
How to solve this problem?
Thanks