O
owais
Hi,
I have a problem, I want to implements Parent class interface methods in child class. for e.g
-------------- Test1.vb ----------------
Imports System
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Globalization
Public Class Test1
Inherits RadioButton
Implements IPostBackDataHandler
Public Function LoadPostData(ByVal postDataKey As String, ByVal postCollection As System.Collections.Specialized.NameValueCollection) As Boolean Implements System.Web.UI.IPostBackDataHandler.LoadPostData
End Function
Public Sub RaisePostDataChangedEvent() Implements System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent
End Sub
End Class
-------------------------------------------------
when i compiling this class it gives me error
" Interface 'System.Web.UI.IPostBackDataHandler' is already implemented by base class 'System.Web.UI.WebControls.RadioButton'."
Please help me in this regard
Thanks
Owais
I have a problem, I want to implements Parent class interface methods in child class. for e.g
-------------- Test1.vb ----------------
Imports System
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Globalization
Public Class Test1
Inherits RadioButton
Implements IPostBackDataHandler
Public Function LoadPostData(ByVal postDataKey As String, ByVal postCollection As System.Collections.Specialized.NameValueCollection) As Boolean Implements System.Web.UI.IPostBackDataHandler.LoadPostData
End Function
Public Sub RaisePostDataChangedEvent() Implements System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent
End Sub
End Class
-------------------------------------------------
when i compiling this class it gives me error
" Interface 'System.Web.UI.IPostBackDataHandler' is already implemented by base class 'System.Web.UI.WebControls.RadioButton'."
Please help me in this regard
Thanks
Owais