Hello,
I have a simple Kendo Grid with an id (int) and a type (string) data types as columns. When i try to do an edit the value of that string is returned null in the controller instead of the value i provided in the grid.
Any ideas why this is happening?
Thanks!
I have a simple Kendo Grid with an id (int) and a type (string) data types as columns. When i try to do an edit the value of that string is returned null in the controller instead of the value i provided in the grid.
Any ideas why this is happening?
Thanks!
4 Answers, 1 is accepted
0
Hello Christos,
Without seeing the implementation we can only guess what is the reason for this behavior. Could you please share the source code or provide a runnable project where the issue is reproduced? This would help us pinpoint the exact reasons and advice you further.
Regards,
Alexander Popov
Telerik
Without seeing the implementation we can only guess what is the reason for this behavior. Could you please share the source code or provide a runnable project where the issue is reproduced? This would help us pinpoint the exact reasons and advice you further.
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Christos
Top achievements
Rank 1
answered on 09 Oct 2013, 05:40 PM
Hello Alexander -
Here is the link to an isolated project:
http://chlogic.com/UATP.KendoUIMvcApplication.zip
Steps to reproduce the problem:
In the source code at PaymentsController.cs line 48 paymentVM.ProcessingState is always null which it should have the new value.
Please let me know what the problem is asap because we are evaluating this product.
Thanks!
Here is the link to an isolated project:
http://chlogic.com/UATP.KendoUIMvcApplication.zip
Steps to reproduce the problem:
- Run the project (go to root, for example http://localhost:55655/)
- Click on Payments at the top right
- Change values for the BIll column (for example enter E, F, G for each row)
- Click "Save changes"
In the source code at PaymentsController.cs line 48 paymentVM.ProcessingState is always null which it should have the new value.
Please let me know what the problem is asap because we are evaluating this product.
Thanks!
0
Accepted
Hello again,
Thank you for the attached project. I reviewed it and noticed that the accessors for the ProcessingState property are missing. Setting them as shown below fixes the issue:
Regards,
Alexander Popov
Telerik
Thank you for the attached project. I reviewed it and noticed that the accessors for the ProcessingState property are missing. Setting them as shown below fixes the issue:
public
class
tbl_BS_PaymentsViewModel
{
public
int
PaymentID {
get
;
set
; }
public
string
ProcessingState {
get
;
set
; }
}
Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Christos
Top achievements
Rank 1
answered on 10 Oct 2013, 01:59 PM
Thanks!