Hi MST,
Thanks for the update.
Query: “ Replying with the solution here for the benefit of others && The solution was to change the TValue to int?”
We are glad to hear that you have resolved your query one your own.
Yes. In your code example you have defined the DropDownList with Text and Value inside the Grid Edit Template. So TValue of DropDownList must be based on type of Value property in DropDownField Settings. Similarly TItem must be same as the type of Datasource of DropDownList.
Kindly get back to us if you have further queries.
Regards,
Vignesh Natarajan