HTML Controls

F

Fabiano

Please,

how can i get inside my ASPX page, the content of a hidden HTML Field?

i'm trying to use the same methods that reads webcontros with no sucess

tks in adv.

Fabiano
 
T

Teemu Keiski

Hi,

you need to have the hidden field with runat="server" as well. Have you
declared that?

Say if you have:

<input type="hidden" ID="myHidden" runat="server" />

You'd access the say:

[C#]
string hiddenValue = myHidden.Value;

[VB]
Dim hiddenValue As String = myHidden.Value

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

Please,

how can i get inside my ASPX page, the content of a hidden HTML Field?

i'm trying to use the same methods that reads webcontros with no sucess

tks in adv.

Fabiano
 

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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top