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

I am using ASP.NET 3.5.
I want to generate clickable columns dynamically in Gridview control.
Please note that no. of columns i.e. going to add in gridview is not fixed.

please provide your valuable suggessions???
you can also add your comments for any clarifications...
Posted
Comments
Sanjay Kunjam 2-Jul-12 1:38am    
Your question is not clear..
Every column in GridView will be clickable when you set the property Sorting=True.

You can also add columns in GridView dynamically.
Vipin_Arora 2-Jul-12 1:52am    
Hi Sanjay,
u got my point,I need every column clickable, but I didnt find such property (sorting or sotable) in ASP.NET
Sanjay Kunjam 2-Jul-12 2:22am    
use AllowSorting="True"
Vipin_Arora 2-Jul-12 3:11am    
Thanks Sanjay.. if u wish, u can put your answer as a solution...I will accept it as a solution..
Sanjay Kunjam 2-Jul-12 3:19am    
Thanks Vipin.... you got the solution. Its OK.

1 solution

 
Share this answer
 
Comments
Vipin_Arora 2-Jul-12 1:53am    
columns are not clickable in this link..I need clickable columns

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