Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to send object in url.action in mvc 4
Posted
Updated 3-Nov-17 8:07am
Comments
Jameel VM 18-Jul-13 12:16pm    
can you elaborate the question?
pandap 19-Jul-13 9:32am    
I have multiple tabs, clicking on tabs i have to pass the model for checking validation and move to next tab. In each tab i am using @url.action so how i can pass the model by url.action here.

1 solution

C#
@Url.Action("Action","Controller", new { PropertyA = Model.PropertyA, PropertyB = Model.PropertyB, ... })
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900