Using Multiple Pages in NopCommerce Admin Plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 Jahre weitere
I am writing a plugin which has multiple pages such as Add.csthml, Configure.csthml and so on. And Configure.cshtml has  link to Add.cshtml. But nopCommerce uses Html.Action to render the page inside its another page. It works for Configure.cshtml since it is the first page nopCommerce calls when user clicks on the Configure link but how can I allow people to navigate Add.cshtml in this case? They will reach Add.cshtml using the link on Configure.cshtml.
11 Jahre weitere
You could add a route and use:

<a href="@Url.RouteUrl( "Plugin.Widgets.WidgetName.Add)">Add</a>
11 Jahre weitere
But it won't be rendered it on the same page right as it is done to Configure.cshtml. If not, then how come I render the Add.cshtml within the Admin master as well?
11 Jahre weitere
just add it on configure.cshtml, take a look at how the other plugins deal with this (usually when adding something a modal telerik window is used)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.