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

After updating an entity - how can I send the user back to the index of the view? #9187


User avatar
0
marble68 created

I've reviewed: https://aspnetboilerplate.com/Pages/Documents/Navigation, that doesn't really answer my question

I've crawled through abp.nav.menus.App - and I can see the menu items there.

What I can't figure out is how to, once an entity is saved, go back to the entities main menu item.

How is that done?


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

    Did you use Rad Tool to create an entity?

  • User Avatar
    0
    marble68 created

    Yes.

    It calls ClearForm, which sets the entity back to the model. If the user hits save again it creates two entities.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    In your javascript code, you can set window.location = abp.appPath + "ControllerName";

  • User Avatar
    0
    marble68 created

    Ok - I'll do that. Thanks.