link button redirect

J

jdrott1

hi all,

i'm trying to click a link on my main page and perform another link
click on the redirected page. the second page loads a datagrid based
on a link click. how would i redirect to page 2 and select the
button?

Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Redirect("products.aspx?=lkbutton2.performclick()")
End Sub
 
C

Cor Ligthert[MVP]

Jdrott,

Your question is not very clear as I see that it is not answered yet.

However, as you use a redirect, you for sure need an session to keep the
data from the previous page.
(There are 3 other ways but they are mostly more memory consuming or slow)

Cor
 
C

Cor Ligthert[MVP]

Jdrott,

Your question is not very clear as I see that it is not answered yet.

However, as you use a redirect, you for sure need an session to keep the
data from the previous page.
(There are 3 other ways but they are mostly more memory consuming or slow)

Cor
 

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

Top