Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i made a drop down menu using with cascading style sheet and html. but know my problem is once i click on one of the menu list in drop down should navigate to other webpage which is created by me in asp.net MVC. how?
Posted
Comments
F-ES Sitecore 7-Apr-15 6:42am    
Update your question to include the mark-up and code you have so far. What you're going to have to do is make your menu items links to other actions using either Html.ActionLink, or manually constructed tags using Url.Action

1 solution

XML
<script>
  $("#DropdownListId").change(function () {
    var newTFvalue = $("#DropdownList").val();
    $.get('@Url.Action("Export", "ActionName")', { tfid: newTFvalue });
  });
</script>


Hope it helps
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900