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

Changing from Modal to MVC Page Issues with Buttons & Others #8255


User avatar
0
JLombela created

Hi

I have followed dillignetly the example to change the tenant modal create page to an MVC page. However, I cannot seem to get the button to fire up correctly. It still brings up the old modal create partial view as opposed to the new page. Is there anything I missed?

Here's the button in the Index.csthml

Here's the code in the controller (I have also attached the entire Index.cshtml file) for your review.

But for some reasons, I cannot get the button to fire up to the Create ActionResult so it can display the Create.cshtml view.

Finally, this is how it shows up on the front end. Not sure how ti fix it.

<br> Please HELP.

Regards John


4 Answer(s)
  • User Avatar
    0
    JLombela created

    I have also added the example on changing from EditModal to normal Edit MVC Page and still when I click on Edit, the normal Edit Modal page pops up. Is there something I am not doing correctly? Please HELP

  • User Avatar
    0
    JLombela created

    Can anobody help me answer this query? It has been well around two days now

  • User Avatar
    0
    musa.demir created

    try

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

    And change [AppAreaName] with your area name. It is your project name.

    I updated fixed document. Thanks for informing us.

  • 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.