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 am experiencing an issue with WebInput 4.0 when using comma (,) as a decimal separator. I have tried with Danish (da-DK) and Swedish (sv-SE) locale, and both are displaying the same issue. I have tried to set the locale directly on the component as well as through web.config, this had no effect.
The issue is that when entering a decimal number, the decimals are replaced with zeroes and the separator is replaces with a dot (.). Please see attached file. All input boxes were loaded with values on pageload and all looked correct. After changing the value of the third input box to 4,44 (the format looks correct while in edit mode), the value displayed is 4 .00.
I use WebFlyPostBackManager to call a save function. When calling this function and accessing the value of the changed input box, the value is now nothing. If I use en-AU as locale everything works as expected. I declare the input box as per below:
<ISWebInput:WebInput ID="wiPenaltyInterestRate" runat="server" Width="100%" DecimalSeparator=","> <DisplayFormat Format="n" IsEnabled="True" Type="Number"> </DisplayFormat> <ClientSideEvents OnAfterValueChanged="data_changed"> </ClientSideEvents> </ISWebInput:WebInput>
I have had multiple issues with WebInput 4.0 and have had to use version 3 until now, so I would really appreciate a solution to this problem.
Regards
Christian Luckow
Hi Christian,
I have replicated your issue. Unfortunately, a simple solution for now just using the other culture (i.e: en-AU) just like you did before. Or still use sv-SE but you can't edit its DisplayFormat (set IsEnabled="False").
I have forwarded this issue to our development team for the further investigated.
Regards,
Riendy
Hello Christian,
Sorry for this invonience before.I ensure that your issue status has been on investigated now.
I will let you know soon when I get any updates from our development team.
This issue was discussed.
I will ask directly for an ETA and any updates for this issue after they done.
I'm so sorry for the latest respone.
Our development team has been fixed this issue and I would like to send a nightly build to you. Would you please let me know what is your email address?
Thank you,Riendy
Christian,
I am having a similar issue when attempting to set the cutltureinfo on the webinput control. Was this issue ever resolved for you?
Thank you.
A sample is enclosed as attachment of this post. The sample file was made based on the snippet code shown in the initial message of this thread.
I re-test the issue using WebInput 4 build 130 and WebUI.NET Framework 3 build 803. The test uses following step-by-step.
The test result shows that the reported problem has been solved. Should you have different result, please feel free to let us know.
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