Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Refresh() Method
Message
From
08/07/2004 10:23:27
 
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00921607
Message ID:
00921982
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform