Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
Refresh in Firefox with comma as decimal separator
posted

I have folowing code on my page:

<script runat="server">
  protected void Page_Load()
  {
    this.WebNumericEditor1.Culture = System.Globalization.CultureInfo.GetCultureInfo("pl-PL");
    this.WebNumericEditor1.Value = 2.51m;
  }

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
  <title>Example</title>
</head>
<body>
  <form id="form2" runat="server">
  <asp:ScriptManager ID="ScriptManager1" runat="server">
  </asp:ScriptManager>
  <div>
  </div>
  <ig:WebNumericEditor ID="WebNumericEditor1" runat="server">
  </ig:WebNumericEditor>
  </form>
</body>
</html>

 

When I click refresh button in Firefox, text in WebNumericEditor1 changes from 2,51 to 251.

Is there any workaround to disable this behavior?

 

Parents
No Data
Reply Children
No Data