Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to get previous page url aspnet core

public async Task<IActionResult> Edit(int? id)
{     
     ...
     ... 
     ViewBag.returnUrl = Request.Headers["Referer"].ToString();
     return View(customer);
}
Source by forums.asp.net #
 
PREVIOUS NEXT
Tagged: #previous #page #url #aspnet #core
ADD COMMENT
Topic
Name
1+9 =