Can we embed one action result into another action like dashboard is one action and another action is proposal and they are in common controller student so can these are 2 different action or dashboard has embed proposal
RSS
publicActionResult UserDashBoard()
{
return View();
}
publicActionResult Proposal()
{
return View();
} for better idea this in the url student/userdashboard/proposal or student/proposal
The basic answer to your question is no. An action returns a single response like any method in the framework. However, you (the programmer) can return whatever HTML (View) that fits your dashboard design. This include making one or many HTTP requests
from your View to populate HTML sections of the dashboard. This is commonly done using AJAX or fetch.
None
0 Points
1 Post
Can we embed one action result into another action like dashboard is one action and another actio...
Mar 18, 2020 11:24 AM|hasnain__7|LINK
All-Star
53131 Points
23682 Posts
Re: Can we embed one action result into another action like dashboard is one action and another a...
Mar 18, 2020 11:31 AM|mgebhard|LINK
The basic answer to your question is no. An action returns a single response like any method in the framework. However, you (the programmer) can return whatever HTML (View) that fits your dashboard design. This include making one or many HTTP requests from your View to populate HTML sections of the dashboard. This is commonly done using AJAX or fetch.