Hi all,

Can anyone tell me what's wrong with this snippet.

I'm trying to override a server control that inherits from LiteralControl and 
am getting the following error.

'CEO.SharePoint.Controls.ShowNEALSlogo.Page_Load(object, System.EventArgs)': no 
suitable method found to override

using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint;

namespace CEO.SharePoint.Controls
{
    public class ShowNEALSlogo : LiteralControl
    {
        public override void Page_Load(object sender, System.EventArgs e)
        {
            if ((SPContext.Current.ListItem["NEALS"] as Boolean) == True)

Kind regards,

Paul Noone

---------------------------------------------------
Online Developer
Information Communication and Technology
Catholic Ecuation Office, Sydney
p: (02) 9568 8461
f: (02) 9568 8483
e: [email protected]<mailto:[email protected]>
w: http://www.ceosyd.catholic.edu.au/

_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to