Edward,
If you set the column to visible="false" you will still be able to access it
in the code-behind. If you need to access its value from the client, then
you are correct you can't set visible="false".
If the latter is the case (you need to access the value from the client
code) you could try using <div> tags around it and setting it's visibility
with CSS.
--
Sincerely,
S. Justin Gengo, MCP
Web Developer / Programmer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"Edward" <an*******@discussions.microsoft.com> wrote in message
news:03****************************@phx.gbl...
Hello,
Does anyone know how to set a TemplateColumn width to 0 to
hide the column? When I try this it only decreases to the
length of the longest control within the column? I can't
set the visible property to false because I still need to
access the values within the column
Thanks
Ed