Click here to Skip to main content
15,175,716 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I'm working on my first application ASP.net MVC :).
I had two Type of search,simple search and advanced mode.
the simple search include a button that allow to go to advanced mode so how to do it, because in MVC Onclick action dont work :(.
Posted

You need to render the simple search view or advanced search view in the button specific actions in the controller when the Simple search or advanced search html buttons are clicked.
   
I created two search form but i dont know how to use specific action to cal type of search in controler this the first time i use ASP.net MVC
   

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