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

Radmenou: Too big output code - any suggestions?

1 Answer 53 Views
Menu
This is a migrated thread and some comments may be shown as answers.
BoGreece
Top achievements
Rank 1
BoGreece asked on 24 Mar 2009, 09:15 PM
Hello,
I have a Big sitemap  that results (by radmenu) in a 40 Kbytes output code in every page, because it has all the links inside.
My functionality is , you press a link, the new page appears and the submenus (if any) are collapsing, so I don't really need all the links in every page.
I wonder if there are any techniques to minimize the ouput code .

Also, I  was wondering, that, since the menu is rather stable, to copy-paste the output code  to an html file and include it (as an external html file) in my pages.
Is this feasible?
Any other suggestions?

Thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 25 Mar 2009, 02:15 PM
Hello BoGreece,

You can either use load on demand or limit somehow the number of visible items by filtering them based on the current page.

Pasting the code in an external file is also an option. However it would require not only the HTML but the JavaScript initialization code (Sys.Application.add_init()) as well.

Regards,
Albert
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
BoGreece
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or