Fastest way to populate a RadMenu

4 posts, 0 answers
  1. Jacky Chau
    Jacky Chau avatar
    108 posts
    Member since:
    Jun 2005

    Posted 02 May 2008 Link to this post

    Is it faster to populate a RadMenu from an XML file or programmatically? 
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 May 2008 Link to this post

    Hello Jacky,

    I don't think there would be any noticeable difference. However, for very large menu systems, I would opt to bind the menu to an xml file.

    Greetings,
    Peter
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Jacky Chau
    Jacky Chau avatar
    108 posts
    Member since:
    Jun 2005

    Posted 02 May 2008 Link to this post

    When binding to xml, does RadMenu just programmatically create the items behind the scene?  How will that be faster than writing my own code to create each item programmatically?
  4. Dimitar Milushev
    Admin
    Dimitar Milushev avatar
    555 posts

    Posted 05 May 2008 Link to this post

    Hello Jacky Chau,

    While using an XML file may introduce a small overhead from opening and reading the file, the difference is usually negligible and we recommend using an XML file when possible because it is easier to maintain.

    I hope this answers your question.

    Sincerely yours,
    Dimitar Milushev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top