User Control to Know Page Hosting It?

Discussion in 'ASP .Net' started by Merkisson Jourhanssen, Apr 20, 2004.

  1. How can user control know, in it code behind, the file name of the aspx page
    that is hosting the user control?

    Thank you.
     
    Merkisson Jourhanssen, Apr 20, 2004
    #1
    1. Advertising

  2. Try Page.Request.Url.


    "Merkisson Jourhanssen" <> wrote in message
    news:#...
    > How can user control know, in it code behind, the file name of the aspx

    page
    > that is hosting the user control?
    >
    > Thank you.
    >
    >
     
    Peter Rilling, Apr 20, 2004
    #2
    1. Advertising

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. Charlie@CBFC
    Replies:
    2
    Views:
    2,099
    S. Justin Gengo
    Oct 15, 2005
  2. Remi Delon
    Replies:
    0
    Views:
    823
    Remi Delon
    Jan 19, 2005
  3. Fabrizio
    Replies:
    5
    Views:
    253
    Alessandro Zifiglio
    Feb 24, 2004
  4. teo1991
    Replies:
    0
    Views:
    641
    teo1991
    Apr 2, 2009
  5. Andries

    I know, I know, I don't know

    Andries, Apr 23, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    259
    Gregory Toomey
    Apr 23, 2004
Loading...

Share This Page