Issue regarding the control redrawing...

csharp Nepal
  • 14 years ago

    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..

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Owning a computer without programming is like having a kitchen and using only the microwave oven” - Charles Petzold