GridView not updating when I hide a column

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?ISO-8859-1?Q?=22Fernando_A=2E_G=F3mez_F=2E=22?=

    GridView not updating when I hide a column

    Hello all,

    I have an ASP.NET page with a GridView bounded to a DataSource. When I
    click the edit button/link, I'm able to update the data with no
    problemos. However, if further in my code I hide a column, i.e.:

    _gridView.Colum ns[4].Visible = false;

    then when I try to save the changes made to and edited record, it won't
    do anything. This only happens if a column is false.

    Any ideas about why this happens? Thanks in advance.

    Regards,
    Fernando Gómez.
Working...