labelnoresults not declared

Thread is closed for posting
2 posts, 0 answers
  1. Brian Morris
    Brian Morris avatar
    1 posts
    Member since:
    May 2010

    Posted 26 Sep 2011 Link to this post

    Following the rad upload example I can not get the bind results section to work for me.
    Everything else is working fine, I can upload files.  As soon as I add the progress bar it crashes.

    Private Sub BindResults()
            If Radupload1.UploadedFiles.Count > 0 Then
                labelNoResults.Visible = False
                reportResults.Visible = True
                reportResults.DataSource = Radupload1.UploadedFiles
                labelNoResults.Visible = True
                reportResults.Visible = False
            End If
        End Sub

    Compiler Error Message: 
    BC30451: Name 'labelNoResults' is not declared.

    Source Error:

    Line 20:     Private Sub BindResults()
    Line 21:         If Radupload1.UploadedFiles.Count > 0 Then
    Line 22:             labelNoResults.Visible = False
    Line 23:             reportResults.Visible = True
    Line 24:             reportResults.DataSource = Radupload1.UploadedFiles
  2. Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 29 Sep 2011 Link to this post

    Hi Brian,

    Please clarify which version of the controls you are using?  I've tried to reproduce the experienced issue, but to no avail. Have you copied the full code from the demo or you have some custom modifications to it.

    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. DevCraft R3 2016 release webinar banner
Back to Top