Solved

Need to determin what page I am on

Posted on 2008-06-10
3
200 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now