0
velu created
How to call ASPX page while click on Create New button in my project?
Our Application Version "ASP.NET MVC 5.X + ANGULARJS 1.X".
Please guide us in detail.
3 Answer(s)
-
0
Hi,
You can add aspx page to your MVC project.
See the links
- <a class="postlink" href="http://www.hanselman.com/blog/PlugInHybridsASPNETWebFormsAndASPMVCAndASPNETDynamicDataSideBySide.aspx">http://www.hanselman.com/blog/PlugInHyb ... ySide.aspx</a>
- <a class="postlink" href="https://stackoverflow.com/a/46337229/1767482">https://stackoverflow.com/a/46337229/1767482</a>
-
0
But, How to call ASPX page while click on button in my project we are using ASP.NET MVC 5.X + ANGULARJS 1.X.
-
0
Call it from Javascript:
<script> function GoToPage() { window.location.href = "MyPage.aspx?parameter1=value1"; } </script> <button onclick="GoToPage()">Click Me</button>
Call it from controller
public class MyController : AbpController { public IActionResult Launch() { return Redirect("Updater:"); } }
Have an answer to this question?
Log in
and write your answer.