Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,

in button Click event how to show gridview and asp.net controls. I needs this one in asp.net web page. Plese answer me,
Regards,
Manu.
Posted

1 solution

Hi,

What i understand i that you have a gridview and other asp.net controls with Visible property =false and you want to show them on button click

use this in buttonclick event

Gridview1.Visible=true;

controlname.Visible=true;


If Grid already have Visible =true,the on button click event use data source for it

like

Gridview.DataSource = datasource
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900