This is a migrated thread and some comments may be shown as answers.

[Solved] Unable to uncheck auto increment field in column mapping dialog

3 Answers 152 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
richardFlow
Top achievements
Rank 1
richardFlow asked on 31 Aug 2010, 11:43 PM
I am unable to uncheck auto increment field in column mapping dialog without it returning next time i open reverse mapping wizard. In the end I had to edit the reversemapping.config file directly. there is a bug.

3 Answers, 1 is accepted

Sort by
0
Accepted
Ady
Telerik team
answered on 01 Sep 2010, 03:15 PM
Hi Web Belief Ltd,

 This is by design. Is there any particular reason why you want to change the 'autoinc' setting on the primary key field? If the 'autoinc' setting is set to false, the Key generator for the class is set to 'NONE'. In this case, for inserts the application has to then provide a value for the PK column. Explicitly inserting the value for an autoinc column is not allowed under normal circumstances.


Greetings,
Ady
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
richardFlow
Top achievements
Rank 1
answered on 03 Sep 2010, 08:17 PM
It is bad usability at best. Why put a checkbox on the form, that lets you uncheck it, only for it to do nothing? at least disable the check box.  In the end i had to change both setting manually in the config files. There is no decent documentation about this. There are many times when an autoincrement field is not going to be suitable for a table.
0
Ady
Telerik team
answered on 07 Sep 2010, 01:56 PM
Hello Web Belief Ltd,

 Yes, I agree with you that it is a bit misleading. We will disable that check box.
Sorry for the inconvenience that it caused you .

Greetings,
Ady
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
richardFlow
Top achievements
Rank 1
Answers by
Ady
Telerik team
richardFlow
Top achievements
Rank 1
Share this question
or