Solved

Need to determin what page I am on

Posted on 2008-06-10
3
232 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 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