How to render a hidden field?

E

Eric Caron

Hi all,

I am trying to display a hidden field in my form that will contain the id of
the record I am editing. How can I do that using the controls in the
toolbox of VB.NET? I tried using a textbox and a label with their Visible
property set to true, but it just doesn't display anything in the source of
the rendered page. I could write the hidden field directly in HTML, but I'd
like to fill the all fields in my Page_Load event to keep things clean.

TIA!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top