how to refer a control in the host page from a user control if the host page using masterpage

Discussion in 'ASP .Net' started by Jerry Qu, Feb 20, 2009.

  1. Jerry Qu

    Jerry Qu Guest

    Hi All

    how to refer a control in the host page from a user control if the host page
    using masterpage?

    TIA

    JQ
     
    Jerry Qu, Feb 20, 2009
    #1
    1. Advertisements

  2. Jerry Qu

    lee atkinson Guest

    Re: how to refer a control in the host page from a user control ifthe host page using masterpage

    Dim control as /object/ = Master.findcontrol("controlid")


    On 20/02/2009 19:25, in article
    , "Jerry Qu"
    <> wrote:

    > Hi All
    >
    > how to refer a control in the host page from a user control if the host page
    > using masterpage?
    >
    > TIA
    >
    > JQ
    >
     
    lee atkinson, Feb 20, 2009
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Joe Fallon

    User Control needs to refer to Page

    Joe Fallon, Feb 12, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    2,500
    Joe Fallon
    Feb 12, 2004
  2. =?Utf-8?B?QWxleCBNYWdoZW4=?=

    MasterPage -> Page -> MasterPage Code Access

    =?Utf-8?B?QWxleCBNYWdoZW4=?=, Apr 10, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    8,124
    Steven Cheng[MSFT]
    Apr 14, 2006
  3. ThunderMusic
    Replies:
    2
    Views:
    626
    Gregory Gadow
    Sep 27, 2006
  4. Randy Smith
    Replies:
    9
    Views:
    636
    Mark Rae
    Apr 14, 2007
  5. mr t
    Replies:
    0
    Views:
    578
  6. Torben Laursen
    Replies:
    4
    Views:
    800
    clintonG
    Mar 15, 2008
  7. Joe Fallon

    User Control needs to refer to Page

    Joe Fallon, Feb 12, 2004, in forum: ASP .Net Building Controls
    Replies:
    5
    Views:
    251
    Joe Fallon
    Feb 12, 2004
  8. Joe Fallon

    User Control needs to refer to Page

    Joe Fallon, Feb 12, 2004, in forum: ASP .Net Web Controls
    Replies:
    5
    Views:
    265
    Joe Fallon
    Feb 12, 2004
Loading...