Rank: Newbie Groups: Member
Joined: 2/28/2008 Posts: 4
|
Hi,
Is there anyway of setting the FinalFileLocation in code, i.e. it would be good if it could be set in the web.config using:
AJAXUploader.FinalFileLocation = System.Configuration.ConfigurationManager.AppSettings("UploadFinalPath").ToLower()
Its not very helpfull having to set at design time, as automated deployment will not allow for code changes.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi,
I believe you can set it that way, you can set it in your Page_Load. You might have seen our previous reply to another user noting that it should only be set at design time. That is not precisely correct. The reason that we stated that is because the other user was setting it multiple times inside a loop, which does not make sense.
Please feel free to let us know if you have any more questions.
Thanks
|