Last post Jun 15, 2010 01:16 PM by sjnaughton
Jun 15, 2010 12:10 PM|mitchellduffy|LINK
I am new to Dynamic data and have a few questions.
To give you an idea of what I am dealing with. I have a database table with 500 rows and 20 columns (many of them binary check boxes). However, the check boxes have long names such as "Product_Recieved". This means that the page is far wider than the browser
window. If I could shorten it to "Prod. Rec." Then I would have plenty of room and could display all the necessary data. In addition, I would prefer to be able to scroll quickly through the data without having to deal with multiple pages. In this way, I could
also use ctrl+f to find a particular piece of data. Finally, even if the table could be made scrollable, with 20 columns, most being check boxes, I would be lost if the headers just went away as I scrolled.
Thanks for the help!
Jun 15, 2010 01:16 PM|sjnaughton|LINK
Is it possible to change the display of the column headings, say from: "Product__Expiration_Date". To: "Prod. Exp. Date". I want a clean display. Preferably with spaces instead of underscores
Hi Mitch, yes you would add DisplayName attribute to you metadata/buddy classes. see
Getting Started with Dynamic Data here
http://www.asp.net/web-forms/data under ASP.NET Dynamic Data heading.
Can a table with paging turned off be made to have
A scrollbar for the table itself (not utilizing the browser's scroll bar). A static header. Meaning, if I am scrolling down the table using the table scrollbar described above (2.1.) can I keep the column names displayed.
This is not something specific to DD you will find many article on this on the web you try Scrolling
GridView with fixed Header this was the first article I found and could be applied to DD.