F
Frank
Hello all,
I have searched the internet for this but can't find a working solution.
I have a datagrid in a web appl with a bound column. Filled with data from a
sql table. Works fine.
I want to hide the column but preserve the value because I need it in the
postback. Several 'solutions' said to set the column width and whatever. It
all does not work. It comes down to the fact that the table in html
automatically widens a column to fit the content, even if u set the width to
zero.
A possible solution would be to put the boundcolumn in a <span> and put a
'overflow: hidden' in it. Testing this outside vb.net with html I had that
working.
But how do I put a span around the bound column using vb.net? Do I do that
in the html tab? If I do I get errors.
Looking forward to a working solution.
Thanx
Frank
I have searched the internet for this but can't find a working solution.
I have a datagrid in a web appl with a bound column. Filled with data from a
sql table. Works fine.
I want to hide the column but preserve the value because I need it in the
postback. Several 'solutions' said to set the column width and whatever. It
all does not work. It comes down to the fact that the table in html
automatically widens a column to fit the content, even if u set the width to
zero.
A possible solution would be to put the boundcolumn in a <span> and put a
'overflow: hidden' in it. Testing this outside vb.net with html I had that
working.
But how do I put a span around the bound column using vb.net? Do I do that
in the html tab? If I do I get errors.
Looking forward to a working solution.
Thanx
Frank