in the below image when i clicked select button test id and test name data should be bind to code and name testbox respectively from controller. that means binding data to the same view.
from controller i'm passing it but, page not loading so data is not binding.
controller code:
- public async Task
TestMasterDetails( string TestID) - {
- TestMasterModel _testMasterModel = new TestMasterModel();
- TestMasterDetails _testMasterDetails = new TestMasterDetails();
- _testMasterDetails = await GetTestMasterDetails(!string.IsNullOrEmpty(TestID) ? TestID : GetDefaultTestID());
- _testMasterModel = _testMasterDetails.InformationModel;
- return View("TestMasterDetails", "MstTestMaster");
- }
i tried below return type also
return RedirectToAction("TestMasterDetails", "MstTestMaster");


Rajeesh MenothRank #118 · 18.4K reputationPosted Jan 10, 2020, 3:52 AM EST
Jignesh KumarRank #91 · 22.9K reputationPosted Jan 10, 2020, 6:19 PM EST
Laxmidhar SahooRank #383 · 6.6K reputationPosted Jan 11, 2020, 8:12 PM EST