Hi all,
I've hidden the ID (primary key) column in my grid. The column is not shown in the visual studio design view, however it appears when run on the local development server, and when published to IIS. Any thoughts? I'm fairly sure its not a cache issue, as other changes are reflected immediately.
thanks,
James
Hi James,
We had a similiar issue until, after spending all day trying to figure out why, we discovered that adding the runat="server" attribute to the <head> tag solved the problem. If the attribute isn't set, then the grid control can't write the CSS for the classes, which perform the hiding of the columns. It would be nice if this was documented as a requirement as some systems (espicially legacy ones) didn't always have this set by default in the templates when creating a new aspx page and therefore it can't be assumed that it already exists.
Give that a check and/or go and see if it solves your problem.
Cheers!Craig Wilson
Hello Craig,
Thanks for sharing your findings with Infragistics community, This appears to be the resolution for this case.
Hi Craig,
Worked a charm, thank you!