Reputation: 751
Say I type:
blah.com/page.aspx/Touch?test=2
How could I get 'Touch' in Page_Load?
Thanks
Upvotes: 0
Views: 58
Reputation: 39284
I think you want the PathInfo property of the Request object.
from the linked page:
For the URL
Http://www.contoso.com/virdir/page.html/tail
, the PathInfo value is /tail.
Upvotes: 1
Reputation: 1595
You need Request.Querystring
. Take a look at this msdn documentation page: http://msdn.microsoft.com/en-us/library/ms524784(v=vs.90).aspx
Upvotes: 0