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

Behaviour of AllowAutomaticDeletes , Inserts, Updates ...

5 Answers 147 Views
Grid
This is a migrated thread and some comments may be shown as answers.
EmpowerIT
Top achievements
Rank 2
EmpowerIT asked on 08 Jan 2008, 01:48 AM
Can some one clarify the behaviour of these properties?

From the examples, it seems you can set them on a few levels, but I have found that some of these levels do not seem to work

E.g I have a Radgrid with a MasterTableView and a Details Table section with one GridTableView.

I had set the properties AllowAutomaticDeletes/Inserts/Updates to true on both of these levels, however it was only working on the MasterTableView level.

I then saw an example where they had set these properties on the level above the MasterTableView, i.e
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" 
AllowAutomaticUpdates="True" AllowAutomaticInserts="True" AllowAutomaticDeletes="True" Skin="Web20"

Once i tried that, it worked. I then removed the properties from the detail table and it still worked (even though the documentation says that the default for these properties is false)

Is it supposed to be possible to set the properties individually for each detail table? If so, it does not seem to be working correctly

5 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 11 Jan 2008, 02:32 PM
Hello link64,

Indeed, there seems to be an issue with AllowAutomaticDeletes/Inserts/Updates for detail tables. It is always the RadGrid settings taken into account but not each individual table settings. Fortunately for the case described - MasterTableView with one detail table - you can easily configure the grid. Just set Master Table settings as per your requirements and set the detail table settings directly to RadGrid instead.

Our developers are notified of this so they will research the issue and provide a fix in a future version of RadGrid. Your Telerik points have been updated.

Kind regards,
Ves
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
EmpowerIT
Top achievements
Rank 2
answered on 17 Jan 2008, 10:56 PM
This hasn't been fixed in the latest version of the prometheus controls?
0
Sebastian
Telerik team
answered on 18 Jan 2008, 09:06 AM
Hi EmpowerIT,

Unfortunately we have not managed to fix this issue for the Q3 2007 SP1 version of RadGrid Prometheus. We will do our best to include it for SP2 or the official Q1 2008 version of our Prometheus suite. I hope that the workaround suggested by my colleague Ves is feasible temporary workaround for you.

Kind regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
EmpowerIT
Top achievements
Rank 2
answered on 27 May 2008, 06:19 AM
Can anyone confirm that this bug has been fixed in the latest release?
0
Sebastian
Telerik team
answered on 30 May 2008, 01:56 PM
Hello EmpowerIT,

Unfortunately we have not had enough time to address this issue in the latest release of RadGrid for ASP.NET AJAX. We will do our best to fix it for the upcoming versions of the product. In the meantime please use the workaround suggested by my colleague Ves - I hope it is applicable for you.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
EmpowerIT
Top achievements
Rank 2
Answers by
Ves
Telerik team
EmpowerIT
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or