Click here to Skip to main content
15,885,825 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: ItemsPresenter ! Pin
ABitSmart29-Mar-09 5:07
ABitSmart29-Mar-09 5:07 
GeneralRe: ItemsPresenter ! Pin
Mohammad Dayyan29-Mar-09 5:11
Mohammad Dayyan29-Mar-09 5:11 
GeneralRe: ItemsPresenter ! Pin
ABitSmart29-Mar-09 5:13
ABitSmart29-Mar-09 5:13 
QuestionMinimizing a WPF window ? Pin
Mohammad Dayyan28-Mar-09 4:55
Mohammad Dayyan28-Mar-09 4:55 
AnswerRe: Minimizing a WPF window ? Pin
ABitSmart28-Mar-09 5:20
ABitSmart28-Mar-09 5:20 
GeneralRe: Minimizing a WPF window ? Pin
Mohammad Dayyan28-Mar-09 6:02
Mohammad Dayyan28-Mar-09 6:02 
GeneralRe: Minimizing a WPF window ? Pin
ABitSmart28-Mar-09 6:03
ABitSmart28-Mar-09 6:03 
QuestionWPF application with listview hangs and threads keep increasing Pin
Pankaj Chamria27-Mar-09 21:02
Pankaj Chamria27-Mar-09 21:02 
Hi,
There is a weird problem for which I will have to do some explanation on background.

I am working on a WPF client application which has about 3-4 usercontrols loaded, each having a listview displaying records using a observable collection. This observable collection is a collection of class instances that follow the INotifyPropertyChanged model. Upon each change in the collection the change reflects onto the listview column. Updates to existing rows in the collection keep streming in from the server using WCF TCP/IP at about 100-200 updates per second.

The issue is that once in a while the UI just freezes and then the no of threads attached to the process (seen in the task manager) keep on increasing exponentially.. I have no clue why this happens.. when i debug the updates are still coming in and observable collection is still getting updated.. but the UI hangs.. This does not happen always or on a particular action.

I am using Dispatcher.BeginInvoke when adding items to the listview but not when updating the properies of instances within the collection as observable collection automatically takes care of such updates. I am also using Virtualization in listview which is anyways enabled by default.

Any clues what could be causing this..

Pankaj Chamria,
Software Programmer.

AnswerRe: WPF application with listview hangs and threads keep increasing Pin
ABitSmart28-Mar-09 1:13
ABitSmart28-Mar-09 1:13 
GeneralRe: WPF application with listview hangs and threads keep increasing Pin
Pankaj Chamria3-Apr-09 6:03
Pankaj Chamria3-Apr-09 6:03 
GeneralRe: WPF application with listview hangs and threads keep increasing Pin
ABitSmart3-Apr-09 6:31
ABitSmart3-Apr-09 6:31 
AnswerRe: WPF application with listview hangs and threads keep increasing Pin
BlitzPackage28-Mar-09 2:31
BlitzPackage28-Mar-09 2:31 
QuestionBest components or framework for real-time desktop application? Pin
SirajP27-Mar-09 12:11
SirajP27-Mar-09 12:11 
AnswerRe: Best components or framework for real-time desktop application? Pin
BlitzPackage27-Mar-09 16:40
BlitzPackage27-Mar-09 16:40 
QuestionWPF ResourceDictionary problem Pin
#realJSOP27-Mar-09 4:02
mve#realJSOP27-Mar-09 4:02 
AnswerRe: WPF ResourceDictionary problem Pin
Pete O'Hanlon27-Mar-09 4:13
mvePete O'Hanlon27-Mar-09 4:13 
GeneralRe: WPF ResourceDictionary problem Pin
#realJSOP27-Mar-09 4:22
mve#realJSOP27-Mar-09 4:22 
GeneralRe: WPF ResourceDictionary problem Pin
Pete O'Hanlon27-Mar-09 4:38
mvePete O'Hanlon27-Mar-09 4:38 
GeneralRe: WPF ResourceDictionary problem Pin
#realJSOP27-Mar-09 4:50
mve#realJSOP27-Mar-09 4:50 
GeneralRe: WPF ResourceDictionary problem Pin
Pete O'Hanlon27-Mar-09 4:55
mvePete O'Hanlon27-Mar-09 4:55 
AnswerRe: WPF ResourceDictionary problem [OT] Pin
Wes Aday27-Mar-09 9:17
professionalWes Aday27-Mar-09 9:17 
GeneralRe: WPF ResourceDictionary problem [OT] Pin
BlitzPackage27-Mar-09 14:53
BlitzPackage27-Mar-09 14:53 
GeneralRe: WPF ResourceDictionary problem [OT] Pin
#realJSOP28-Mar-09 1:03
mve#realJSOP28-Mar-09 1:03 
GeneralRe: WPF ResourceDictionary problem [OT] Pin
BlitzPackage28-Mar-09 2:35
BlitzPackage28-Mar-09 2:35 
GeneralRe: WPF ResourceDictionary problem [OT] Pin
#realJSOP28-Mar-09 1:00
mve#realJSOP28-Mar-09 1:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.