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

Grid update call posts redundant data

0 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fredy
Top achievements
Rank 1
Fredy asked on 19 Aug 2012, 12:41 PM

I am using Kendo UI MVC wrappers for my project . Here is a sample POST data during an update call:

Category.Text   Excluded
Category.Value  0
Category[Text]  Excluded
Category[Value] 0
HiddenDevice    false
ID  8
IconType    3
Info.IPAddress  10.200.93.125
Info.Model  xxx
Info.SerialNumber   xxx
Info[IPAddress] 10.200.93.125
Info[Model] xxx
Info[SerialNumber]  xxx
Name    xxx
Status.Type Connected
Status[Type]    Connected
Trigger.ID  1
Trigger.Name    xxx
Trigger[ID] 1
Trigger[Name]   xxx
filter
group 
sort

I've used client-side ajax binding. All non-flattened model variables have two sets of data in post call.

Also earlier when using telerik MVC model decorated with read-only data annotations wont be posted during update call, but not any more.
While migrating from telerik MVC to kendo UI MVC, am facing some issues with non-flattened variables. 

Do I have to handle all these cases manually in client js events or am i doing something wrong?

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Fredy
Top achievements
Rank 1
Share this question
or