Keep the current session and bind the control

3 posts, 0 answers
  1. Egemen
    Egemen avatar
    34 posts
    Member since:
    Apr 2012

    Posted 03 Jul 2013 Link to this post


    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) ?

  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 08 Jul 2013 Link to this post

    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.

    Tina Stancheva
    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 >>
  3. Egemen
    Egemen avatar
    34 posts
    Member since:
    Apr 2012

    Posted 09 Jul 2013 Link to this post

    Thank you very much for your response. I have resolved my problem...
Back to Top