Posted 13 Feb 2012 Link to this post
Posted 14 Feb 2012 Link to this post
function
createSelect(inputID, inputName) {
var
input =
"<select id='"
+ inputID +
"' name='"
+ inputName +
"'><option value='volvo'>Volvo</option><option value='saab'>Saab</option></select>"
;
return
input;
}
Posted 16 Feb 2012 Link to this post
Posted 17 Feb 2012 Link to this post
Posted 11 Jul 2013 Link to this post
Posted 14 Jul 2013 Link to this post
<script type=
"text/javascript"
>
$ = $telerik.$;
onClientFileUploaded(radAsyncUpload, args) {
$row = $(args.get_row());
inputName = radAsyncUpload.getAdditionalFieldID(
"TextBox"
);
inputName2 = radAsyncUpload.getAdditionalFieldID(
"DropDown"
inputType =
"text"
inputID = inputName;
input = createInput(inputType, inputID, inputName);
label = createLabel(inputID);
dropdown = createSelect(inputName2, inputName2);
$row.append(
"<br/>"
$row.append(label);
$row.append(input);
$row.append(dropdown);
createInput(inputType, inputID, inputName) {
'<input type="'
+ inputType +
'" id="'
'" name="'
'" />'
createLabel(forArrt) {
label =
'<label for='
+ forArrt +
'>File info: </label>'
label;
" <select id='"
"'><option>Select</option><option value='ASP'>ASP</option><option value='JSP'>JSP</option></select>"
</script>