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

Upload and Layout

3 Answers 86 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
hdgreetings.com
Top achievements
Rank 1
hdgreetings.com asked on 18 Jun 2008, 03:19 PM
Hi, I'm evaluating RC for possible use on our site and have this question:

Could the rad upload control be made like the one on this sample page?
    www.hdgreetings.com/personalize.aspx

Specifically the questions are:
    1)  Note the "Add Photo" upload on the sample page has only one button, after the file is chosen the upload automatically begins

    2)  Note the sample page upload does not show any borders and does not show the progress bar until the upload begins

    3)  Note the small size of the progress bar.

Any feedback on how practical these things are would be appreciated.

Regards,
LTG

3 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 18 Jun 2008, 05:09 PM
Hi LTG,

Yes, it is possible to create an application, which would look the same way using RadUpload. However, to achieve the immediate upload, RadUpload should be placed in a page, located in a separate frame/iframe. In addition, some javascript code should be used in order to show the file open dialog. Regarding the small size of the progress bar - RadProgressArea can be customized to fit the need.

I hope this helps.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
hdgreetings.com
Top achievements
Rank 1
answered on 18 Jun 2008, 05:37 PM
I appreciate your fast reply, I'm glad to hear this.

If this is out of scope I understand, but to follow up:

1) how would the separate iframe better enable the autoupload?

2) are you sure it's possible programmatically open the file dialog without a real user click?  i haven't seen this done before in js.

Thank you,
LTG

0
Erjan Gavalji
Telerik team
answered on 19 Jun 2008, 06:36 AM
Hi LTG,

The separate IFrame will help to have the two uploads run parallelly (e.g. select an image and an upload starts, select another image and the other upload starts while the first one is already running).
Actually it is not possible to programmatically open the file open dialog, but the invisible file upload field trick can be used to achieve that.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Upload (Obsolete)
Asked by
hdgreetings.com
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
hdgreetings.com
Top achievements
Rank 1
Share this question
or