"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:e3**************@TK2MSFTNGP14.phx.gbl...
Is there a way in asp.net i can access a text control using the DOM so
don't have to have a hardcoded in my code?
TIA.
Sure, both on server and client side you can declare variables and assign
to them values:
TextBox tb;
tb = tx1;
tb.Text = "whatever";
Eliyahu
Um, you've lost me a bit there Eliyahu.
if I have
<asp:textbox id="St1" runat=server/>
Then how would I access the textbox in serverside vb.net without using its
name of ST1 but using avaraible set to "ST1".
Cheers.