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

RadGridView problem with RowData

4 Answers 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dragan
Top achievements
Rank 1
Dragan asked on 11 Nov 2010, 03:24 PM

Hi,

We have RadGridView, with columns such as itemid, price, quantity, total, ....
If we add a new line or changing an existing in Edit Form it is needed that “Handler” automatically fill in other fields, based on new value.
All fields are related-linked from childlink's and should respond to the changing values
Question:
1. why they do not respond
2. while confirming the entries need to recalculate   total value (price * quantity), but he fails to do so with values that are currently in the field but with the old values before the update..

Does anyone can help?

Thanks,

Dragan



4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Nov 2010, 04:24 PM
Hi Dragan,

The new values which the user entered before triggering the Update command can be fetched calling the ExtractValuesFromItem method. Review this link for additional information:
http://www.telerik.com/help/aspnet-ajax/grdretrieveoriginalvaluesforediteditem.html

Best wishes,
Pavlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Dragan
Top achievements
Rank 1
answered on 19 Nov 2010, 03:16 PM
Hi Pavlina,

I have tried what you suggested me but I do not fix the problem ...
It seems that the biggest spring is that my Recalc does not react with the new values in fields of EditForm.
It is because I do not want to select them like it is described in your topic. I need them as DataRow

Thanks anyway,

Dragan.
0
Pavlina
Telerik team
answered on 22 Nov 2010, 06:35 PM
Hello Dragan,

You can examine this help article and see if it helps:
Referencing controls in grid row/edit form

Sincerely yours,
Pavlina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Dragan
Top achievements
Rank 1
answered on 29 Nov 2010, 01:44 PM
Thank you,
Dragan
Tags
Grid
Asked by
Dragan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Dragan
Top achievements
Rank 1
Share this question
or