did you means when you press show then datagrid appear and when you press hide then datagrid disappear??
if i m not wrong try to using datagrid.visible = false to hide and datagrid.visible = true to show.
Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444