0
Answer

Passing Query String in Java Script

vishnukumar sr

vishnukumar sr

10y
823
1
Hi Frnds,

Here am Passing Query String in Script like as

onclick='<%#(Eval("file").ToString()=="0" ? "#" : "javascript:openPopup(\'StaffReportfile.aspx?custId=(<%# Eval("custId") %>')")%>'

my js

function openPopup(strOpen){

open(strOpen, "StaffReportfile", "status=1, width=550, height=600, top=100, left=300");
}

its possible two Server tag in single argument... Else how can we call it.. Solve me plz

 
 
Thanks,
Vishnu