views:

41

answers:

1

Hi,

I am using simple windows.open function to open up a popup window. While teh same is working fine in another page.

Basically there is a user control and that user control has simple table. In there I am using a link button where ONClientClick I am using windows.open('some.aspx'). But it is giving error like Stack OverFlow at line No.

I am unable to get the basic meaning if this thing, why this error can generate and what it signifies?

Thanks.

A: 

Basically: You have a function that (directly or indirectly) calls itself, until it nests too deep and the browser kills your javascript to stop it getting worse.

Anon.
I tried with replacing the Winow.open with alert and it is working fine. So may be it is not going recursive kind og a thing.
Nits
@Nits, in that case I am sure it will not be your javascript, but your ASP.NET code. Can you show a screenshot or something?
Gertjan