-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Description
Hi Folks,
In my project, i have my own component with set of properties. Recently i have updated my project into .NET core. But i got the result differs from MVC but both values were same. I explained my scenario in below.
- I have the property named as Value for my component and its datatype as "object" (for receiving any type values)
<cgf-stu id="12" **cgpa="8/10"** **percentage="80%"**></cgf-stu>
- Initially i set the value in a format like "6/12". Its working fine in MVC project but not in .NET Core project.
- In .NET core it returns the value as "0". In my case i want to process multiple type of values.
In another one case, if i trying to set the value "50%" to object datatype property, my project was broken with error.
Could you suggest the solution in ASP.NET Core project, how to receive multiple types of data's in single datatype like as "Object" behavior in MVC project,.
Metadata
Metadata
Assignees
Labels
No labels