How to write the Code for button click in MVC
  • Hi my client have a new requirement, he need to add  Zoom / Zoom out and   contrast/Brightness ( +or -)control in his website. 

    So on clicking  + or - button it can do the corresponding action .  Plz help me 

  • 1 Comment sorted by
  • Hello
    Create a controller and then add a new method inside that controller class to perform specific action. and add from action to "YourController/MethodName"

    For example:
      public virtual ActionResult Save(MyViewModel model) {

    --- more code to do stuff here

    Add Form action to  "Controllername/Save"

    But in your case, i will suggest you to use jQuery or javascript to perform Zoom In and Zoom Out.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

    Optimum Creative