[Mono-list] Trying to find out the status of gridview withobjectdatasource

Peter Dennis Bartok peter at novonyx.com
Tue Oct 18 18:21:34 EDT 2005


Peter,

What is not implemented is BoundField::HeaderText. Not a class that's not 
implemented, just a property. You can find the property in 
mcs/class/System.Web.UI.WebControls/BoundField.cs

You could have found the status at 
http://mono.ximian.com/class-status/mono-HEAD-vs-fx-2/class-status-System.Web.html, 
the property on the class is marked with a MonoTODO.

All you had to do is look at the last item on the stack before the exception 
was thrown
 "in <0x0001d> System.Web.UI.WebControls.BoundField:set_HeaderText 
(System.String value)"
and look at that property.

I don't know the status details of the classes you are asking about, but 
they seem mostly implemented according to the status page (also to be found 
under above link)

Cheers,
 Peter

-----Original Message-----
From: "Kellner, Peter" <Peter at PeterKellner.net>
To: <Mono-list at lists.ximian.com>
Date: 18 October, 2005 15:45
Subject: [Mono-list] Trying to find out the status of gridview 
withobjectdatasource


I've listed a very simple asp.net 2.0 app using gridview and an
objectdatasource.  This is with the mono version 1.1.9.2 on xp.



I'm getting the error on the bottom and can't figure out where to look
for the status of which class is not implemented.  I've looked on the
web site at http://www.mono-project.com/Class_Status but can't figure
out what class is not implemented.



My question is, what class is not implemented, and what is the status of
gridview and objectdatasource?



Thanks



Peter Kellner

http://peterkellner.net <http://peterkellner.net/>













<asp:GridView ID="GridView1" runat="server"
DataSourceID="ObjectDataSource1" AllowPaging="True"
AutoGenerateColumns="False">

        <Columns>



            <asp:BoundField DataField="UserName" HeaderText="UserName"
/>

            <asp:BoundField DataField="RoleName" HeaderText="RoleName"
/>

            <asp:BoundField DataField="NumberOfUsersInRole"
HeaderText="NumberOfUsersInRole"

                 />

            <asp:CheckBoxField DataField="UserInRole"
HeaderText="UserInRole"  />

        </Columns>

    </asp:GridView>

    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"

        SelectMethod="GetRoles"
TypeName="MembershipUtilities.RoleDataObject"></asp:ObjectDataSource>





Error Message: HTTP 500.

Stack Trace:



System.NotImplementedException: The requested feature is not
implemented.

in <0x0001d> System.Web.UI.WebControls.BoundField:set_HeaderText
(System.String value)

in <0x00033> ASP.simple_aspx:__BuildControl__bctrl_15 ()

in <0x00010> ASP.simple_aspx:__BuildControl__bctrl_14
(System.Web.UI.WebControls.DataControlFieldCollection __ctrl)

in <0x00076> ASP.simple_aspx:__BuildControl_GridView1 ()

in <0x000ee> ASP.simple_aspx:__BuildControl_Content1
(System.Web.UI.Control __ctrl)

in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_Control (System.Web.UI.Control)

in <0x00011> System.Web.UI.CompiledTemplateBuilder:InstantiateIn
(System.Web.UI.Control ctrl)

in <0x00127> System.Web.UI.MasterPage:FillPlaceHolders ()

in <0x000f8> System.Web.UI.Page:InternalProcessRequest ()

in <0x000ba> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext
context)

in <0x01a1e> System.Web.HttpApplication+<Pipeline>__4:MoveNext ()




More information about the Mono-list mailing list