I have connected GridView with a datasource. It works fine but it is displayed just at form load. I want to show it when user clicks the button. How to make it so?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.