>>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).
That's the ticket!
Thanks!