Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > HTML Controls

Reply
Thread Tools

HTML Controls

 
 
Fabiano
Guest
Posts: n/a
 
      04-12-2004
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


 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      04-12-2004
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

"Fabiano" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controls.Count, Controls.IsSynchronized, and Controls.SyncRoot Nathan Sokalski ASP .Net 4 09-05-2007 03:27 AM
Difference in Web server Controls and HTML Server Controls =?Utf-8?B?c2lhag==?= ASP .Net 7 03-07-2005 07:15 PM
What's the difference between HTML controls and the basic web controls? Alan Silver ASP .Net 8 01-24-2005 06:39 PM
HTML Controls vs. Web Controls =?Utf-8?B?YnJpYW4=?= ASP .Net 3 01-22-2005 07:10 PM
HTML Controls and User controls trinitypete ASP .Net 6 06-26-2003 09:47 AM



Advertisments