How Can I get The Previous Page URL???
-
:confused:I've Two pages,One is HTML and Other One is ASPX page..When I'm Clicking Button on html Page it Redirect to aspx page..Here is the prblm..I want to see the HTML Page name in aspx page??? How Can I???
-
:confused:I've Two pages,One is HTML and Other One is ASPX page..When I'm Clicking Button on html Page it Redirect to aspx page..Here is the prblm..I want to see the HTML Page name in aspx page??? How Can I???
You would need to pass it on the URL
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
:confused:I've Two pages,One is HTML and Other One is ASPX page..When I'm Clicking Button on html Page it Redirect to aspx page..Here is the prblm..I want to see the HTML Page name in aspx page??? How Can I???
Vanamaindia wrote:
How Can I???
You can get it by
string preURL=Request.UrlReferrer.ToString();
Best regard pAthan
please don't forget to vote on the post that helped you.
-
:confused:I've Two pages,One is HTML and Other One is ASPX page..When I'm Clicking Button on html Page it Redirect to aspx page..Here is the prblm..I want to see the HTML Page name in aspx page??? How Can I???
Hi, try this..
string url = Request.ServerVariables["HTTP_REFERER"];
Thanks, Sun Rays To get something you must have to try once. My Articles
-
Hi, try this..
string url = Request.ServerVariables["HTTP_REFERER"];
Thanks, Sun Rays To get something you must have to try once. My Articles
It's Not Working yar
-
It's Not Working yar
Have you checked my reply?? I have tested and it is working.. http://www.codeproject.com/script/comments/forums.asp?msg=2340337&forumid=12076#xx2340337xx
Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)
-
:confused:I've Two pages,One is HTML and Other One is ASPX page..When I'm Clicking Button on html Page it Redirect to aspx page..Here is the prblm..I want to see the HTML Page name in aspx page??? How Can I???
plz repeat the question clearly
-
plz repeat the question clearly
It is Clear.....I can Search in Google..