ASP.NET version of <Input type=hidden...

James

Well-known member
Joined
Oct 3, 2002
Messages
78
Does anyone know what web control I can use as a hidden object? Like <Input type=hidden... in HTML. I thought of using a label and making the font color white. Is there a better way?

James
 
just type it into the Body section of the aspx page...

<Input type=hidden....

Or at run-time, send it to a Label of however you send html tags.
 
I did not mention before but I was trying to store values (primary keys) within a datagrid row but did not was the user to see it. I created an extra column that was hidden then assigned the primary key to the datafield. When I needing the value I place the row in edit mode and assigned the value to a session variable that is used on a different form.

James
 
Back
Top