jQuery UI Widgets Forums Grid Grid does not show the data in a page that is not the start page.

This topic contains 1 reply, has 2 voices, and was last updated by  admin 9 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • t.faroq
    Participant

    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


    admin
    Keymaster

    Hi t.faroq,

    To bind the Grid in .NET, please refer to our .NET examples and documentation. Your problem seems more related to wrong URL or something like that.

    Best Regards,
    Peter Stoev

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.