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

Kellner, Peter Peter at PeterKellner.net
Tue Oct 18 18:51:46 EDT 2005


Thanks,  I changed my column tags to templates and that worked.

However, now I'm onto my next problem.

 

I'm now getting: " Type not found: MembershipUtilities.RoleDataObject"
which to me means my asp.net app is not seeing the file role.cs that
I've included in the same directory as the asp.net app.  I've also tried
putting it in the /app_code directory like vs2005 does but in both
cases, it does not seem to find the file.

 

Could someone explain to me where to put .cs files so they will get
compiled and linked to the asp.net app?

 

Thanks

 

 

________________________________

From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Kellner, Peter
Sent: Tuesday, October 18, 2005 2:45 PM
To: Mono-list at lists.ximian.com
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 () 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051018/9de801d8/attachment-0001.html


More information about the Mono-list mailing list