Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine calling form?
Message
 
To
17/12/2002 08:52:06
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00733615
Message ID:
00733623
Views:
21
>C# Newbie Question...
>
>I have a simple web form that gets called from a couple of other form using the System.Web.Transfer("WebFormName.aspx") command. (i.e. Form1 and Form2 both can call Form3.
>
>How do I determine whether Form1 or Form2 was the calling form?
>
>I know I could use a system variable and store the form's name in it and test against that, but I was wondering if there is a system function equivalent to System.Web.TransferedFrom()?
>
>TIA,
>Larry Long
>
>p.s. I just came back from Kevin McNeish's 5 day ASP.NET, C# for VFP Developers training and it is WELL worth it!! We had a great time, learned a lot...my brain still hurts...and Kevin treated us all very well!

Would: Request.UrlReferrer give you what you want? It will return the URL of the previous page (ie. the referring page).
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform