Issue regarding the control redrawing...
I have got two fields in a datatable consisting of "ID" and "FirstName", i have implemented two combobox to display those ID and "FirstName" separately....The requirement is that if i selected a certain "ID" then its corresponding "FirstName" should be reflected in the corresponding FirstName combobox. The vice-versa should also be true.Moreover those ID and FirstName should be in sorted order.
So i used a binding source to sort the value in the combobox in "Enter" event. Such that when the control/focus enters "ID" the ID combobox is populated with the sorted IDs and when FirstName combobox is entered, the data are sorted my "FirstName". However i am getting a control redrawing problem in slow PCs such that when i click/enter the "ID" combobox, while the data is being sorted in that combobox the "FirstName" control/combobox disappears for a sec or 2.
How could i solve this problem....??? Please help....
Thanks in advance..
ruleDworld
|