Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registering the Business Object with web form
Message
From
03/07/2007 18:46:22
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
03/07/2007 18:03:25
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01237655
Message ID:
01237660
Views:
18
Nevermind, I found it. I am not sure how but the partial class name of the web page code behind was named the same as the business object. How I don't know, but after renaming and changing the "Inherits" on the aspx page it took care of it.

Thanks
Tim


>Ok, I have done this a few times with no problem but now it complains. I looked at the 2.4 documentation and the sample application and there is no problem there so something must be amiss in my application. What can I look for?
>
>In my web form
>
>protected Contact oContact;
>
>In the load
>
>this.oContact = (Contact)this.RegisterPrimaryBizObj(new Contact());
>
>I get this build error:
>Cannot convert type OakLeaf.MM.Main.Business.mmBusinessObject to Contact
>
>I am using MM 2.4
>Thanks
>Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform