Hiiden Field in a form

K

Kerri

Hi,

I have a client side hidden field in a form.

How do I set this in my page behind.

Currently I set the value bu doing a value="<%=MyValue%>"

In addition to this I want to format values in a textbox
when the user tabs out of the texbox, what eventis this??

Thanks,
K.
 
T

Teemu Keiski

Unless you make it server-side hidden file as well (that can also be
accessed at client easily), you'd use only client-side script. By making it
server-side, you can access it from the server. About the TextBox, OnBlur
might be the client-side event you could use or onkeyup combines with key
checking (that was it TAB)

--
Teemu Keiski
MCP,Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com
 

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,774
Messages
2,569,599
Members
45,173
Latest member
GeraldReund
Top