Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Refresh() Method
Message
De
08/07/2004 10:23:27
 
 
À
08/07/2004 10:03:08
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00921607
Message ID:
00921982
Vues:
19
Kevin,

That's a great idea...I'll overload a bool parameter for that option.

I haven't played with datagrids much yet. Can a datagrid be setup to behave like a multicolumn listbox? IOW, entire row highlighted, and user can sort on the various columns.

>Hey, Steve,
>
>Just wanted to throw out an additional idea...I had to do something similar to this (for a datagrid).
>
>I actually had to implement a find/find next, because the first 'hit' might not have been the one the user was looking for. So I wrote a function similar to yours, and passed a parameter for whether to start at the top, or one row beyond the current position (as reported by the binding manager).
>
>Also, I'm not sure if you need to contend with this, because I'm not sure if listboxes can be sorted...because a datagrid can be sorted on any column, I had to consistently use the datatable's defaultview when scanning and setting the binding position, so make sure it was 'apples to apples'.
>
>These may not apply to your situation, but figured I'd mention them.
>
>Kevin
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform