|
|
|
start date: Wed, 22 Aug 2007 12:50:33 -0700,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
Jason
|
|
2
Ladislav Mrnka
|
|
3
Peter Bromberg [C# MVP]
|
Want to view code in GridView.Render so I can override it
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
Date:Wed, 22 Aug 2007 12:50:33 -0700
Author:
|
RE: Want to view code in GridView.Render so I can override it
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
"Jason" wrote:
> 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
>
>
Date:Wed, 22 Aug 2007 13:46:00 -0700
Author:
|
RE: Want to view code in GridView.Render so I can override it
Use Lutz Roeder's Reflector product to decompile the Render method so you can
see what it does.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
"Jason" wrote:
> 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
>
>
Date:Wed, 22 Aug 2007 13:46:06 -0700
Author:
|
|
|