Re: Error: 'CuteWebUI.UploaderBase.Protected Overridable Sub OnFileUploaded(args As CuteWebUI.UploaderEventArgs)' is not accessible in this context because it is 'Protected'.

  •  11-16-2009, 5:14 AM

    Re: Error: 'CuteWebUI.UploaderBase.Protected Overridable Sub OnFileUploaded(args As CuteWebUI.UploaderEventArgs)' is not accessible in this context because it is 'Protected'.

    Got it working (didn't need the OnInit stuff) -- thanks.  Code:
     
    Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
     Dim u As New CuteWebUI.Uploader
     AddHandler u.FileUploaded, AddressOf uploader_FileUploaded 
     MainFormPlaceHolder.Controls.Add(u)
    End Sub
View Complete Thread