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

Update/Delete from Grid

1 Answer 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 19 Aug 2014, 02:00 PM
Hi Everyone,

I'm currently looking into Telerik UI for ASP.net by using a friend of mind computer. I have a question and was wondering if someone can help me.  I created a RadGrid and bind it to an SqlDataSource and enable Insert, Update, Delete.  However, I notice that I can't "Update" or "Delete" any of the records in the grid like Microsoft GridView(I didn't try insert or too concern with that yet). I also try using EntityDataSource without any luck.  Do I have to create code-behind to perform these functions such as "Insert,Update,Delete"?   Below is an example of the EntityDataSource.
<asp:EntityDataSource ID="EntityDataSource2" runat="server"
                  ConnectionString="name=TBSDBContext" DefaultContainerName="TBSDBContext"
                  EnableDelete="True" EnableFlattening="False" EnableInsert="True"
                  EnableUpdate="True" EntitySetName="Offices" EntityTypeFilter="Office">
              </asp:EntityDataSource>

1 Answer, 1 is accepted

Sort by
0
Anthony
Top achievements
Rank 1
answered on 19 Aug 2014, 07:40 PM
I finally was able to figure out the problem.  I was mixing AjaxScriptManager instead of using RadScriptManager.
Tags
Grid
Asked by
Anthony
Top achievements
Rank 1
Answers by
Anthony
Top achievements
Rank 1
Share this question
or