开发者

Gridview data display on demand of user

开发者 https://www.devze.com 2023-04-02 03:03 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消