.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

What is Hidden Field? How to use that?

Posted By: Ramesh     Posted Date: December 23, 2009    Points:2   Category :ASP.Net
What is Hidden Field? How to use that in asp.net?

Please help me to understand this


Author: abhay             
Posted Date: December 23, 2009     Points: 5   

Hidden Fields allow you to send additional information with a submitted form that don't necessarily require a user to "fill them out."

If you have done some changes at clientside
and need these value at serverside then at that time you can use hidden field.

Let's suppose if you have a textbox of html type and without runat server in the tag ,so you can't find the value at serverside .So you can keep it in hidden and find the value of hidden at serverside to get that textbox value.

Author: Ramesh             
Posted Date: December 23, 2009     Points: 5   

Thanks a lot Abhay...It helped me a lot to understand the concept of hidden field..


Author: nishithraj             
Posted Date: December 24, 2009     Points: 5   

Using hidden fields we can maintian the state of a page in a sertain level.

Actually hidden text box is a html control and the hidden field is the equivalent asp control for that.

You can retain the values of a hidden field even after the post back..

Author: Lalij Mer             
Posted Date: January 05, 2010     Points: 5   

Ideally HiddenField is used to create a hidden field in the form. When it is rendered on the page, it is implemented through <input type=hidden> HTML tag.

show here how to use hidden file


Please Check my answer if you help....
Thank You...

Author: TotalDotNet             
Posted Date: August 16, 2010     Points: 5   

you will find stuff regarding HiddenField


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend