Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I wanted to know if we can remove/hide/disable a column/items of a datalist on an event. I was trying to hide a column of my datalist on DropDownList's index change. Please let me know how it will be done, do I have to use dataview or else?
Posted
Comments
Sergey Alexandrovich Kryukov 26-Dec-11 2:44am    
So hide or remove?
--SA
07navneet 26-Dec-11 3:01am    
to be precise, hide.

on the event selectedIndexChange:

Use foreach loop for datalist for header and for items also and false the visibility of column. if any clarification then tell me.
 
Share this answer
 
Comments
07navneet 26-Dec-11 3:02am    
It would be better if you explain with an example.
 
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