Hi All,
I am using a java script function for opening a pop up window in a link button click. And I am able to call the function at link button's second click only. I am not able to call the java scritp at its first clic. Except this java script call, any thing i can do at first click itself. I have tried many alternatives..b ut no use...can any one hep me?
I have tried in two ways :
1) lnkShipper.Attr ibutes.Add("onC lick", "javascript:Shi pperAddress();" );(in client side)
2)lnkShipper.At tributes.Add("o nClick", "window.open('S hipperDetails.a spx',null,'heig ht=300,width=60 0,status=yes,to olbar=no,menuba r=no,location=n o');"); (in code behind)
please advice
I am using a java script function for opening a pop up window in a link button click. And I am able to call the function at link button's second click only. I am not able to call the java scritp at its first clic. Except this java script call, any thing i can do at first click itself. I have tried many alternatives..b ut no use...can any one hep me?
I have tried in two ways :
1) lnkShipper.Attr ibutes.Add("onC lick", "javascript:Shi pperAddress();" );(in client side)
2)lnkShipper.At tributes.Add("o nClick", "window.open('S hipperDetails.a spx',null,'heig ht=300,width=60 0,status=yes,to olbar=no,menuba r=no,location=n o');"); (in code behind)
please advice
Comment