Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Expose Property

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shapper - 17 Apr 2008 17:45 GMT
Hello,

Is it possible to create a property in a master page which is
accessible from its nested master pages?
I created a property in my Master Page but I am not able to access it
its Nested Master Page.

I am using ASP.NET 3.5.

Thanks,
Miguel
Patrice - 17 Apr 2008 18:19 GMT
"not able" that is ? If this is just a type casting problem try :

http://msdn2.microsoft.com/en-us/library/c8y19k6h(VS.80).aspx

--
Patrice

> Hello,
>
[quoted text clipped - 7 lines]
> Thanks,
> Miguel
bruce barker - 17 Apr 2008 20:50 GMT
you can cast the master or let asp.net do it by adding a mastertype directive

<%@ MasterType TypeName="MyMasterPage" %>

-- bruce (sqlwork.com)

> Hello,
>
[quoted text clipped - 7 lines]
> Thanks,
> Miguel

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.