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

labelnoresults not declared

1 Answer 53 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Brian Morris
Top achievements
Rank 1
Brian Morris asked on 26 Sep 2011, 09:50 PM
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
            reportResults.DataBind()
        Else
            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

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 29 Sep 2011, 03:30 PM
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.

Greetings,
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
Tags
Upload (Obsolete)
Asked by
Brian Morris
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or