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

RadUpload in grid shows 0 uploadedfiles

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Viktor
Top achievements
Rank 1
Viktor asked on 14 Sep 2010, 08:23 AM
Hello, I'm following the sample on the demo page:

Dim uploader As RadUpload = e.Item.FindControl("RadUpload1")
         Dim imageFile As UploadedFile = Nothing
         If uploader.UploadedFiles.Count > 0 Then
            imageFile = uploader.UploadedFiles(0)
         End If


In my radgrid i have an edittemplate with radupload in it. Everything shows up fine, i browse, select file, and click insert, this kicks off the event where the above snippet sits in. but the uploader shows 0 files all the time. I found a mention of something like "enableajax="off", but i don't see that as one of the options in this release. What am I missing?

Thanks,
Viktor.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 14 Sep 2010, 10:33 AM
Hello Viktor,

Please take a look at the following forum link which also expains the similar kind of scenario.
UploadedFiles.Count returns 0

Hope this helps,
Princy.
Tags
Grid
Asked by
Viktor
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or