What is Hidden Fields in Asp.Net

Answer Posted / chinmayee mishra

Hidden fields technique is widely used in ASP.NET
programing. Hidden fields are html input control with
hidden type that store hidden data in the html. An example
for a hidden field can look like this:

view sourceprint?1.<input type="hidden"
name="__EVENTTARGET" id="__EVENTTARGET" value="" />In the
example above, I chose to show the event target hidden
field in order to indicate that even in postback mechanism
hidden fields are being used. The data stored in a hidden
field is available when the form is processed on the server
or when we use javascript.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between table and query?

734


What are validator? Name the validation controls in asp.net? How do you disable them?

763


What are sql joins?

758


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

665


Define asp.net caching?

770


What is the use of ASP.NET routing?

767


How to implement role based security in asp.net mvc? : Asp.Net MVC

637


9. Why should we hire you over the others waiting to be interviewed?

2470


When you use Ajax controls in the ASP.NET application?

786


What’s the difference between asp.net web forms and asp.net mvc?

802


What is enableviewstate?

736


What is an example of an application service provider?

651


What are session cookies?

755


How you will improve web application performance?

740


What happens if an ASP.NET server control with event-handling routines is missing from its definition?

854