Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Expose Property

0 views
Skip to first unread message

shapper

unread,
Apr 17, 2008, 12:45:31 PM4/17/08
to
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

unread,
Apr 17, 2008, 1:19:49 PM4/17/08
to
"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

"shapper" <mdm...@gmail.com> a écrit dans le message de news:
70eed109-dd58-4275...@a70g2000hsh.googlegroups.com...

bruce barker

unread,
Apr 17, 2008, 3:50:01 PM4/17/08
to
you can cast the master or let asp.net do it by adding a mastertype directive

<%@ MasterType TypeName="MyMasterPage" %>

-- bruce (sqlwork.com)

0 new messages