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

[Solved] Creating Menu Item in code behind with AJAX call

0 Answers 99 Views
Menu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Clinton
Top achievements
Rank 1
Clinton asked on 16 Aug 2011, 04:32 AM
Hi there,

We're building our menu dynamically from the database.  This works really well for calls that follow MVC formats, which we do.
However, we'd like the calls to be made using AJAX so that a full page redraw is not required.

I've looked at the item.Add(). code, however, there doesn't seem to be anything to support the ability to make an AJAX call.

I've seen one that has the menu generated in HTML and in there, it's possible to suppliment with an @Ajax.ActionLink() call, but not from codebehind.

Any suggestions?

Cheers

Clinton
Tags
Menu
Asked by
Clinton
Top achievements
Rank 1
Share this question
or