Hidden Field in asp.net [Resolved]

Posted by Sunny4989 under ASP.NET on 4/17/2012 | Points: 10 | Views : 1441 | Status : [Member] | Replies : 2
What is meant by hidden field ? What is the purpose of using it

------------------------------------------------
Learn throughout life



Responses

Posted by: Sridevi on: 4/17/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved


Normally view state,session state and cookies are used to maintain the state of a web forms page. If these methods are disabled or not available, we can use the HiddenField control tp store state values.

Regards,
Sridevi

Sridevi

Sunny4989, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: dhirenkaunar-15094 on: 4/17/2012 [Member] Starter | Points: 25

Up
0
Down
Hidden filed is one of the Client side State Management technique.

This control enables a developer to store a non-displayed value in the rendered HTML of the page. The HiddenField control is used to store a value that needs to be persisted across multiple postbacks to the server.

For More please refer the below video :

http://www.asp.net/web-forms/videos/how-do-i/how-do-i-use-a-hidden-field-to-store-and-manipulate-client-side-information

Thanks & Rgards,
Dhiren Kumar Kaunar

Sunny4989, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response