Re: Selectively Scaffoldding Columns

Thank you. I don't want foreign keys appear on my List page as links but I need to use them while editing and inserting as dropdownlists. I have set the scaffold property to false for those columns in the MetaData file but the condition stays all the time.
I need them working on-and-off. Does that make any sense?

Re: Selectively Scaffoldding Columns

Thank you. I was also wondering if there is a way for controlling the way columns are layed-out on screen as setting their width and so forth but in different ways depending on your needs?

Sometimes you’d like a header to appear complete in one page say List.aspx meanwhile there will be times, as in Insert.aspx or Edit.aspx pages in which depending on how much crowded your layout might be you’d like to have abbreviations or display your header
in the same way Excel does by using more than one line for displaying content, wrapping text at word level. You’d also like to use colors, etc

It also happens that the UI chops long strings of data. Dynamic Data Grid doesn’t show the whole length of your database strings even if there is enough room remaining in the corresponding cells, which is a non elegant look-and-feel for your UI. Any help will
be very welcomed

Re: Selectively Scaffoldding Columns

PeterSkellern

Sometimes you’d like a header to appear complete in one page say List.aspx meanwhile there will be times, as in Insert.aspx or Edit.aspx pages in which depending on how much crowded your layout might be you’d like to have abbreviations or display your header
in the same way Excel does by using more than one line for displaying content, wrapping text at word level. You’d also like to use colors, etc

Hi Peter that's a log of questions

PeterSkellern

It also happens that the UI chops long strings of data. Dynamic Data Grid doesn’t show the whole length of your database strings even if there is enough room remaining in the corresponding cells, which is a non elegant look-and-feel for your UI.

if you look inside the Text.aspx field template code behind you will see the code that truncate this, in the past I have created an attribute that allows me to set the truncate size on a per column basis.