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

upload postback Problem... Do you have any ideas?

0 Answers 61 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
dongchul
Top achievements
Rank 1
dongchul asked on 16 Aug 2011, 07:41 AM

1. Attach files  as pcs no.1 on attach flle.
2. create file upload control  as pcs no.2 on attach flle.
3. above attach files nothing becuae of postback
It's my big problem...
Do you have a ideas that how to reload files on upload like text and date?

my code is below..
Please help me...
thanks.

case 3:
RadUpload upload = (RadUpload)table.Rows[i].Cells[j].FindControl("RaduplodeAttach_" + i + j);
string serverfileName = string.Empty;
int fileCount = upload.UploadedFiles.Count;
RadUploadContext upcontext = RadUploadContext.Current;
//upcontext.UploadedFiles = upload.UploadedFiles;

if (fileCount>0)
{
    upload.EnableViewState = false;
    for (int k = 0; k < fileCount; k++)
    {
        FileInfo fInfo = new FileInfo(upload.UploadedFiles[k].FileName);
        //?????????       
   }   
}
break;

No answers yet. Maybe you can help?

Tags
Upload (Obsolete)
Asked by
dongchul
Top achievements
Rank 1
Share this question
or