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

3 posts, 0 answers
  1. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 25 Nov 2009 Link to this post

    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. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 26 Nov 2009 Link to this post

    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.
  3. DevCraft banner
  4. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 26 Nov 2009 Link to this post

    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
Back to Top