Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2009, 11:24 PM
Authorized User
 
Join Date: Mar 2009
Posts: 11
Thanks: 5
Thanked 0 Times in 0 Posts
Question Inherits

In the sample chapter by chapter code for chapter 2, the ThemeSelector control has an inherits like below. If I want to use this on my website, would I use the 2nd example?

Can someone explain what the MB means? Are there other choices besides MB? Does this mean it inherits from itself since it uses .ThemeSelector, the name of the control this is found in the code?

Inherits="MB.TheBeerHouse.UI.Controls.ThemeSelecto r"

Inherits="MB.MySite.UI.Controls.ThemeSelector"

--- Ryan
 
Old March 5th, 2009, 11:36 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

MB (the authors name is Marco Bellinaso) is the namespace that the control lives.

To answer your question, no, you would not use the second example since MB.TheBeerHouse.UI.Controls.ThemeSelector refers to a very specific class whereas MB.MySite.UI.Controls.ThemeSelector refers to nothing.

Does that make sense?

hth.
-Doug
__________________
===============================================
Doug Parsons
Wrox online library: Wrox Books 24 x 7
Did someone here help you? Click on their post!
"Easy is the path to wisdom for those not blinded by themselves."
===============================================
The Following User Says Thank You to dparsons For This Useful Post:
rpcasey001 (March 6th, 2009)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Inherits Problem In Browser (Urgent) [email protected] ASP.NET 1.0 and 1.1 Basics 1 September 27th, 2005 09:24 AM
Inherits When Upload to ISP [email protected] ADO.NET 0 September 23rd, 2005 05:16 AM
Inherits sub class Brettvan1 VB.NET 2002/2003 Basics 4 June 10th, 2005 05:16 PM
Inherits the page? frej ASP.NET 1.0 and 1.1 Basics 3 June 3rd, 2005 09:26 AM
Inherits error phbrady General .NET 1 April 7th, 2004 02:15 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.