Jump to content
Xtreme .Net Talk

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


Recommended Posts

Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...