Welcome to the Xceed Community | Help
Community Search  
More Search Options

Strange with Threads

Sort Posts: Previous Next
  •  09-08-2011, 10:58 AM Post no. 30999

    Strange with Threads

    I use MVVM Light for my program.

    My soft is a part of big program, it is wpf dll.

    So, with MVVM light I can use this construction for update all View's from ViewModel's: http://pastie.org/2503236

    When I open one dialog and Refresh() work's good, all tables show me smthng.

    But, when I close dialog and then open another dialog with Refresh() function in ViewModel, I will get an exception and this strange StackTrace: http://pastie.org/2503243 

     

    Why I have this with threads and what can I do to prevent it? 

    Filed under: , ,
  •  09-08-2011, 4:46 PM Post no. 31007 in reply to 30999

    Re: Strange with Threads

    Hi Mikhail, 

     Can you send us a sample application that demonstrates this issue so that we investigate this in more detail? 

    You can send it to support@xceed.com.  Please include a reference to this forum post in your email. 


    Best Regards,

    Michel Dahdah
    Technical Support
    Xceed Software inc.
  •  09-09-2011, 2:22 AM Post no. 31009 in reply to 31007

    Re: Strange with Threads

    I think, I can't, because I my soft is dll part of big application and you can't start it.

    That's smthng strange, because I use DispatcherHelper.CheckBeginInvokeOnUI, so there is not another thread, who can create my datagrid.

     

    Maybe I use an old version of DataGrid?

    I use 3.5.9616.13400 and my license key starts with DGP32. What is the latest version I can use and where I can get it? Or, maybe I will buy new version? Or something else? 

  •  09-09-2011, 4:08 AM Post no. 31013 in reply to 31009

    Re: Strange with Threads

    What a wonderful day =\\\

    I tried to use 3.6 version, but so parent application already use 3.5 and register dependcy objects - I can't use other version.

     

    OMG, what can I do? 

  •  09-11-2011, 4:12 AM Post no. 31016 in reply to 31013

    Re: Strange with Threads

    And, so, I have the same problem.

    Each window in application have there own GUI thread and each use exceed datagrid.

    But, if I take to grid only strings, not bool, not guid, not composite objects - all works good.

     

    It's very bad, I think. 

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.