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

Can we add/update/delete rows using GridView with RIA?

2 Answers 102 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 26 Nov 2009, 05:09 AM
Now that Q3 is out, I would like to replace MS datagrid with Telerik GridView to accomplish the following while working with RIA Services (either via DataSource or code behind):

a) Can I add new records to database using the grid directly? Currently I had to use MSFT DataForm to gather the data and then make the "SubmitChanges".
b) If yes, Can the grid perform the RIA validation inline? This was the second reason I used DataForm for, to perform data validation.
c) If yes, Can I also use Telerik MaskEdit in the grid as well?
d) Can I have DropDown combo box in the grid that is connected to Lookup tables?

Thank you in advance!
..Ben

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 26 Nov 2009, 09:33 AM
Hello Ben,

Straight onto your questions:

a) You can add records using RadGridView in exactly the same way as in MS DataGrid. You need however to execute SubmitChanges() for both grids to publish new data to the server.

b) Indeed validation is now supported - please check this post for more info.

c) There will be no problem to use masked edit in your cell template - please check this demo.

d) We don't have anything extra (automatic) or unusual here - same as MS DataGrid.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ben Hayat
Top achievements
Rank 2
answered on 26 Nov 2009, 02:38 PM
Vlad, thank you for speedy answer. Yes, I see the two big improvements in validation and editing on the top all the [new] great features. Time to learn the grid now!

Thanks again!
..Ben
Tags
GridView
Asked by
Ben Hayat
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Ben Hayat
Top achievements
Rank 2
Share this question
or