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

Allow Automatic Updates (single table)

2 Answers 436 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jason
Top achievements
Rank 1
Jason asked on 06 Sep 2013, 02:23 PM

I am trying to use the  “Allow Automatic Updates” option on the Telerik RadGrid control in ASP.net. I thought this would be the easiest way to go but it isn’t working for me. I have a single table with all of the data that needs to be edited and I was going to just turn on the filtering for a quick and easy administrative console for this table. I am using a SQLDataSource as my data source for the grid. This is a single table so none of the hierarchy stuff applies.

Whenever I click edit, change some data and hit update the changes are removed from the form and nothing is updated. Any idea what I am doing wrong? I also don’t see a way to log or see any errors so this is all the info I have.

The sql query is a basic select * from table. No joins or anything.

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Sep 2013, 03:07 AM
Hi Jason,

Please try this demo on Grid - Automatic Operations. It's hard to identify what's the issue without your code,so please paste your complete code if the demo doesn't help.

Thanks,
Princy
0
Jason
Top achievements
Rank 1
answered on 11 Sep 2013, 06:46 PM
Actually I just got it working. Looks like it didn't like the "optimistic concurrency" option on the queries.
Tags
Grid
Asked by
Jason
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Jason
Top achievements
Rank 1
Share this question
or