Welcome Guest Search | Active Topics | Members

ImageUploader loses chosen files during PostBack Options
Richard O'Neil
Posted: Friday, June 02, 2006 11:38:08 AM
Rank: Member
Groups: Member

Joined: 6/2/2006
Posts: 4
Points: 0
Hi

I am currently reviewing your component for possible use as a replacement for our current upload component. I was wondering if there is a way to have the component keep the files that are chosen (keep them checked), if another control on the page causes a PostBack (say a SelectedIndexChange on a DropDownList).

Thanks for any guidance or suggestions.

- Richard
Fedor
Posted: Friday, June 02, 2006 8:25:16 PM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,254
Points: -345
Location: WA, US
Hello Richard,

Quote:
I am currently reviewing your component for possible use as a replacement for our current upload component. I was wondering if there is a way to have the component keep the files that are chosen (keep them checked), if another control on the page causes a PostBack (say a SelectedIndexChange on a DropDownList).


First of all I should clear that Image Uploader is an ActiveX control, and for example DropDownList is an ASP.NET server control. Support of page state is feature of ASP.NET controls only.

Image Uploader can not keep the files that are chosen after page reloading due security reasons. I see several workarounds in this case:

1. You can try to avoid the entire page reloading on DropDownList SelectedIndexChange event using some AJAX techniques.
2. You can contact us at sales@aurigma.com to order the custom version of Image Uploader, which will keep the files that are chosen, but will be hard way bound to your domain name.

I also want to add that you should specify in Image Uploader Action property the other page than hosts the control. Otherwise you will receive the problem with viewstate corruption.

View post

========================================================
02/19/2008, Fedor
Additional info

In recent versions of Image Uploader we have added support of restoring upload pane content.
========================================================



Best regards,
Fedor Skvortsov
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.