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

OA doesn't like having a class called "ClassRegister"

2 Answers 28 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stuart Hemming
Top achievements
Rank 2
Stuart Hemming asked on 06 Jul 2010, 12:49 PM
As readers here may know I'm working on an app that records class, student and other details for a certain type of school.

I created a class called "ClassRegister" but when I fired up OA I couldn't get it to do anything with it. There's nothing special in the class itself, in fact I reduced the definition of the class to a single property and, for example, it won't let me select an ID field. When I select a property of the class in the treeview all of the input controls after "Transient" checkbox on the right hand side of the form are missing; not just disabled but not visible.

Just changing the name of the class, or event just changing the capitalization of the name is sufficient to get OA back on track.

I couldn't find anything in the docs to suggest that "ClassRegister" was an excluded name and, to be honest, given that it is in a 'custom' namespace I'm surprised that it is, even if by default.

-- 
Stuart

2 Answers, 1 is accepted

Sort by
0
Accepted
Ady
Telerik team
answered on 09 Jul 2010, 05:41 PM
Hello Stuart Hemming,

Thank you for pointing that out.  The 'ClassRegister' class name is a problem coupled with the namespace. If the namespace contains 'Telerik.OpenAccess' then you encounter this problem. We will fix this. In the meantime it might make more sense to change the class name slightly instead of the namespace maybe.

Your Telerik points have been updated.

Sincerely yours,
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
Stuart Hemming
Top achievements
Rank 2
answered on 14 Jul 2010, 09:16 PM
Ady,

sorry for not replying soon, hard to when you're on a canal boat in the middle of nowhere with no mobile signal!

In the meantime it might make more sense to change the class name slightly instead of the namespace maybe.
Which is exactly what I've done.

Many thanks.

-- 
Stuart

Tags
Design Time (Visual Designer & Tools)
Asked by
Stuart Hemming
Top achievements
Rank 2
Answers by
Ady
Telerik team
Stuart Hemming
Top achievements
Rank 2
Share this question
or