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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 19, 2013, 7:23 PM EST
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.
Sasi ReddyRank #4,458 · 342 reputationPosted Nov 19, 2013, 7:40 PM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 19, 2013, 8:33 PM EST
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "FarmerBasicDetails", action = "FarmerDetails", id = UrlParameter.Optional } // Parameter defaults
);
Sasi ReddyRank #4,458 · 342 reputationPosted Nov 20, 2013, 2:52 AM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 20, 2013, 6:32 PM EST