: Object reference not set to an instance of an object.

at WebCtrlLib.CategoryGridMORPHYRICHARDS.CreateExtendedFilter() at WebCtrlLib.CategoryGridMORPHYRICHARDS.bnFavorites_Click(Object sender, EventArgs e) at WebCtrlLib.CategoryGridMORPHYRICHARDS.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at WebCtrlLib.TemplateCtrl.OnInit(EventArgs e)