Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable sorting on specific column GridView
Message
 
 
À
26/01/2007 12:04:17
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01189687
Message ID:
01190525
Vues:
20
Hi Alexandre, that would make the entire grid unsortble. :( I have to disable the cols sortable property at run time. Also, as these are autogenerated cols I dont have the luxury of creating bound cols in advance. :(

Joe

>Hi Joe just put the AllowSorting property of the grid view to False.
>
>
>>Hello World,
>> I need to be able to disable sorting on a GridView that has auto generated fields. I never know what the fields will be in advance. :) At the very end of the pageload event gv.Columns.Count is always 0 even when in the middle of paging. Any help would be most appreciated.
>>
>>My humble thanks in advance,
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform