Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmAdRotator
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01247876
Message ID:
01248159
Views:
25
Ian,

>Also, I was looking to create a user control to hold my set of AdRotators and if I'm correct you cannot create a business object in either the Master Page or in a mmUserControl. Can you confirm this for me? If not, then I guess I'm going to be forced to create my ad business class in every form.

You can definitely use business objects in mmUserControl. It has a BusinessWebPage property you can reference to register your business objects. For example:
this.oOrders = (Orders)this.BusinessWebPage.RegisterBizObj(new Orders));
You can use business objects on mmMasterPage forms, but you just can't register them with the form. However, you can instantiate them and call their methods directly.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform