Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to hide and show listview columns in asp.net

I have 4 Header Columns in this i have sub columns by default i want to show 1 column and that column sub columns in list view renaming header columns i want to show but remaining sub columns i want to visible false . when i cleck header column that related header column and sub columns i want to show in list view in asp.net.
??
Posted
Updated 9-Apr-15 3:03am
v3

1 solution

Assuming your column name is myColumn, you can try this - myView.FindControl("myColumn").Visible = false;
 
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