What is ActionButton in mvc?
204708-Oct-2014
Has anyone written one? I want it to behave like a link but look like a button. A form with a single button wont do it has I don't want any POST.
Updated on 08-Oct-2014
Home / DeveloperSection / Forums / What is ActionButton in mvc?
Anonymous User
08-Oct-2014Submit button:
In response to cdmckay's answer, here's an alternative code that uses the TagBuilder class instead of a regular StringBuilder to build the form, mostly for clarity.
I am aware that there might be quite a lot of overhead in this code, but I am expecting that you won't need to run it a lot of times on each page. In case you do, there is probably a bunch of optimizations that you could do.