DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us