Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Refresh Ultragrid when datasource is refreshed
posted

I am using Infragistics UltraGrid with BindingList. My bindingList gets populated by a stored procedure based on the inputs from the users. Users can select values which fires the stored procedure and repopulates the BindingList with new values.Every thing works fine except that the ultragrid doesn't get refreshed with this new set of values. Please suggest.


Parents
  • 469350
    Offline posted

    Hi,

    How are you refreshing your BindingList? If you use the Add method, then this will notify bound control that a new row was added. If you are using some other method, and the grid is not updating itself, then you must be somehow bypassing the BindingList's notifications.

    In that case, you should be able to refresh the grid by calling:

    grid.Rows.Refresh(ReloadData)

Reply Children