Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
265
Manual CRUD: RowAddingEventArgs.Values.Count != Columns.Count
posted

Hi -

Im trying to implement a CRUD operation from client side, I have 4 columns at grid:

Col1D_hidden (BoundDataField),
Col2Eq (TemplateDataField),
Col3Com (BoundDataField),
Col4Is (TemplateDataField)

When server side event for RowAddingHandler is fire the RowAddingEventArgs argument only have 2 values at the property Values.

I have try the following approaches: 
1. Setting hidden BoundDataFields for those template data fields.
2. Modifying the array of values set when using the .add(entity) JavaScript method.

Is WebDataGrid only supporting to send bound data fields values when doing CRUD operations from client or what should be the correct approach to include those values from the TemplatedDataFields when sending the event argument values to the server, can some one give a sample how to do it.

I have enclosed an attachment to give more evidence on this issue.

Thanks for all your contributions.

2010-07.zip