By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,137 Members | 1,575 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,137 IT Pros & Developers. It's quick & easy.

Microsoft Javascript runtime error:Object Expected error while uploading image files

P: 3
i am uploading image files on serverside using asyncfileuplaod control(ajax control)but it is giving above error plz give me code for uplaoding image using asynfileuplaod
Aug 2 '12 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,731
I've never used the AsyncFileUpload control before but I have seen this error. This error occurs when you are trying to execute a JavaScript function that does not exist.

So, make sure that your JavaScript resources are available at the time you are attempting to use it.

If you are using UpdatePanels, make sure to register the JavaScript resource properly through the ScriptManager so that the JavaScript is still available after asynchronous postback to the server.

Aug 2 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.