i have that line in my view .so i want to get that farmerid into FarmerBasicDetails controller.
can u please tell me how to do that?......
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaganathan BantheswaranPosted Nov 20, 2013, 11:32 PM
Sasi ReddyPosted Nov 20, 2013, 7:52 AM
Jaganathan BantheswaranPosted Nov 20, 2013, 1:33 AM
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "FarmerBasicDetails", action = "FarmerDetails", id = UrlParameter.Optional } // Parameter defaults
);
Sasi ReddyPosted Nov 20, 2013, 12:40 AM
Jaganathan BantheswaranPosted Nov 20, 2013, 12:23 AM
While clicking on Name link what should happen? should it navigate to other view?
Do you have FarmerDetails action in FarmerBasicDetailsController ?
Upload sample project if possible.