I am using this Example with the help of Mvc 4 application
Step 1: Create a Controller like "HomeController"..and in this Controller you create Index Action method and Some other action method that are given below in Screen Shot..
Step 2: Now you right click on Index method side and create an Empty View and
Write Some Code that is given below.
Index.cshtml
Step 3: Now You create a Partial View on Views->Shared-> _partial.cshtml, with Strongly Type like this..
and click on Add Button. Then Your _Partial view looks like this..
Now, Your Application Is Ready to Run , and in this Application Your page are not be "Refreashed" any time..
Output are :
When You Click on TheAllLink then it show the following Result:-
and Again if You Click on The Top3 Link then it show the following Result:-
and Again if You Click on The Bottom3 Link then it show the following Result:-
These result are show on the basic of Emp_Id.
I hope you you are understand this example...
I hope you you are understand this example...
Leave Comment