Hi Team ,
I have extracted vb.net code from published bin folder where i am getting error at below line. as
Me._btnNextStatus.remove_Click(NewEventHandler(_showthumbsQC, _showthumbsQC.btnNextStatus_Click))
remove_Click' is not a member of 'System.Web.UI.WebControls.Button
MyBase.New() Dim _showthumbsQC As showthumbsQC = Me MyBase.add_Init(New EventHandler(_showthumbsQC, _showthumbsQC.Page_Init))
for above line i am getting below error.
add_Init' is not a member of 'System.Web.UI.Page
Protected Overridable Property btnNextStatus As Button
Get
Return Me._btnNextStatus
End Get
<MethodImpl()>
Set(ByVal value As Button)
If (Me._btnNextStatus IsNot Nothing) Then
Dim _showthumbsQC As showthumbsQC = Me
Me._btnNextStatus.remove_Click(New EventHandler(_showthumbsQC, _showthumbsQC.btnNextStatus_Click))
End If
Me._btnNextStatus = value
If (Me._btnNextStatus IsNot Nothing) Then
Dim _showthumbsQC1 As showthumbsQC = Me
Me._btnNextStatus.add_Click(New EventHandler(_showthumbsQC1, _showthumbsQC1.btnNextStatus_Click))
AddHandler Me._btnNextStatus.Click, AddressOf Me._btnNextStatus
End If
End Set
End Property
Please help me on this.
<AccessedThroughProperty("btnNextStatus")>
Private _btnNextStatus As Button