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

RadGrid update issue

4 Answers 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 12 Oct 2010, 11:34 AM
Hi Telerik,

I have a radgrid. When i double click a particular row i get the grid in edit mode.(which i have done using javascript). I am using inplace editmode. I want to update the grid and save  the values of the row to the database on button click event. I am using an asp button which is placed outside the grid.  I am able to change the value in each cell, but i am not able to read the changed values. I don't have any unique columns. So i have not set datakeyname property.  I am using grid template columns in which i have different controls for each column(dropdownlist,checkbox,textbox). Please help me in this regard. Reply me asap.

Thanks in advance,
Priya

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Oct 2010, 12:16 PM
Hello Priya,

I suggest you review this forum thread which elaborates on the same subject.
http://www.telerik.com/community/forums/aspnet/grid/update-with-external-button.aspx

Kind regards,
Pavlina
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
0
Priya
Top achievements
Rank 1
answered on 12 Oct 2010, 12:58 PM
Hi Pavlina ,

Thanks for your immediate reply. I went through that forum. But still am not getting the new values.

Regards,
Priya
0
Pavlina
Telerik team
answered on 15 Oct 2010, 11:32 AM
Hi Priya,

If you want to extract the new values from the edited table row, you can use 'extractValuesFromItem' method. For more information, check this help topic: Updating values in-place and with edit forms 

Regards,
Pavlina
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
0
Priya
Top achievements
Rank 1
answered on 24 Oct 2010, 01:07 PM
HI,

Thanks for your reply. I got the solution. I used If (!IsPostback) while binding the grid on Page Load. That solved the issue.

Regards,
Priya
Tags
Grid
Asked by
Priya
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Priya
Top achievements
Rank 1
Share this question
or