Display: Cloud | List
Most Popular Tags
Results (1 total) All > vb (x) > asp.net2.0 (x)
add WithEvents to your declaration (Handles clause requires a WithEvents variable defined in the containing type or one of its base types)
For example this method gives me the BC30506 error above: Protected Sub PreviousButton_Click1(ByVal sender As Object, ByVal e As System.EventArgs) Handles PreviousButton.Click' do stuff hereEnd Sub So the variable in my base class had to be declared using WithEvents: Protected WithEvents PreviousButton As LinkButton
Last modified by fattoo on 11/21/2010 10:00:20 PM
Tags:  asp.net  asp.net2.0  vb  vb.net
Page view tracker