UserControl in MasterPage access member from child/sub page. - DOTNET

This is a discussion on UserControl in MasterPage access member from child/sub page. - DOTNET ; Here is the scenario: I have a page derived from a MasterPage. The MasterPage has a user control that exposes two properties that as public and can be used by other objects. Question: How can I access the public members ...

+ Reply to Thread
Results 1 to 2 of 2

UserControl in MasterPage access member from child/sub page.

  1. Default UserControl in MasterPage access member from child/sub page.

    Here is the scenario:

    I have a page derived from a MasterPage. The MasterPage has a user
    control that exposes two properties that as public and can be used by
    other objects.

    Question:
    How can I access the public members of the User Control in the
    MasterPage from the derived page?

    Thanks.


  2. Default Re: UserControl in MasterPage access member from child/sub page.

    The Master object represents the master page

    http://msdn2.microsoft.com/en-us/library/c8y19k6h.aspx

    -Michael Placentra II


    On Oct 1, 8:15 pm, zb <zey...@gmail.com> wrote:
    > Here is the scenario:
    >
    > I have a page derived from a MasterPage. The MasterPage has a user
    > control that exposes two properties that as public and can be used by
    > other objects.
    >
    > Question:
    > How can I access the public members of the User Control in the
    > MasterPage from the derived page?
    >
    > Thanks.



+ Reply to Thread

Similar Threads

  1. read variable from content page to usercontrol in masterpage
    By Application Development in forum DOTNET
    Replies: 2
    Last Post: 12-03-2007, 12:22 PM
  2. Exposing UserControl in a MasterPage
    By Application Development in forum DOTNET
    Replies: 2
    Last Post: 10-02-2007, 12:01 PM
  3. Replies: 1
    Last Post: 08-31-2007, 09:23 AM
  4. MOSS2007: how to change a masterpage in a webpart page?
    By Application Development in forum Sharepoint
    Replies: 0
    Last Post: 07-24-2007, 09:11 PM
  5. Adding Controls to a Child Control in UserControl
    By Application Development in forum CSharp
    Replies: 2
    Last Post: 11-03-2006, 02:42 PM