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
250
Can't get the Grid to udpate
posted

Hi!

I'm using IG 2008.1 and .NET 2.0. I bound an UltraWebGrid to an SQL DataSource.
Below the Grid I placed a button that calls a Stored Procedure wich changed the SQL data. Now I want to refresh the Grid. I tried to use the databind() method, but that didnt' work.

 What can I do to programatically refresh the Grid?

 Thank you in advance!

Parents
  • 2211
    posted

    GermanDev -

     More information would be helpful. However, you must also set the datasource property of the grid to the updated datasource, usually a dataset.

    webgrid.datasource = thenewdataset

    webgrid.databind()

    Patrick

Reply Children