[Mono-dev] ASP.NET 2.0 databinding to a DropDwonList not implemented

Joe Audette joe_audette at yahoo.com
Mon Dec 26 11:11:35 EST 2005


Hi All,

I'm having some success with mojoportal built in VS 2005 and running on mono using 2.0
http://demo2.mojoportal.com

But I'm getting some errors in places where I'm databinding to a DropDownList

using code like this:

IDataReader reader = SiteSettings.GetSiteList();
this.ddSiteList.DataSource = reader;
this.ddSiteList.DataBind();

I get this error:

System.NotImplementedException: The requested feature is not implemented.
in <0x0001d> System.Web.UI.WebControls.ListControl:PerformSelect ()
in <0x0001b> System.Web.UI.WebControls.BaseDataBoundControl:DataBind ()
in <0x000e4> mojoPortal.Web.SiteSettingsControl:PopulateControls ()
in <0x003c0> mojoPortal.Web.SiteSettingsControl:Page_Load (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00117> System.Web.UI.Control:OnLoad (System.EventArgs e)
in <0x00112> System.Web.UI.Control:LoadRecursive ()
in <0x00161> System.Web.UI.Control:LoadRecursive ()
in <0x00161> System.Web.UI.Control:LoadRecursive ()
in <0x00161> System.Web.UI.Control:LoadRecursive ()
in <0x00161> System.Web.UI.Control:LoadRecursive ()
in <0x00161> System.Web.UI.Control:LoadRecursive ()
in <0x001c4> System.Web.UI.Page:InternalProcessRequest ()
in <0x000aa> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)

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

The problem seems to be coming from
mcs\class\System.Web\System.Web.UI.WebControls.ListControl.cs

[MonoTODO]
        protected override void PerformSelect ()
        {
            throw new NotImplementedException ();
        }
 
 
I'd be glad to try and pitch in and implement something here if I knew what its supposed to do. Anyone that can give me some guidance?

Thanks,

Joe



joe_audette [at] yahoo dotcom 
http://www.joeaudette.com 
http://www.mojoportal.com






More information about the Mono-devel-list mailing list