Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to pass a variable to modal window and retrieve in modal window 1

Status
Not open for further replies.

Kingkumar

Programmer
Jan 21, 2003
167
US
Hi,
In my asp page i am using following javascript

if (strRmvAgtLst.length > 0) {
window.showModalDialog("ProxyDetails.ASP", strRmvAgtLst, "dialogHeight:550px;dialogWidth:700px;center:yes;help:no;resizable:yes;status:no")

}

i am passing the variabe strRmvAgtLst while opening modal window but not sure whether i can do that or not?
Also how can i retrieve this variable in my modal window
i tried using following
1>Response.write(dialogarguments.strRmvAgtLst)
2>Response.write(Request.QueryString ("strRmvAgtLst"))


but it didnt help
Can someone guide me what i did wrong.

thanks.

--king
 
Thanks FesterSXS,
it worked like magic :)
You got yourself a Star :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top