You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Microsoft.AspNet.Mvc.ModelBinding.TypeConverterModelBinder should bind byte and short types.
I think method Microsoft.AspNet.Mvc.ModelBinding.ValueProviderResult.GetConverterDelegate(Type destinationType) should cover this types.
Minimal repro steps
Create model with byte or short property.
Try to databind this model.
The text was updated successfully, but these errors were encountered:
anfomin
changed the title
TypeConverterModelBinder can not bind "byte" or "short"
TypeConverterModelBinder can not bind "byte" and "short"
Sep 11, 2014
sornaks
changed the title
TypeConverterModelBinder can not bind "byte" and "short"
TypeConverterModelBinder cannot bind "byte" and "short"
Oct 12, 2014
…ata to Enum parameter.
Fix: Using TypeConverter solves this problem.
Issue #1123 - TypeConverterModelBinder cannot bind "byte" and "short".
Fix: Modified code to use TypeConverter which can handle these scenarios.
…ata to Enum parameter.
Fix: Using TypeConverter solves this problem.
Issue #1123 - TypeConverterModelBinder cannot bind "byte" and "short".
Fix: Modified code to use TypeConverter which can handle these scenarios.
…data to Enum parameter.
Fix: Using TypeConverter solves this problem.
-Issue #1123 - TypeConverterModelBinder cannot bind "byte" and "short".
Fix: Modified code to use TypeConverter which can handle these scenarios.
-Removing the GetConverterDelegate method and making the code similar to the WebApi.
Microsoft.AspNet.Mvc.ModelBinding.TypeConverterModelBinder
should bindbyte
andshort
types.I think method
Microsoft.AspNet.Mvc.ModelBinding.ValueProviderResult.GetConverterDelegate(Type destinationType)
should cover this types.Minimal repro steps
byte
orshort
property.The text was updated successfully, but these errors were encountered: