I have connected GridView with a datasource. It works fine but it is displ开发者_开发知识库ayed just at form load. I want to show it when user clicks the button. How to make it so?
Thanks
Try setting the Visible attribute of the GridView to false. In the Click handler of the button, set the Visible attribute of the GridView to true. Rebind and use an update panel if necessary.
If you post some source code, we can give you a working example.
精彩评论