Page 1 of 1

Lost comma in edit dialog

Posted: Wed Aug 10, 2016 4:58 pm
by Thomas.Hoffner

Hello

  1. I definded "Confirm" in Add page and Edit Page in my table defintion.
  2. I have a real Value in my database Table.
  3. In Runtime I go in the edit Dialog and the value of my real column is e.g. 23.88.
  4. Now I press the Save Button. => Value: 23.88 ok
  5. Now I press the Cancel Button => Value: 2388 not ok

So I lost the comma in the edit Dialog when I press the cancel Button.
What can I do ?
I use Version 10.2

Thomas Hoffner


Re: Lost comma in edit dialog

Posted: Thu Aug 11, 2016 1:45 pm
by motfs

You probably need to debug to find out the cause as the version is quite long ago. Maybe download the latest version to try.


Re: Lost comma in edit dialog

Posted: Fri Sep 23, 2016 5:50 pm
by Thomas.Hoffner

Hello

Now I have the new Version 2016 of ASP.NET Maker. There I have the same Problem.

What can I do ?

Thomas Hoffner


Re: Lost comma in edit dialog

Posted: Sat Sep 24, 2016 1:19 pm
by motfs

I do not see issue. What is the database and datatype for the field has problem? Post your Edit Tag setup for the field as well. Any format setup for your field?


Re: Lost comma in edit dialog

Posted: Mon Sep 26, 2016 3:59 pm
by Thomas.Hoffner

Hallo

  1. I use the SQL Server 2008 R2

  2. My example table is:

    CREATE TABLE [dbo].[Auto](
    [id] [int] IDENTITY(1,1) NOT NULL,
    [bez] nvarchar NULL,
    [farbe] [int] NULL,
    [farbe_bez] nvarchar NULL,
    [flag] [int] NULL,
    [auswahl] nvarchar NULL,
    [preis] [real] NULL,
    CONSTRAINT [PK_Auto] PRIMARY KEY CLUSTERED
    (
    [id] ASC
    )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    ) ON [PRIMARY]

  3. Here i use the column "[preis] [real] NULL," to explane my Problem.

  4. In the "Table Options" of this Database Table: " [dbo].[Auto]" i set the Option "CONFIRM" under "Add page" and "Edit Page".

  5. In Runtime I go in the edit Dialog and the value of my real column is e.g. 23.88.

  6. Now I press the Save Button. => Value: 23.88 ok in Version 10.2
    => Value 2388 not ok in Version 2016

  7. Now I press the Cancel Button => Value: 2388 not ok

I generated the ASP.NET Maker Applikation with no changes in Applikation. Only that I have descibed here.
It is really very ease to see the Problem.

Thanks for help

Thomas Hoffner