Re: bug? cannot get value of cell on invisible column
- From: "Beemer Biker" <jstateson@xxxxxxxx>
- Date: Tue, 1 May 2007 17:38:02 -0500
"Eliyahu Goldin" <REMOVEALLCAPITALSeEgGoldDinN@xxxxxxxxxxxx> wrote in message news:uE3iJijiHHA.4668@xxxxxxxxxxxxxxxxxxxxxxx
Any server control with Visible property set to false doesn't get rendered
to the client and doesn't come back on postbacks. You need to hide it with a
css rule display:none.
--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
Thanks, that worked fine. Set both header and item to display:none and they disappeared from the grid.
We are using postgresql and did not buy 3rd party drivers for VS8 data components so all I have is that gridview and SqlDataSource that the ODBC driver supports. AFAICT one can only get data values from the grid if not using 3rd part SqlCommands, SqlConnection etc (I dont have those in toolkit).
thanks again!
.
- Next by Date: GridView - Problem with Table.Rows.Remove( )
- Next by thread: Re: bug? cannot get value of cell on invisible column
- Index(es):
Loading