Open new window and get values from previous window

B

BTHN

Hi everybody!
I have a webfrom contains a datagrid with a bound column(contains
names) and a button column. I want when we click the button, a new
windown open and display some information for the name corresponding
with that button.
I got a openwindow() function(javascript) at client side and the
solution: In Itemcommend I have a StringBuilder to get values from the
old page and Response.Redirect(StringBuilder.ToString()); this works
fine but not open a new window.
I tried another solution: not use Response.Redirect but put the item
of the Datagrid to a tableCell,sothat I can use
attribute.add("onclick","openwindow()"); this also works, a new
windown open, but it not gets values from the previous windown.
Counld anyone help me to combine the 2 conditions???
Thankx in advance!
 

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

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top