css - Asp.Net: Is a GridView really able to handle for all browsers or only a pain? -


i asp.net developer since 3 years now. had different projects in used asp.net-gridview-control.

the problem ist, had really pain designing gridview. need around 2-10 hours per gridview simple design. such pain, didn't believe. (and yes, used css , on!). after work on gridviews doesn't same in every browser. in ie7/8 looks still different in ff 3/4 or ie9.

my newest project need 100% same looking user interface in every browser , need 100% design , style. there no space css&gridview-bugs (i can list on 20 of these!) or hours after hours simple gridview design.

so question is:

  • is able handle different lookings in browsers gridview?
  • did miss in styling gridview, can cause unlimited pain gridviews?
  • is there easy , control, can bind on objectdatasource , work with, has same functions gridview? (example: bind imagebuttons on coloum)

use listview. makes no difference if use css gridview because gridview still create table-based layout. using itemtemplates listview , can have total control on markup generated css. of course, tabular data still warrants use of tables...

http://msdn.microsoft.com/en-us/magazine/cc337898.aspx

once have css-based layout being generated, can use html5boilerplate project gain cross-browser compatibility in 'graceful degradation' manner:

http://html5boilerplate.com/


Comments