Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

mvc refresh page from controller

public ActionResult ActionMethodName(params)
{
    //whatever you want to do
    return RedirectToAction("ActionMethodName", "ControllerName");
}

//This redirects the user to the other page after your work is done and hence the page refreshes.
Comment

PREVIOUS NEXT
Code Example
Csharp :: What is the yield keyword used for in C#? 
Csharp :: how to load file from resources in c# 
Csharp :: unity tilemap get all tiles 
Csharp :: c# string console readline array 
Csharp :: To CharArray 
Csharp :: meaning of ??= in c# 
Csharp :: wpf stackpanel 
Csharp :: TimeZone in asp.net core 
Csharp :: returning multiple values in C# 
Csharp :: unity c# cos inverse 
Csharp :: dataannotations datetime range 
Csharp :: C# actions 
Csharp :: c# timer 30 seconds 
Csharp :: c# form set auto scale 
Csharp :: c# make file not read only 
Csharp :: How to add rigidbody as a variable 
Csharp :: c# linq to select even numbers 
Csharp :: serial number unity pro 
Csharp :: c# null conditional operator if statement 
Csharp :: convert c# string to int 
Csharp :: sieve of eratosthenes 
Csharp :: c sharp 
Csharp :: timer unity 
Csharp :: c# bootstrap checkbox 
Csharp :: c# static 
Csharp :: how to write web service for API in c# 
Csharp :: kendo validator tries to validate hidden fields 
Csharp :: upload a file selenium c# 
Csharp :: display array elemetns to text box c# 
Csharp :: global variables unity 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =