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

3 posts, 1 answers
  1. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 06 Jul 2010 Link to this post

    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. Answer
    Ady
    Admin
    Ady avatar
    588 posts

    Posted 09 Jul 2010 Link to this post

    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
  3. DevCraft banner
  4. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 14 Jul 2010 Link to this post

    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

Back to Top