There is a webpart.
<input type="text" id="textField"/> <input type="text" id="textField2"/> <input type="button" id="sendButton">
How can i send all input values to server? I am used to write
<form>, but there is no ability to use it.
Questions on SharePoint Stack Exchange are expected to relate to SharePoint within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
One way to do it is to have a button in your webpart:
The inputs need to have the 'runat' added
Then, in your code behind: