Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. about application name

about application name

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amir_iiui
    wrote on last edited by
    #1

    I want to get the name of current active page of the applicaton on runtime. e.g. when a button is pushed, then i get the name of the page in which this button is prensent. ( in Asp.net) Can some body help me in this regard.

    J 1 Reply Last reply
    0
    • A amir_iiui

      I want to get the name of current active page of the applicaton on runtime. e.g. when a button is pushed, then i get the name of the page in which this button is prensent. ( in Asp.net) Can some body help me in this regard.

      J Offline
      J Offline
      Jesse Squire
      wrote on last edited by
      #2

      Take a look at the [Request.Url](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttprequestclassurltopic.asp)[[^](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttprequestclassurltopic.asp)] property. If you're looking for the filename of the page, you can extract it from there. Hope that helps. :) --Jesse

      A 1 Reply Last reply
      0
      • J Jesse Squire

        Take a look at the [Request.Url](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttprequestclassurltopic.asp)[[^](http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebhttprequestclassurltopic.asp)] property. If you're looking for the filename of the page, you can extract it from there. Hope that helps. :) --Jesse

        A Offline
        A Offline
        amir_iiui
        wrote on last edited by
        #3

        it worked fine....... thankx alot....

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups