One way update AJAX for table

Posts   
 
    
wexa
User
Posts: 38
Joined: 27-Jul-2007
# Posted on: 06-Jun-2008 01:04:53   

We have a master/detail form, specifically is for an inventory system.

The application is for ASP and we are using developer express aspxtragrid.

We are using AJAX so we dont have postbacks, we want to add a row using a custom control, the control has a product search textbox (using AJAX), some other text input fields and then a save button.

We are having problems with the grid, we save the data in DB and then refetch the datasource, the problem is that sometimes we have up to 1,000 rows on the detail grid, so we dont want to be refetching the grid datasource on each update.

What is recommended here? Can we save all the data as a variable an then send one transaction to database?? Or can we make the insert on database and in the front end so we dont have to refetch all the collection???

Regards and we aprpreciate your help

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 06-Jun-2008 11:24:51   

You case is not 100% clearly presented, would you please attach code snippets of the control aspx declarations and possible any relevant code behind. Also metioning the used LLBLGen Pro runtime library would help.