Hi,
I am using the WebNumericEditor on a form to add/edit some data. My problem is the editing part. If i create a new entry with "2.3" as value, it's stored correctly within the database. If i want to edit this entry, the form shows the value "2.0". I checked everything and i finally made a simple site to test the control itself:
Sample.aspx:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="_Default" StylesheetTheme="Intranet" Codebehind="Samples.aspx.cs" %><%@ Register assembly="Infragistics4.Web.v14.1, Version=14.1.20141.1015, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.EditorControls" tagprefix="ig" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <div style="padding-top: 20px; padding-bottom: 20px;"> <asp:Button ID="Button1" runat="server" Text="Test Excel Export" onclick="TestOnClick" /> </div> <ig:WebNumericEditor ID="MyWebNumericEditor" runat="server" /></asp:Content>
Code Behind: protected void Page_Load(object sender, EventArgs e) { Title = "Test"; this.MyWebNumericEditor.ValueDecimal = 2.3m; //this.MyWebNumericEditor.DataMode = NumericDataMode.Decimal; } Generated inner HTML (from IE Dev. Toolbar): <INPUT id=ctl00_ContentPlaceHolder1_MyWebNumericEditor_clientState value=|0|013.30|| type=hidden name=ctl00_ContentPlaceHolder1_MyWebNumericEditor_clientState> <INPUT style="TEXT-ALIGN: right; IME-MODE: disabled" id=ctl00_ContentPlaceHolder1_MyWebNumericEditor class="igte_Office2007SilverEdit" title=3.00 value=3.00 alt=3.00 type=text name=ctl00_ContentPlaceHolder1_MyWebNumericEditor _editID="-1">
The control shows the value "3.00", but i want it to display "3.20".
Any idea whats wrong? I tried to set different DataModes and different values (ValueDecimal, ValueDouble, ValueText ...). I am testing with IE8, but IE11 does show the same problem.
We recently switched from Infragistics 13.1 to 14.1, maybe something to do with that?
Any help would be much appreciated!
Thank you, the Service Release fixed this issue.
Hello Alex Mayer,
Thank you for posting in our forums!
After some testing this appears to be a culture specific issue. I was not able to reproduce this until I changed the culture of the page. After further testing, I tested with our latest version and the values appear as expected.
This issue is resolved in the latest service release for Infragistics ASP.NET 2014 Vol. 1. The build number for this service release is 14.1.20141.2283.
This service release is available under your account at the Infragistics Website. To download the service release, log in to ‘Account’ and select ‘Keys & Downloads’. Select the Dev Tools tab and then click on the product name. Finally, select the 'Service Releases' tab and the available service releases will be listed below.
Additionally, you may also download the service release from here:
http://download.infragistics.com/products/NetAdvantage/ASPNET/2014.1/SR/Infragistics_ASPNET_20141.2283_SR.zip
Please let me know if you have any further questions or concerns about this matter.