0
Reply

Passing Query String in Java Script

vishnukumar sr

vishnukumar sr

Jan 3 2014 10:48 PM
810
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