Click to See Complete Forum and Search --> : Submit values using other than <input>


ophilium
06-11-2011, 05:19 PM
A friend of mine is using Visual Studio to do some back end for a project of ours. He's not sure how to use <a> to put values into the database and can only do it using <input type="button>. I'm the front end guy and if I can build buttons using <div><a>submit</a></div> or even images wrapped in <a>img.jpg</a> it would give me more flexibility. Is it possible? If possible can you provide a resource...

ssystems
06-13-2011, 02:53 PM
There are asp controls for that. asp:LinkButton is one of them.

sead12
06-22-2011, 01:59 PM
Yes you can. On the element's(<a></a>) event property like the onclick one, you can use javascript, or (Don't remember if you can) even transfer to server-side, to put in a datatable.