This is a migrated thread and some comments may be shown as answers.

rebind() doesn't work, but refresh button does

2 Answers 115 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Andre Vovan
Top achievements
Rank 1
Andre Vovan asked on 24 Jul 2008, 08:44 PM
I've created the grid on runtime with code below in an acsx file.  whenever I am inserting a new record it will recognize the new record being inserted but the grid will not update the database.

But everytime I click the refresh button on the commandline it actually refreshes my grid with the updated data.

Rebind() does not work if you bind your datasource manually, my company does not allow any drag and drop datasources.

2 Answers, 1 is accepted

Sort by
0
Andre Vovan
Top achievements
Rank 1
answered on 24 Jul 2008, 08:47 PM
by the way, everytime I reassign the datasource and use databind() again it will actually grab the new data
0
Vladimir
Top achievements
Rank 1
answered on 24 Jul 2008, 08:58 PM
Hi Peter,

Rebind() will work only in case of advanced data-binding using NeedDataSource or DataSourceID.

Vlad

Tags
Grid
Asked by
Andre Vovan
Top achievements
Rank 1
Answers by
Andre Vovan
Top achievements
Rank 1
Vladimir
Top achievements
Rank 1
Share this question
or