开发者

Gridview data display on demand of user

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜