[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

chico.pena626

9/24/2014 4:59:00 AM

Em quinta-feira, 10 de junho de 2004 09h04min23s UTC-7, Rob T escreveu:
> I have a user control that need to have a hidden textbox. (I have some JS
> that needs to get some info out of it) If I make a standard textbox
> (<asp:TextBox ID="txtTest" Runat="server" />) in my control it works
> fine....of course it shows it on the screen
>
> It seems so simple...but how the heck do you create a hidden textbox that is
> a control?
>
> BTW, I've done hidden textboxes in the past my just doing a
> response.write("<input type=hidden ...>") before, but now since I will have
> several of the same controls on the page, I need to keep track of the ID of
> the box. I figured using a control is nice since it remembers the values it
> has on a postback.......
>
> Thanks.
>
> -Rob T.