findItemByAttribute "ID"

3 posts, 1 answers
  1. Martin Roussel
    Martin Roussel avatar
    246 posts
    Member since:
    Jan 2010

    Posted 10 Jan 2013 Link to this post


    Hi, I just wanted to know if it's normal that the client-side function findItemByAttribute() cant find any items when we use "ID" (Capitalization doesnt matter) as the Attribute name? If it is, any references that documents this?

    this works:
    var foundItem = menu.findItemByAttribute("MenuID", "1");

    but not this:
    var foundItem = menu.findItemByAttribute("ID", "1");


    TIA


    Martin




  2. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 15 Jan 2013 Link to this post

    Hi Martin,

    Unfortunately with custom attributes you are not allowed to use an HTML reserved word like ID in your case. Please take a look at the following help article that is valid for all of the Telerik controls - Custom Attributes

    Kind regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Martin Roussel
    Martin Roussel avatar
    246 posts
    Member since:
    Jan 2010

    Posted 15 Jan 2013 Link to this post

    That's what I assumed. Thanks for the clarification Kate.

    Martin
Back to Top