On Jun 24, 9:50 pm, "Polaris" <etpola...@hotmail.comwrote:
Sorry, forgot to mention that I could not use the runat="server" attribute
for this input box. Is there other ways to do it?
"Polaris" <etpola...@hotmail.comwrote in message
news:OX**************@TK2MSFTNGP06.phx.gbl...
Hi Experts:
I'm using ASP.NET 2.0 (C#). I need to do something a bit unusual:
There is a hidden HTML input field (text box) and I need to
programmatically set some value into it. How can I do it? Please be
specific if possible.
Thanks in Advance!
Polaris
Hi...
Since you can not use runat server...
you got to use javascript or some thing like that...
well just use.
Page.RegisterStartupScript or
Page.RegisterClientScriptBlock to inject a script which
will set the value of the hidden textbox
Thanks
Masudur
http://munnacs.110mb.com