Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need to determin what page I am on

Posted on 2008-06-10
3
Medium Priority
?
238 Views
Last Modified: 2010-04-23
I have a number of pages in my web app.  Thay all share a header (see example asp attached).

In the code behind for KTHeaderSmall, I need to determine what page I am on.

How can I do this in VB code behind?
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="MainKTImportInstanceFromTemplate.aspx.vb" Inherits="KTManagement.MainKTImportInstanceFromTemplate" %>
<%@ Register TagPrefix="ah" TagName="Header" src="KTHeaderSmall.ascx"%>

Open in new window

0
Comment
Question by:wsturdev
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
JapyDooge earned 2000 total points
ID: 21750663

Request.ServerVariables("URL")

Open in new window

0
 
LVL 1

Author Closing Comment

by:wsturdev
ID: 31465707
Excellent.  Thanks!!
0
 
LVL 6

Expert Comment

by:JapyDooge
ID: 21751261
Thank you! :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question