i




 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
why do not SetFocus row for the GridView when using the Thread ?
12-10-2015, 08:16 AM
Post: #1
why do not SetFocus row for the GridView when using the Thread ?
I have used Thread Thr = new Thread();
I do not SetFocus gridview1.FocusedRowHandle = i; it will warning: "Cross-thread operation not valid: Control 'gridControl1' accessed from a thread other than the thread it was created on."
you do not know how to fix this ?


Quote


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Using Thread read data of the gridView1 ? dongtrien 0 563 08-25-2016 01:29 AM
Last Post: dongtrien
  Read, write and processing each row of a gridview ? dongtrien 0 1,374 11-24-2015 03:16 AM
Last Post: dongtrien
  Winform controls cross thread problem haider.ali 0 3,509 08-18-2011 05:32 PM
Last Post: haider.ali
  Send bulk emails with thread asp.net nisar87 1 18,010 08-08-2011 10:47 AM
Last Post: Shafiur Rahman
  Programatically hide gridview row c# nisar87 7 15,218 04-26-2011 11:59 AM
Last Post: Usman



User(s) browsing this thread: 1 Guest(s)