Jan 09, 2016, 11:52 AM
Can't find equivalent of (Convert) for ModelField in MVC C#
Hi Community!
The following code block is creating store of a 100% stacked-bar chart in Ext Web Form.
The following code block is creating store of a 100% stacked-bar chart in Ext Web Form.
<Store>
<ext:Store runat="server" Data="<%# Data %>" AutoDataBind="true">
<Model>
<ext:Model runat="server">
<Fields>
<ext:ModelField Name="Month" />
<ext:ModelField Name="Data1" />
<ext:ModelField Name="Data2" />
<ext:ModelField Name="Data3" />
<ext:ModelField Name="Data4" />
<ext:ModelField Name="Other">
<Convert Fn="convert" />
</ext:ModelField>
</Fields>
</ext:Model>
</Model>
</ext:Store>
</Store>
I want to change the current code to C# MVC, I created the store and the rest of the parts but I can't find the equivalent of this part<Convert Fn="convert" />
in C# MVC. can anybody help me, please?
Last edited by nasim; Jan 09, 2016 at 11:56 AM.