Expose Property

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shapper

    Expose Property

    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

    #2
    Re: Expose Property

    "not able" that is ? If this is just a type casting problem try :



    --
    Patrice

    "shapper" <mdmoura@gmail. coma écrit dans le message de news:
    70eed109-dd58-4275-a77a-d786d0d69745...l egroups.com...
    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

    Comment

    • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

      #3
      RE: Expose Property

      you can cast the master or let asp.net do it by adding a mastertype directive

      <%@ MasterType TypeName="MyMas terPage" %>

      -- bruce (sqlwork.com)


      "shapper" wrote:
      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
      >

      Comment

      Working...