[Mono-list] Implementing interface...

Gaurav Vaish gvaish@iitk.ac.in
Sun, 2 Dec 2001 22:53:08 +0530


Hello,
    The class CheckBoxList (UI.WebControls namespace) implements IRepeatInfoUser, INamingContainer and IPostBackDataHandler.
    When I stripped the class as provided by MS in System.Web assembly, I could not get any definition of the methods that are
supposed to be implemented, so I concluded that they are private (did not get them even by inheritence).
    But now the compiler gives the error given at the end.

    How do I overcome this?


Cheers,
Gaurav Vaish
----------------------------


--------------------------------------------
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList' does not implement interface member
'System.Web.UI.WebControls.IRepeatInfoUser.GetItemStyle(System.Web.UI.WebControls.ListItemType, int)'.
'System.Web.UI.WebControls.CheckBoxList.GetItemStyle(System.Web.UI.WebControls.ListItemType, int)' is either static, not public, or
has the wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol related to previous error)

-----------------------------------------------------
CheckBoxList.cs(184,17): (Location of symbol related to previous error)
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList'
        does not implement interface member
        'System.Web.UI.WebControls.IRepeatInfoUser.RenderItem(System.Web.UI.WebC
        ontrols.ListItemType, int, System.Web.UI.WebControls.RepeatInfo,
        System.Web.UI.HtmlTextWriter)'.
        'System.Web.UI.WebControls.CheckBoxList.RenderItem(System.Web.UI.WebCont
        rols.ListItemType, int, System.Web.UI.WebControls.RepeatInfo,
        System.Web.UI.HtmlTextWriter)' is either static, not public, or has the
        wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol
        related to previous error)
CheckBoxList.cs(189,16): (Location of symbol related to previous error)
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList'
        does not implement interface member
        'System.Web.UI.WebControls.IRepeatInfoUser.HasHeader'.
        'System.Web.UI.WebControls.CheckBoxList.HasHeader' is either static, not
        public, or has the wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol
        related to previous error)
CheckBoxList.cs(159,16): (Location of symbol related to previous error)
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList'
        does not implement interface member
        'System.Web.UI.WebControls.IRepeatInfoUser.HasFooter'.
        'System.Web.UI.WebControls.CheckBoxList.HasFooter' is either static, not
        public, or has the wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol
        related to previous error)
CheckBoxList.cs(151,16): (Location of symbol related to previous error)
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList'
        does not implement interface member
        'System.Web.UI.WebControls.IRepeatInfoUser.HasSeparators'.
        'System.Web.UI.WebControls.CheckBoxList.HasSeparators' is either static,
        not public, or has the wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol
        related to previous error)
CheckBoxList.cs(167,16): (Location of symbol related to previous error)
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList'
        does not implement interface member
        'System.Web.UI.WebControls.IRepeatInfoUser.RepeatedItemCount'.
        'System.Web.UI.WebControls.CheckBoxList.RepeatedItemCount' is either
        static, not public, or has the wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol
        related to previous error)
CheckBoxList.cs(175,15): (Location of symbol related to previous error)
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList'
        does not implement interface member
        'System.Web.UI.IPostBackDataHandler.LoadPostData(string,
        System.Collections.Specialized.NameValueCollection)'.
        'System.Web.UI.WebControls.CheckBoxList.LoadPostData(string,
        System.Collections.Specialized.NameValueCollection)' is either static,
        not public, or has the wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol
        related to previous error)
CheckBoxList.cs(141,16): (Location of symbol related to previous error)
CheckBoxList.cs(22,15): error CS0536: 'System.Web.UI.WebControls.CheckBoxList'
        does not implement interface member
        'System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent()'.
        'System.Web.UI.WebControls.CheckBoxList.RaisePostDataChangedEvent()' is
        either static, not public, or has the wrong return type.
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\System.Web.dll: (Location of symbol
        related to previous error)
CheckBoxList.cs(146,16): (Location of symbol related to previous error)


--------------------------------------------