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

[Solved] Passing values with e.data for onDataBinding

2 Answers 41 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.
Nicole
Top achievements
Rank 1
Nicole asked on 09 Sep 2011, 04:33 PM
I am trying to use onDataBinding to pass in values from the view model.

This issue that I am having is trying to use e.data to pass values where the form would look like:
e.data = {PhoneNumber.AreaCode : "615"};

How do I pass this type of value to the action method of the controller?

2 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 12 Sep 2011, 11:35 AM
Hello Nicole,

Could you try the following:

e.data = { "PhoneNumber.AreaCode" : "615"};

Regards,
Rosen
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
Nicole
Top achievements
Rank 1
answered on 15 Sep 2011, 10:20 PM
That did the trick.

Thanks!
Tags
Grid
Asked by
Nicole
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Nicole
Top achievements
Rank 1
Share this question
or