Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8713769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:25:08+00:00 2026-06-13T05:25:08+00:00

I am using VS express 2010 and .Net 4.0. I bind a DataGridView to

  • 0

I am using VS express 2010 and .Net 4.0.

I bind a DataGridView to a BindingList which implement INotifyPropertyChanged.

The value changed is reflected on the grid normally but failed when using Threading.Timers to do the update job.

As shown below , the value is updated but not shown unless the cells lost focus like “minimizing and maximizing” or “the grid is covered by other window” or “selecting the cells”.

http://i.minus.com/jViIpKKeNNRrB.PNG

I am a newbie. I had searched and I believe the threading.timer is bad in updating UI. But in my case, I am just updating the value.

I am tired of playing with the weak threading.timer. Any other recommendations for light-weighted timer would be appreciated! Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:25:09+00:00Added an answer on June 13, 2026 at 5:25 am

    The Threading.Timer isn’t “bad” at updating the UI, it just fires its event on a different thread to the UI thread and since UI must be updated on the UI thread you’re having your difficulties.

    You need to Invoke the update back on the UI thread.

    The easiest way to do this is:

    myControl.Invoke((Action)(() =>
    {
        myControl.Text = "Hello";
    }));
    

    Obviously replace your code into my example.

    Let me know if this works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Visual Web Developer 2010 Express on my laptop to run some ASP.Net
I am using .Net 4 and VS express 2010. I could make my post
I have created an application in VB.NET (using Microsoft Visual Basic 2010 Express) with
I am using VB.NET 2010 (Visual Basic 2010 Express) on a WPF-based project. I
I am wondering if I can use VB.NET(I am using visual studio 2010 express)
Using Visual WebDeveloper 2010 Express and ASP.NET 4.0 Don't know whether its relevant but
I'm using VB.Net and Visual Basic Express 2010. I'm looking to create a single
I'm using Visual Web Developer Express 2010, Windows XP, and using ASP.NET MVC4 RC
I am using VB.NET and WPF within Visual Studio 2010 Express. Currently, I have:
I am using visual c# express 2010. I need an installer that will allow

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.