Hi,
I have a problem and it is when I want to show data in a grid on a page that is not the default page in routes. If I write like the code below, then the site opens the Article page and the data is showed properly, but I have to navigate to the home/index to show the first page. If I have the “action=Index”, then it will show the start page as it should do, but when I select “Articles”, then there will be no data in the Grid. No errors are received.
routes.MapRoute(
name: “Default”,
url: “{controller}/{action}/{id}”,
defaults: new { controller = “Home”, action = “Articles”, id = UrlParameter.Optional }
);
/Thanks