Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan 65 posts 209 karma points
    Apr 02, 2014 @ 10:38
    Dan
    0

    button click in mvc?

    I really did not think I would ask about this but I have worked for too long with web forms 
    so I cant figur out how to make a standard button click with some server side code,  in web forms I just make a button click event but thats seams to be a hole diffrent way to do it in mvc. 
    Hope someone can make a simple eksempel where a button runs a function from a class file. 

    or just even sent me a link for som simple reading. 
    I have searched the web but I think im just confusing myself with what I find.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 02, 2014 @ 10:46
    Jan Skovgaard
    100

    Hi Dan and welcome to our :)

    It's probably a good idea if you read the official Umbraco documentation on how to work with surface controllers - I think the key to the answer is in there.

    Also make sure to read Warren Buckleys post about surface controller here http://creativewebspecialist.co.uk/2013/07/22/umbraco-mvc-what-on-earth-is-a-surface-controller/

    And asp.net is always a good ressource for general asp.net MVC stuff http://www.asp.net/mvc

    Hope this helps.

    /Jan

  • Dan 65 posts 209 karma points
    Apr 04, 2014 @ 11:52
    Dan
    0

    Thanks that helped me :)!

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 04, 2014 @ 11:54
    Jan Skovgaard
    0

    Hi Dan

    Very pleased to hear that. Please do ask further questions if something else is troubling you :)

    Have a nice day.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft