This is a migrated thread and some comments may be shown as answers.

Upload single file when selected?

1 Answer 51 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Mojo
Top achievements
Rank 1
Mojo asked on 21 Jul 2009, 01:00 PM
Hi,

My upload control is located inside of an AjaxPanel, so I use the ConditionalPostback method.

When the user selects a file, I want it to immediately upload - how do I do this?

I presume I must use the OnClientFileSelected call, but I dunno where to go from here.

Thanks!
Morten

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 22 Jul 2009, 08:14 AM
Hello Mojo,

You should start a postback OnClientFileSelected. You can try manually calling __doPostBack() or document.forms[0].submit();

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload (Obsolete)
Asked by
Mojo
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or