I am using tab control. In this tab have tab1,tab2 and tab3 are available.When i click tab1 and tab2 is getting loaded properly but if i click tab3
getting javascript error like" stop run this script? Ascript on this page causing IE to run slowly? If it continues to run your computer to become unresponsive? click yes or no"
sureshkumarp...
Member
1 Points
61 Posts
Java script Error : Stop run this script? Ascript on this page causing IE to run slowly
Nov 23, 2012 12:37 PM|LINK
Hi ,
I am using tab control. In this tab have tab1,tab2 and tab3 are available.When i click tab1 and tab2 is getting loaded properly but if i click tab3
getting javascript error like" stop run this script? Ascript on this page causing IE to run slowly? If it continues to run your computer to become unresponsive? click yes or no"
IF i click no then page is getting loaded.
How to resolve this issue?
Thanks and Regards,
Suresh
samuraikensh...
Member
325 Points
80 Posts
Re: Java script Error : Stop run this script? Ascript on this page causing IE to run slowly
Nov 23, 2012 12:54 PM|LINK
Please try this link http://support.microsoft.com/kb/175500
sureshkumarp...
Member
1 Points
61 Posts
Re: Java script Error : Stop run this script? Ascript on this page causing IE to run slowly
Nov 23, 2012 01:04 PM|LINK
Hi,
Changing some registry entry can fix this issue but i want to fix this issue using code.
Regards,
Suresh
raju dasa
Star
14406 Points
2449 Posts
Re: Java script Error : Stop run this script? Ascript on this page causing IE to run slowly
Nov 24, 2012 05:45 AM|LINK
Hi,
which version of IE is throwing that error?
try with IE8+
or optimise ur js code to make it run fast.(modify it).
rajudasa.blogspot.com || blog@opera
sureshkumarp...
Member
1 Points
61 Posts
Re: Java script Error : Stop run this script? Ascript on this page causing IE to run slowly
Nov 27, 2012 02:16 PM|LINK
Hi ,
I am attaching some event in server side and calling function in client side , because of this only i m getting error,
code behind,
string Param = "ID";
if (strvalu != null)
{
int nodecount = treeview.Nodes.Count;
treeview.Attributes.Add("onclick", "onNodeClick('" + Param + "')");
}
javascript
function onNodeClick(Param) {
document.getElementById("<%= nodeID.ClientID %>").value = Param;
__doPostBack('', '');
}
if i remove above c# and javascript code my page is working properly.
but if it is available i m getting javascript error like "Stop run this script? Ascript on this page causing IE to run slowly".
How can i resolve this issue?
regards,
Suresh
raju dasa
Star
14406 Points
2449 Posts
Re: Java script Error : Stop run this script? Ascript on this page causing IE to run slowly
Nov 28, 2012 06:08 AM|LINK
Hi,
Is that code added in page_load event?
if yes, then you should be also using if(!IsPostBack) conditon.
check ur view-source code, how may onclick are added to each node from html.
rajudasa.blogspot.com || blog@opera
A1ien51
All-Star
29935 Points
5821 Posts
Re: Java script Error : Stop run this script? Ascript on this page causing IE to run slowly
Nov 28, 2012 05:58 PM|LINK
That error message means there is a process that the browser thinks is an inifinte loop. Is there something that is making a recursive call?