Click here to Skip to main content
15,887,394 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I need to display two webgrids with week & month data in single .cshtml page. So, I have used below code in Index.cshtml page:


@Html.Partial("~/Views/Shared/_WeekPartial.cshtml");


@Html.Partial("~/Views/Shared/_MonthPartial.cshtml");


I have two grids in each weekpartial and monthpartial pages. But here I am not able to call two grids. I can execute only one Partial method. Could you help me in getting two webgrids in a single page.

Thanks!
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900