S Samuel Oct 8, 2007 #1 How can I get in the Load Event of the master file the name of the page that the user requested? Thank you, Samuel
How can I get in the Load Event of the master file the name of the page that the user requested? Thank you, Samuel
D David Wier Oct 8, 2007 #2 Assuming you're talking about the filename, try: System.IO.Path.GetFileName(Request.ServerVariables("URL")) note, however, that it won't be a perfect solution if you're using Server.Transfer David Wier http://aspnet101.com http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no bloated markup
Assuming you're talking about the filename, try: System.IO.Path.GetFileName(Request.ServerVariables("URL")) note, however, that it won't be a perfect solution if you're using Server.Transfer David Wier http://aspnet101.com http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no bloated markup
S Samuel Oct 8, 2007 #3 Thank you, Samuel David Wier said: Assuming you're talking about the filename, try: System.IO.Path.GetFileName(Request.ServerVariables("URL")) note, however, that it won't be a perfect solution if you're using Server.Transfer David Wier http://aspnet101.com http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no bloated markup Click to expand...
Thank you, Samuel David Wier said: Assuming you're talking about the filename, try: System.IO.Path.GetFileName(Request.ServerVariables("URL")) note, however, that it won't be a perfect solution if you're using Server.Transfer David Wier http://aspnet101.com http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no bloated markup Click to expand...