Your GridView is into a Panel? Rodrigo Defavari
2009/8/7 Vikas K M <[email protected]> > Rodrigo, > I just tried this but stil its not working for me. > Can you please help. > > regards, > Vikas > > > On Fri, Aug 7, 2009 at 4:18 AM, Rodrigo Defavari < > [email protected]> wrote: > >> Hi Vikas... >> >> >> >> I had this problem few days ago... >> >> >> >> You need to create a style tag… or a css file… for example: >> >> >> >> <style type="text/css"> >> >> .GridHeaderFixed { >> >> color:red; >> >> border: 1px solid black; >> >> position:relative; >> >> } >> >> </style> >> >> >> >> The style tag MUST have the position:relative. >> >> And then… in GridView tag… add the following internal tag: >> >> >> >> <HeaderStyle CssClass="GridHeaderFixed" /> >> >> >> >> I just tested it on IE 6 and IE 7. >> >> >> >> That’s it… I hope have helped you!!! >> >> >> >> Regards, >> >> Rodrigo >> >> >> >> *De:* [email protected] [mailto: >> [email protected]] *Em nome de *Vikas K M >> *Enviada em:* quinta-feira, 6 de agosto de 2009 06:13 >> *Assunto:* [DotNetDevelopment] Scrollbars in grid view >> >> >> >> HI, >> >> >> >> I am trying to achieve scrollbard in grid view. I placed the grid view in >> panel. I am getting scroll bars. But I want the header row to be fixed. >> >> >> >> how can i achieve this. >> >> >> >> Please help >> >> >> >> >> >> >> >> -- >> Regards, >> Vikas >> >> No virus found in this incoming message. >> Checked by AVG - www.avg.com >> Version: 8.5.392 / Virus Database: 270.13.45/2284 - Release Date: 08/05/09 >> 18:23:00 >> > > > > -- > Regards, > Vikas >
