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

I am developing an application using MVC 4 - VS 2010. I have a requirement like I need to display the number of visitor report for week (8 columns) and Month (2 columns) in a page with export to excel functionality. Here, If i select dropdown of week "W" then it should display only week data , if Month "M" selected it should display only Month data. If Both "B" selected it should display both month and week data. I have put two classes in model one for Week and other for Month with properties and created a List object with dummy data. I am getting the Week or month data if I comment other Grid. But I am not understading how to put the two webgrids (Columns are differ) in .cshtml page and put the validations on each select. Please help me in getting this. Please let me know if you need more information.

Thanks in advance.
Dhruvin Sukhadiya 19-Feb-14 3:29am
provide your code...

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