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

Which protocol is used in a web api?

559


How do you secure your connection string information?

512


What does the orientation property do in a menu control?

529


When does a session actually start?

563


What’s the catch?

617






Why we are using mvc instead of asp.net? : Asp.Net MVC

519


Can you explain how ASP.NET application life cycle and page life cycle events fire?

563


What are ASHX files?

593


What are the advantages and disadvantages of Using Cookies?

515


Write a code snippet to implement the indentation in json in web api.

574


How to make paging concepts in datagrid in ASP.NET?

547


Give an example of what might be best suited to place in the application_start and session_start subroutines?

518


What is the displayafter property in updateprogress control?

505


Difference between overriding and overloading?

698


Is session stored in browser?

524