BUG? TemplateColumn in DataGrid Visible=False

BUG? TemplateColumn in DataGrid Visible=False

Post by Jenn » Sun, 06 Jan 2002 01:41:23

I have a template column in a datagrid control.
If I set the Visible property on the templatecolumn to
false like so:
<asp:TemplateColumn Visible=False>

The value in the column is not passed on Grid Update.
However if I just simply change the Visible property above
to True (no other code changes) then the value IS passed.

Is this a bug?



1. Visible=false for datagrid bound column means no value?

When I set a bound datagrid column's visible property to
False, the following statement:

CType( e.Item.Cells(0).Controls(0), TextBox ).Text

equals "".  But if I turn the visibility to True, it fills
with the value.  So how does one add a column to a
datagrid that isn't visible to the user, but is present
(containing data) to the datagrid?  Is there a "Hidden"
type of column that can be used in a datagrid?

2. Previous macro in access

3. TemplateColumn's Visible property

4. Problems with W2K loading

5. Form flashes during InitializeComponents even when Visible is false

6. USR 33.6 Upgrade

7. TabPage.Visible = False does not work?

8. form.visible false not working

9. Control.CanFocus=false altough Control.Visible=true and Control.Enabled=true - Why?

10. Difference between Hide() and visible = false

11. DesktopLocation for Form.Visible = false

12. ddl's disappearing after panel.visible goes to false to true