Gridview and formview view changes

- Programmatically set visibility of controls.