Pending Review
Last Updated: 22 Jun 2018 07:05 by Nicolas
Nicolas
Created on: 22 Jun 2018 07:05
Category: Grid
Type: Feature Request
1
Entity Framework Code First, Model Binding, RadGrid default insert values
Using Entity Framework Code First and model binding in a RadGrid, in insert row there is a default value for all non-string types that are not nullable.

For example "0" for Int or Decimal, "01/01/0001" for Date, etc...

So we have to make code to clear these values in textboxs or make SQL requests to give a default value to RadComboBoxs linked to a Foreign Key.

This does not happens using a FormView and model binding.
This does not happens using a RadGrid and EntityDataSource .

Please make an option to let all controls blank in insert mode without doing code !
0 comments