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

[Solved] Pass additional values from clientside events

1 Answer 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Carl
Top achievements
Rank 1
Carl asked on 23 May 2011, 04:06 PM
The latest internal build just released today 5/23 has a number of "FIX"s including one for "pass additional values from delete or submitchanges clientside events". Thanks.

It would be really helpful as a learning aid to provide links to the forum thread or demo sample addressing the issue and/or explaining the fix and/or teaching best practice. 

I looked in PITS, tried a search in the forum, but not sure. I'd like to know alternative methods or recommended best practices for "passing additional values" back and forth from clientside events in a situation where it would be ideal to separate an "additional value" from the "main model".

The bug fix in the 5/23 internal build released today appears to be related to this question, and I'd like to learn more about it. Thanks much. 

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 May 2011, 08:08 AM
Hello Carl,

 This issue never went to PITS hence you won't be able to find it. It was reported and we fixed it. What it allows is to send additional values from the OnDelete and OnSubmitChanges events in the same way as the OnSave event currently allows. Something like this:

funciton onDelete(e) {
   e.values = { additionalParam: 33, otherParam: "foo" };
}

Regards,
Atanas Korchev
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
Tags
Grid
Asked by
Carl
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or