Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6639069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:30:40+00:00 2026-05-25T23:30:40+00:00

I have a RadGrid on a sitefinity page, I am using it to create

  • 0

I have a RadGrid on a sitefinity page, I am using it to create a module to proform CRUD on a database table in the backend.

If I put the RadGrid on a aspx page and view in browser, it works fine, However when I add it to a site finity back end page, Only the refresh and delete work, the add and update dont save to the database.

I can only assume something in the sitefinity backend if conflicting with the RadGrid Ajax

here is my code:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="newsArticleAdmin.ascx.cs" Inherits="SitefinityWebApp.Modules.newsArticles.admin.newsArticleAdmin" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<div style="clear:both;"></div>
<div id="adminContents">

<h2>News Articles</h2>
<p>These articles appear on the home page</p>
<br />


<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>


<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />

                <telerik:AjaxUpdatedControl ControlID="SqlDataSource1" />

            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>


    <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True"
        AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
        AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" CellSpacing="0"
        DataSourceID="SqlDataSource1" GridLines="None" Skin="Telerik">


<MasterTableView AutoGenerateColumns="False" CommandItemDisplay="TopAndBottom"
            DataKeyNames="fld_blogPostId" DataSourceID="SqlDataSource1"
            EditMode="InPlace">
<CommandItemSettings ExportToPdfText="Export to PDF"
        AddNewRecordText="Add new article"></CommandItemSettings>

<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
</RowIndicatorColumn>

<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
</ExpandCollapseColumn>

    <Columns>
        <telerik:GridBoundColumn DataField="fld_blogPostId" DataType="System.Int32"
            FilterControlAltText="Filter fld_blogPostId column" HeaderText="fld_blogPostId"
            ReadOnly="True" SortExpression="fld_blogPostId" UniqueName="fld_blogPostId">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogTitle"
            FilterControlAltText="Filter fld_blogTitle column" HeaderText="fld_blogTitle"
            SortExpression="fld_blogTitle" UniqueName="fld_blogTitle">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogContents"
            FilterControlAltText="Filter fld_blogContents column"
            HeaderText="fld_blogContents" SortExpression="fld_blogContents"
            UniqueName="fld_blogContents">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogDate"
            FilterControlAltText="Filter fld_blogDate column" HeaderText="fld_blogDate"
            SortExpression="fld_blogDate" UniqueName="fld_blogDate">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogImage"
            FilterControlAltText="Filter fld_blogImage column" HeaderText="fld_blogImage"
            SortExpression="fld_blogImage" UniqueName="fld_blogImage">
        </telerik:GridBoundColumn>
    </Columns>

<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>

        <StatusBarSettings LoadingText="Loading articles..."
            ReadyText="Articles ready" />

<FilterMenu EnableImageSprites="False"></FilterMenu>

<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
    </telerik:RadGrid>


    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:NewsArticlesConnectionString %>"
        DeleteCommand="DELETE FROM [tbl_newsArticles] WHERE [fld_blogPostId] = @fld_blogPostId"
        InsertCommand="INSERT INTO [tbl_newsArticles] ([fld_blogTitle], [fld_blogContents], [fld_blogDate],
[fld_blogImage]) VALUES(@fld_blogTitle, @fld_blogContents, @fld_blogDate, @fld_blogImage)"
        SelectCommand="SELECT * FROM tbl_newsArticles"
        UpdateCommand="UPDATE [tbl_newsArticles] SET [fld_blogTitle] = @fld_blogTitle, [fld_blogContents] = @fld_blogContents,
[fld_blogDate] = @fld_blogDate, [fld_blogImage] = @fld_blogImage WHERE fld_blogPostId = @fld_blogPostId">
        <DeleteParameters>
            <asp:Parameter Name="fld_blogPostId" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="fld_blogTitle" />
            <asp:Parameter Name="fld_blogContents" />
            <asp:Parameter Name="fld_blogDate" />
            <asp:Parameter Name="fld_blogImage" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="fld_blogTitle" />
            <asp:Parameter Name="fld_blogContents" />
            <asp:Parameter Name="fld_blogDate" />
            <asp:Parameter Name="fld_blogImage" />
            <asp:Parameter Name="fld_blogPostId" />
        </UpdateParameters>
    </asp:SqlDataSource>


</div>

Anyone seen this before and know of a fix?

Cheers

Andrew
@atmd83

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:30:40+00:00Added an answer on May 25, 2026 at 11:30 pm

    try opening the page in the backend page editor and make sure that “enable view state” is set to true. by default, backend pages in Sitefinity are usually set with this disabled, as most of the backend uses AJAX.

    hope this is helpful!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Have radgrid in my page. When i turn off view state and in
I have a Telerik RadGrid on my aspx web page. I notice that when
I have an aspx page with a Telerik RadGrid right on the page. Then
I have a radGrid on the page with the Add New Record button. When
I have a telerik radgrid that is doing an insert using an objectdatasource. The
I have a telerik radgrid-control on my page for showing a list of articles.
I have a class that defines a Hierarchical RadGrid that I will be using
I have a page with a Telerik RadGrid and a Telerik drop-down list. The
I am using Jquery dialog to show radgrid. I have set AllowFilteringByColumn to true
I have just come across a Casting Exception while using the Telerik RadGrid. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.