C
Christopher C. Bernholt
I have the following situation. I have a datagrid bound to an
arraylist. Initially, the arraylist is empty. When the user adds an
item, the item is added to the arraylist and then the datagrid is
updated by getting the currencymanager and calling its refresh method.
For reasons I won't go into here, at this point in time the datagrid is
simply for display purposes.
The problem is, there is a second or two delay from when the refresh
method is called and it returns but only on the first record. After
the first record is put into the arraylist, any subsequent additions to
the arraylist and calls to the currencymanager refresh method are
almost instantaneous.
Anyone run into this issue and/or know how to work around it?
Thanks!
--
--------------------------------------------------
Christopher C. Bernholt
I.T. Research & Development
..NET Re-Engineering Team
R & L Carriers, Inc.
http://www.gorlc.com
--------------------------------------------------
arraylist. Initially, the arraylist is empty. When the user adds an
item, the item is added to the arraylist and then the datagrid is
updated by getting the currencymanager and calling its refresh method.
For reasons I won't go into here, at this point in time the datagrid is
simply for display purposes.
The problem is, there is a second or two delay from when the refresh
method is called and it returns but only on the first record. After
the first record is put into the arraylist, any subsequent additions to
the arraylist and calls to the currencymanager refresh method are
almost instantaneous.
Anyone run into this issue and/or know how to work around it?
Thanks!
--
--------------------------------------------------
Christopher C. Bernholt
I.T. Research & Development
..NET Re-Engineering Team
R & L Carriers, Inc.
http://www.gorlc.com
--------------------------------------------------