BeanSoftware Logo
 

 
ASP.NET Database Search Control
 
 

 
 Home
    Shop
    Advertise
    Write For Us
    Affiliate
    Newsletter
    Contact

Can I Use Hidden Control In ASP.NET?

Hidden control is used to store not visible data. Although these data in ASP.NET can be stored on several ways, many developers like to use hidden control.

Hidden control in HTML is represented by this code.

<input id="Hidden1" type="hidden" />

To enable hidden control for using with ASP.NET server side code you need to add runat="server" attribute, like this:

<input runat="server" id="Hidden1" type="hidden" />

 

Now, you can read hidden data by using control's Value property.



Related articles:

1. Data Visualization Using ASP.NET 2.0
2. Building a Simple CMS for your static website in ASP.NET

FAQ toolbar: Submit FAQ  |  Tell A Friend  |  Add to favorites  |  Feedback



Copyright © 2002-2008 Bean Software. All rights reserved.