popup
-
hi i am using IE 7 browser. i am using javascript for popup window. this is worked on Microsoft internet explorer. but same code not worked on IE7. pls help me my code function openForm() { window.open("NewScore.aspx","Title","status=no,resize=no,toolbar=no,scrollbars=no,width=700px,height=580px,maximize=no,always on top=100 left=400"); } and in codebehind---- btnAdd.Attributes.Add("OnClick", "openForm()"); so pls help me.
Gayatri
-
hi i am using IE 7 browser. i am using javascript for popup window. this is worked on Microsoft internet explorer. but same code not worked on IE7. pls help me my code function openForm() { window.open("NewScore.aspx","Title","status=no,resize=no,toolbar=no,scrollbars=no,width=700px,height=580px,maximize=no,always on top=100 left=400"); } and in codebehind---- btnAdd.Attributes.Add("OnClick", "openForm()"); so pls help me.
Gayatri
niki_nilu wrote:
this is worked on Microsoft internet explorer. but same code not worked on IE7.
:doh: IE7 and Microsft Inetrnet Explorer are same. Probably you have popup blocker on.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
hi i am using IE 7 browser. i am using javascript for popup window. this is worked on Microsoft internet explorer. but same code not worked on IE7. pls help me my code function openForm() { window.open("NewScore.aspx","Title","status=no,resize=no,toolbar=no,scrollbars=no,width=700px,height=580px,maximize=no,always on top=100 left=400"); } and in codebehind---- btnAdd.Attributes.Add("OnClick", "openForm()"); so pls help me.
Gayatri
-
I hope this will solve your problem... btnAdd.Attributes.Add("OnClick", "openForm(); return false;");