for nescape you can replace document.getElementById('TextBox1').value with
document.all['TextBox1'].value.
other solution is :
in table you can insert LinkButton instead <a/> tag. Add an event handler
for click, or better command, and do this work inside this.
private void link_click(object s, EventArgs e)
{
.....
Response.Redirect(".......aspx?val=" + TextBox1.Text);
}
Brun
"Michael Tissington" <> wrote in message
news:...
> Thanks - this is what I'm looking for but will this work with both IE and
> Netscape ?
>
> --
> Michael Tissington
> http://www.oaklodge.com
> http://www.tabtag.com
>
> "Garett Rogers" <> wrote in message
> news:...
> > One way to do this would be the following:
> > <a href="javascript:void(0);"
> > onclick="window.location.href='/destination/path.aspx?textboxvalue=' +
> > document.getElementById('TextBox1').value;">text link</a>
> >
> > Then in the destination page, you can access the value of the text box
by
> > using Request.Querystring.Item("textboxvalue") in the codebehind
> >
> > Hope this helps,
> > Garett
> >
> > http://www.aimx.com
> > There's no place like 127.0.0.1
> >
> > "Michael Tissington" <> wrote in message
> > news:%...
> > > What is the best way of doing this ....
> > >
> > > In my Page_Load event I am building a table with a number of <a> tags.
> > >
> > > On the page I have a Text box control.
> > >
> > > When the user clicks one of the <a> tags and they get href to another
> page
> > > and then want to access the value of the Text box control.
> > >
> > > Any ideas how to do this please?
> > >
> > >
> > > --
> > > Michael Tissington
> > > http://www.oaklodge.com
> > > http://www.tabtag.com
> > >
> > >
> >
> >
>
>