Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to override default "Create button" after changing from modal to page view? #8258


User avatar
0
JLombela created

Hi

I have followed step-by-step an example to change the modal view to a page view for the create and edit of the tenant. However, the create new tenant button still fires off the default modal view for creating and editing. Is there a clearer way to override this behavior?

Regards John


2 Answer(s)
  • User Avatar
    0
    musa.demir created

    For angular: https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Converting-Create-Edit-Modal-To-Page-Angular#navigate-to-the-tenant-creation-page


    For mvc: And finally go Index.cshtml and change Create new tenant button as seen below area in https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Converting-Create-Edit-Modal-To-Page-Mvc-Core#result page

    <a href="/[AppAreaName]/Tenants/Create" class="btn btn-primary">
        <i class="fa fa-plus"></i> @L("CreateNewTenant")
    </a>
    

    It seems broken i will fix document

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please open a new issue if you are still having this problem.