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

  •  11-15-2009, 9:46 PM

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

    I changed:
    u.OnFileUploaded += new UploaderEventHandler(Uploader_FileUploaded)
     
    To:
    u.FileUploaded += new UploaderEventHandler(Uploader_FileUploaded)
     
    Got new error:
    'Public Event FileUploaded(sender As Object, args As CuteWebUI.UploaderEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
View Complete Thread