iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi, I'm trying to migrate a page where few WI get currency values in Euro. In WI version 3.0 all works fine but in version 4.0 WI doesn't manage properly the currency format when the value is set during the page load.
I have attached few screenshots for WI 4.0 settings and how WI shows values after editing and after load.
Would you mind sending me a sample to manage properly the input and display of currency values in Euro.
This is WI code:
<ISWebInput:WebInput ID="WI_ImpoInEssere" runat="server" DecimalSeparator="" Font-Size="Small" Height="20px" InitialSelection="None" MaxDate="12/31/9998 23:59:59" MinDate="1753-01-01" WaterMarkText="WaterMark Text"> <HighLight IsEnabled="True" IsSelected="False" /> <EditFormat Type="Other"> <ErrorWindowInfo IsEnabled="False"></ErrorWindowInfo> </EditFormat> <DisplayFormat ErrorMessage="Digitare un valore" ErrorText="Digita importo" Format="€ ##.###,00" IsEnabled="True" IsValidateOnChange="False" Type="Number"> </DisplayFormat> <CalculatorEditor IsCollaborateWithHighLight="False"> </CalculatorEditor> <DateTimeEditor DateInputLink=""> <DropDownYearFrameStyle BackColor="White" BorderColor="Black" BorderWidth="1px"></DropDownYearFrameStyle> <DropDownMonthFrameStyle BackColor="White" BorderColor="Black" BorderWidth="1px"></DropDownMonthFrameStyle> </DateTimeEditor> <CultureInfo CultureName="it-IT"></CultureInfo> </ISWebInput:WebInput>
Thanks Regards.
Luciano
Hi Luciano,
Thanks for the snippet code and images you sent. Simply change its DisplayFormat's Format to "c" which stands for currency. I'd tried it on my end and it should work when you initialize the value on page load.
... <DisplayFormat ErrorMessage="Digitare un valore" ErrorText="Digita importo" Format="c" IsEnabled="True" IsValidateOnChange="False" Type="Number"> ...
We also have a documentation page about our WebInput's Data Formatting which you can visit here. Hope this helps.
Regards,Erwin Sanders
<tr> <td style="width: 30%; height: 23px; background-color: #9999cc"> <span style="font-size: 11pt; color: #ffffff; font-family: Verdana">Importo tessera</span></td> <td style="width: 70%; height: 23px; background-color: #9999cc"> <ISWebInput:WebInput ID="WI_ImportoTessera" runat="server" DecimalSeparator="" MaxDate="12/31/9998 23:59:59" MinDate="1753-01-01" WaterMarkText="WaterMark Text" Wrap="Hard"> <EditFormat> <ErrorWindowInfo IsEnabled="False"></ErrorWindowInfo> </EditFormat> <DisplayFormat ErrorMessage="Digita valore" ErrorText="Errore" IsEnabled="True" IsValidateOnChange="False" Type="Number" Format="c"> </DisplayFormat> <DateTimeEditor DateInputLink=""> <DropDownYearFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"></DropDownYearFrameStyle> <DropDownMonthFrameStyle BackColor="#FFFFFF" BorderColor="Black" BorderWidth="1px"></DropDownMonthFrameStyle> </DateTimeEditor> <CultureInfo CultureName="it-IT"></CultureInfo> </ISWebInput:WebInput> </td> </tr>
Hello Luciano,
Thank you for the report. Seems like this issue needs to be investigated further, it's been backlogged under ASPNET-396. In the meantime, try changing the value of ErrorText from "Errore" to "". This should remove the spacing under WebInput.
This hotfix will be release on our next updates at the end of the month along with the other small fixes as this categorizes as a 'non-stopper' issue.
By the way, I tried it with 10 WebInput controls embedded inside a table and there are no spacing displayed. You should define all the ErrorText to an empty string for this to work. I attached a sample for you to evaluate.
Hope this helps.
Best Regards,Erwin Sanders
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname