Hello,
We have implemented the MegaMenu per the example found here:
http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx
At the top of our menu, the user can select from a list of agencies and agents. I've attached a screen shot of how it looks in our scenario.
When they select a specific agency/agent, then click on a link specific to an agency/agent, we need that link to post back to the server to meet the following business requirements:
- users must see the spinning AJAX notification when a redirect is occuring
- all querystring data must be encrypted and not visible in the URL or in the markup
The closest I can get this to working is to set RadSiteMapNode.Value to the URL and RadSiteMapNode.NavigateUrl to javascript:NavTo() and having NavTo fire an AjaxRequest.
Problem is that I passing "this" into the javascript method passes in a DOMWindow reference, not a reference to the link clicked.
Anyone have any suggestions on where I should go from here?
Thanks!!
Thad
We have implemented the MegaMenu per the example found here:
http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx
At the top of our menu, the user can select from a list of agencies and agents. I've attached a screen shot of how it looks in our scenario.
When they select a specific agency/agent, then click on a link specific to an agency/agent, we need that link to post back to the server to meet the following business requirements:
- users must see the spinning AJAX notification when a redirect is occuring
- all querystring data must be encrypted and not visible in the URL or in the markup
The closest I can get this to working is to set RadSiteMapNode.Value to the URL and RadSiteMapNode.NavigateUrl to javascript:NavTo() and having NavTo fire an AjaxRequest.
<
telerik:RadSiteMapNode
Value
=
"{\"linkid\": \"230\"}"
NavigateUrl
=
"javascript:NavTo(this);"
Text
=
"Agency Info"
/>
function
NavTo(sender) {
// somehow find out the value from the RadSiteMapNode clicked to retrieve the link
var
linkId =
'230'
;
$find(window.ajaxManagerID).ajaxRequest(
'MenuNav:'
+ linkId);
}
Problem is that I passing "this" into the javascript method passes in a DOMWindow reference, not a reference to the link clicked.
Anyone have any suggestions on where I should go from here?
Thanks!!
Thad