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

Keep the current session and bind the control

2 Answers 34 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Egemen
Top achievements
Rank 1
Egemen asked on 03 Jul 2013, 03:16 PM
Hi,

My application has got several pages. In the first page the user select his photos from existent albums and he can also upload new photos.
After this, he can continue to design an album and save it. I'd like to keep upload session. For example , when user starts to upload new photos , he can change the page for designing his album. But he cannot save it until all selected images uploaded. I use raduploadcontrol in the first page, i want to use the same control in the second page for showing the state of upload. How can i do this? Can i bind the currentSession  for the second page(second raduploadcontrol) ?

Regards

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 08 Jul 2013, 03:13 PM
Hello Egemen,

You can't display the same session within two different RadUploads at the same time. You can take the files that are currently being uploaded from the first RadUpload, find which ones are already uploaded and include the others into a new RadUpload but this would only allow you to start a new session which will finally lead to uploading the same files twice. You can stop the upload in the first RadUpload and try to re-upload all not uploaded files through a second RadUpload on the second page, but I wouldn't recommend such an approach. Instead I believe it would be better to reconsider the design of your pages in order to move the RadUpload out of the pages and display it outside them. My idea is to have a single RadUpload to upload images and to make that RadUpload control visible all the time while still allowing your users to move through the other pages.

Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Egemen
Top achievements
Rank 1
answered on 09 Jul 2013, 08:59 AM
Thank you very much for your response. I have resolved my problem...
Tags
Upload
Asked by
Egemen
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Egemen
Top achievements
Rank 1
Share this question
or