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

Daniel Morgan monodanmorg at yahoo.com
Mon Dec 26 22:51:09 EST 2005


It looks like to be a regression in order to stub out methods and properties to support ADO.NET 2.0.
  
  http://svn.myrealbox.com/viewcvs/trunk/mcs/class/System.Data/System.Data.Common/DbDataAdapter.cs?rev=53301&view=markup
  
  

Joe Audette <joe_audette at yahoo.com> wrote:  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



_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list



		
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051226/2f37ead3/attachment.html 


More information about the Mono-devel-list mailing list