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

Master Pages and RadUpload Bug?

1 Answer 42 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 09 Jan 2010, 01:37 PM
After spending too much time on trying to figure out why my upload was not working I finally discovered something rather surprising.
Turns out that if you have the following single line of code in your master page. RadUploads will not work.

Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init  
   Me.ID = "Master" 
End Sub  
 

For some unknown reason naming the master page causes everthing to fall apart. Comment out that one line and everthing works.

I don't know if this is telerik bug or microsoft.
It sure is odd.
Thanks ... Ed

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 11 Jan 2010, 07:35 AM
Hi Ed Staffin,

This problem is listed in the RadUpload troubleshooting section that can be found here. The solution is to use the RadUploadContext.Current.UploadedFiles  collection to access the uploaded files.

All the best,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Upload (Obsolete)
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or