|
-
Mar 27th, 2007, 06:09 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Manually FetchRowStyle
This part works:
I have 2 lists
Selecting a row in list1 causes list2 to be repopulated. If an item (sort of like an email) in list2 has not been viewed, its font is bold. So, if ANY item in list2 is bold, so is the entry in list1. So, you have say Sent Items, and Received Items in List1. Click on Sent Items, list2 contains all Sent Items. If ANY of the sent items in list2 are bold, I want the Sent Items entry in List1 to be bold.
That works fine
This part doesn't:
When the FetchRowStyle events for list2 fires and Unbolds the last item in list2, the corresponding item in list1 will not unbold until the selection changes, or if you minimize and maximize. Basically, (duh) not until the FetchRowStyle event for list1 fires.
The question:
How do I force the FetchRowStyle event for list1 to fire for every row?
I have tried a number of things (list1.refresh, creating my own FetchRowStyleEventArgs, etc.), and I cannot figure this out.
VB.Net 2008
.Net Framework 2.0
"Must you breathe? 'Cause I need heaven..."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|