Hello,
i'm using telerik radupload control along with radprogess manager.
i have added extra field to file upload control using onClientAdded="addTitle" method.
i have declared one dropdown box in addtitle method.
my dropdown box requires to fetch values from code - behind.
so i have written following method to get the array in client side.
Page.ClientScript.RegisterArrayDeclaration("Type", "'1','2','3'");
when i'm trying to access alert(Type.length); it generates javascript error.
my FileUpload page is derived from master page. my master page contains the script manager.
so i tried below
ScriptManager.RegisterArrayDeclaration(this,"Type", "'1','2','3'");
but this is also not working.
when i debugged the code i got error at folowing place
if (expectedType && !expectedType.isInstanceOfType(param))
where expectedType is an array which we declared.
param is : Telerik.Web.UI.RadFormDecorator.
i have removed FormDecorator from Master page but it does not solved the issue. next time it gives error for radprogessbar.
Please suggest some solution.
thanks
Sweta