Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed a user control which has an Ajax Toolkit Async File Upload control in it.
When the user control is dropped into a page and the page is run the browser throws an exception:
Microsoft JScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: baseType


In the javascript function: AjaxControlToolkit.AsyncFileUpload.registerClass

I have searched for some kind of solution to this issue to no avail. the issue is to do with placing the Ajax Control in the User Control as I have tested this theory and its reproducable with pretty much all the controls in the Ajax Control Toolkit.

If anyone has come across this and could point me towards a solution I would be grateful.

Regards

Tom
Posted
Updated 18-May-10 2:17am
v2

Tomash wrote:
I have searched for some kind of solution to this issue to no avail.


You haven't search very well then, http://www.google.com/search?rlz=1C1CHFX_enUS373US373&sourceid=chrome&ie=UTF-8&q=Microsoft+JScript+runtime+error:+Sys.ArgumentUndefinedException[^]
 
Share this answer
 
Comments
Tomash 19-May-10 4:04am    
I have already run that search and it has not provided me an answer.
Hi can u please check the loading process of the ajax controls...
it seems the controls are loading before the script manager loads the script....it may not be exact answer...please check once
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900