Master Pages and RadUpload Bug?

Thread is closed for posting
2 posts, 0 answers
  1. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 09 Jan 2010 Link to this post

    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
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1600 posts

    Posted 11 Jan 2010 Link to this post

    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.
Back to Top