Hello Experts,
I am creating a gridview dynamically. Also the number of columns are created according to database items. And the gridview width is exceeding the main page due to vast number of columns. So I want to display it section wise. Someone please suggest me some solutions.
Thank You
Sanjeeb LenkaPosted Dec 30, 2013, 12:15 AM
you can place your gridview inside a div. whenever your gridview siz increases a scroll bar will come.
place your gridview here
Dhirendra MisraPosted Dec 30, 2013, 1:11 AM
As per you screenshot I think you just want to display available, break or booked status of doctor's schedule. If it is only display information, I suggest you to use server side html table and add rows and columns according to you need rather than using heavy GridView control .
You can use this as well
Hope it will work for you.
shibasankar beheraPosted Dec 30, 2013, 12:43 AM
Sanjeeb LenkaPosted Dec 30, 2013, 12:25 AM
shibasankar beheraPosted Dec 30, 2013, 12:19 AM