We can get requesting page url in C# to use below statement
Request.UrlReferrer.OriginalString
We can also check the particular page
if (Request.UrlReferrer.OriginalString.IndexOf("confirmation.aspx") > -1)
{
// Code Here
}
We should include the namespace before that.
using System.Web;
Request.UrlReferrer.OriginalString
We can also check the particular page
if (Request.UrlReferrer.OriginalString.IndexOf("confirmation.aspx") > -1)
{
// Code Here
}
We should include the namespace before that.
using System.Web;