+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / RadGrid is not updating database

RadGrid is not updating database

6 posts, 0 answered
  1. andersleet
    andersleet avatar
    155 posts
    Registered:
    03 Jun 2009
    01 Jul 2009
    Link to this post
    Hello again,

    Finally I am out of the terrible error-jungle that I was in (note to self, do NOT use SQLExpress for local development!). I now have another issue:

    I am working on a custom module for sitefinity and I am following Gabe Sumner's webinar on the subject. I just created my tables and my LINQ to SQL data access layer, and have bound it to a RadGrid. I enabled the 'add new record feature', as well as enabled delete/insert/update on the LinqDataSource:


    When I go to add or modify a record, it allows me to do so but the changes are not reflected on the page, refreshing the control doesn't help. Viewing the table inside of Microsoft SQL Server Management Studio shows that no updates took place either.

    So there must be something that I am missing...a setting or switch or something that I overlooked during the webinar that is preventing my RadGrid from adding/updating/modifying my records.

    Thanks in advanced!
    anders
  2. andersleet
    andersleet avatar
    155 posts
    Registered:
    03 Jun 2009
    01 Jul 2009
    Link to this post
    I missed one setting on the RadGrid, all is well now :)

    I should start double checking these things before posting!

    Thanks again!
    anders
  3. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    02 Jul 2009
    Link to this post
    Hello andersleet,

    I am glad everything is fine.
    Let us know if you have further questions.

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  4. chrisL
    chrisL avatar
    2 posts
    Registered:
    07 Dec 2005
    03 Dec 2010
    Link to this post
    What was the one setting?
  5. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    03 Dec 2010
    Link to this post
    Hello chris,

    You shout better take a look at



    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. chrisL
    chrisL avatar
    2 posts
    Registered:
    07 Dec 2005
    04 Dec 2010
    Link to this post
    Thanks. For others reference i had missed out these settings in my grid:

                        AllowAutomaticDeletes="true"
                        AllowAutomaticInserts="true"
                        AllowAutomaticUpdates="true"
Register for webinar
6 posts, 0 answered