CSS Friendly ASP.Net Adapter updates to GridView, DetailsView, and FormView

If you’ve used the CSS Friendly ASP.Net Control Adapters in the past, you may want to check out change set 9278, which included a number of improvements to the GridView, DetailsView, and FormView controls.

From the check-in notes:

– Major rewrites of GridView, DetailsView, and FormView walkthroughs
– FormView and DetailsView now use PagerTemplate when it exists
– FormView, DetailsView, and GridView properly position pager based on PagerPosition and Visibile properties
– Implemented GridView’s DataControlRowType.Pager instead of hard-coded CSS class (non-breaking change)

The new test “walkthru” pages are quite useful. You can now set the control options and see the results of the change immediately without having to modify the code in the ASPX file. Implementing the test pages this way made it much easier to evaluate if the control adapters were doing what they were supposed to do.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>