I have an html control (not a server control) like textarea. How can I get the value in this control from the server side when I call the postback by clicking on the button without writing the value to the URL.
You will need to reference the Form object.
If you have a text box like
<input type="text" id="txt" name="txt" value="Testing 1 2 3..."/>
Then you can access this in your code like this ...
Request.Form["txt"]
You can add the runat = "server" attribute to the HTML controls.
, .
, , HTML , .
HTML- runat = "server"
, - asmx. , . - javascript. , runat = server , - , .
Source: https://habr.com/ru/post/1762770/More articles:Basic data: after migration, additional migration code - objective-cEmacs-like Ctrl + Up / Down text navigation in Visual Studio 2010? - visual-studioDrupal module for displaying data in the form of a table - drupalCategorical Feature - libsvmWhat do I need to do to use the System.Windows.Forms.WebBrowser control in the WCF service? - c #How to prevent the use of space when typing? - jqueryhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1762772/ab-test-with-google-web-optimizer-what-cookie-tells-me-visitor-got-a-or-b&usg=ALkJrhgrn65F9SqN62jU-4NJxSKc3X_G7wDynamically compiling and running shaders from a file in XNA - compiler-constructionHow can I find out which Hudson user is running under - hudsonHLSL: forced compilation of case-sensitive termination - xnaAll Articles