Want to view code in GridView.Render so I can override it

  • Thread starter Thread starter Jason
  • Start date Start date
J

Jason

Hi all,
I hope this doesn't sound like a lame question, but I want to override
Gridview.Render so I can strip out ALL styling elements and use CSS
for my styling. I am pretty sure I can figure it out, if I could just
get at the code that is currently called by GridView.Render. Can
anyone help me out?

Thanks,
Jason
 
Hi Jason,
the thing you are looking for is Adapter. Adapter framework allows to
override how the web controls are rendered. I recommend you to start from
already created Adapter, because you will very quickly discover all important
features. Good implementation are CssFriendlyAdapter -
http://www.codeplex.com/cssfriendly

Regards,
Ladislav
 
Back
Top