Last post Aug 23, 2010 03:10 PM by cubangt
Aug 23, 2010 02:23 PM|ufazal|LINK
hi.. please help me on this
i have a control to upload multiple files on server. now i want to set the control's "upload folder" property with a dynamic value which is different for each user..
<cc1:FileUploader ID="FileUploader1" runat="server">
<cc1:FileSaverAdapter FolderName= "FOLDERNAME" />
here i want this 'FolderName' value to be replaced with some label value. how can i do this ?
Thanks in advance .. :)
control property value
Aug 23, 2010 03:10 PM|cubangt|LINK
Can you post more of your page code? If you have the label value already available on the page, you can use that in your code behind prior to uploading the file. When is the Label value set? If the label is set already when the page is presented to the user,
You could do something like this in your upload button event.
string lblVal = Label1.Text;
FileUploader1.FolderName = lblVal;
Syntax may be wrong, but if you could post your page code and current code behind, someone may be able to give you exactly what you are looking for.