G
Guest
Problem description:
I have a TextBox on Web User Control that is loaded into a PlaceHolder on my
ASPX page. There are other Web User Controls on that page as well.
When the page loads I can input text into the TextBox without any problem.
However, after postback if I try to input text into the TextBox I get an
Internet Explorer pop-up message box stating:
'A Runtime Error has occurred.
Do you wish to debug?
Line: 35
Error: Out of memory'
This does not happen on Firefox, only IE.
More info:
TextBox markup:
<asp:TextBox id=txtMyTextBox CssClass="MyTextBox"
Runat="server"></asp:TextBox>
Script-debugger breaks to:
<script language="javascript" type="text/javascript">
//<![CDATA[
var qq1=null,qq2=new Array(),qq3=null;function
qq9(qzyb,qznv){this.qztk=qzyb;this.qznv=qznv;};function qq5(qzyb){for(var
qzba=0;qzba<qq2.length;qzba++){if(qq2[qzba].qztk==qzyb){eval(qq2[qzba].qznv);return
true;};};return
false;};if(document.layers){document.captureEvents(Event.KEYPRESS);};function
qq6(qzim){if(qq7(qzim)&&qq3&&qq3!=qq6){qq3(qzim);};};function
qq7(qzim){if(!qq1||!qq1.KeyboardEnabled){return
true;};if(document.activeElement&&(document.activeElement.nodeName=='INPUT'||document.activeElement.nodeName=='SELECT'||document.activeElement.nodeName=='TEXTAREA')){return
true;};var
qztk;if(document.all){qzim=window.event;qztk=qzim.keyCode;}else{qztk=qzim.which;};var
qzAbi=String.fromCharCode(qztk);if(qztk>111&&qztk<123)qzAbi="F"+(qztk-111);else
if(qztk==13)qzAbi="Enter";var
qzlk="";if(qzim.shiftKey)qzlk+="Shift+";if(qzim.ctrlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qzlk+=qzAbi;if(!qq5(qzlk)){return
true;};if(document.all){qzim.cancelBubble=true;qzim.returnValue=false;}else{qzim.preventDefault();qzim.stopPropagation();};return
false;};function
ComponentArt_Menu_RegisterKeyHandler(qzyb,qznv){qq2[qq2.length]=new
qq9(qzyb,qznv);};function qq8(menuObj){qq1=menuObj;};function
ComponentArt_Menu_InitKeyboard(menu){qq8(menu);qq1.KeyboardEnabled=true;qq1.qzad=menu.Items()[0];qq3=document.onkeydown;document.onkeydown=qq6;};var
ComponentArt_Menu_Keyboard_Loaded=true;
//]]>
</script>
I have tried reconstructing the Web User Control... to no avail.
Any ideas?
Thanks ~ Matt
I have a TextBox on Web User Control that is loaded into a PlaceHolder on my
ASPX page. There are other Web User Controls on that page as well.
When the page loads I can input text into the TextBox without any problem.
However, after postback if I try to input text into the TextBox I get an
Internet Explorer pop-up message box stating:
'A Runtime Error has occurred.
Do you wish to debug?
Line: 35
Error: Out of memory'
This does not happen on Firefox, only IE.
More info:
TextBox markup:
<asp:TextBox id=txtMyTextBox CssClass="MyTextBox"
Runat="server"></asp:TextBox>
Script-debugger breaks to:
<script language="javascript" type="text/javascript">
//<![CDATA[
var qq1=null,qq2=new Array(),qq3=null;function
qq9(qzyb,qznv){this.qztk=qzyb;this.qznv=qznv;};function qq5(qzyb){for(var
qzba=0;qzba<qq2.length;qzba++){if(qq2[qzba].qztk==qzyb){eval(qq2[qzba].qznv);return
true;};};return
false;};if(document.layers){document.captureEvents(Event.KEYPRESS);};function
qq6(qzim){if(qq7(qzim)&&qq3&&qq3!=qq6){qq3(qzim);};};function
qq7(qzim){if(!qq1||!qq1.KeyboardEnabled){return
true;};if(document.activeElement&&(document.activeElement.nodeName=='INPUT'||document.activeElement.nodeName=='SELECT'||document.activeElement.nodeName=='TEXTAREA')){return
true;};var
qztk;if(document.all){qzim=window.event;qztk=qzim.keyCode;}else{qztk=qzim.which;};var
qzAbi=String.fromCharCode(qztk);if(qztk>111&&qztk<123)qzAbi="F"+(qztk-111);else
if(qztk==13)qzAbi="Enter";var
qzlk="";if(qzim.shiftKey)qzlk+="Shift+";if(qzim.ctrlKey)qzlk+="Ctrl+";if(qzim.altKey)qzlk+="Alt+";qzlk+=qzAbi;if(!qq5(qzlk)){return
true;};if(document.all){qzim.cancelBubble=true;qzim.returnValue=false;}else{qzim.preventDefault();qzim.stopPropagation();};return
false;};function
ComponentArt_Menu_RegisterKeyHandler(qzyb,qznv){qq2[qq2.length]=new
qq9(qzyb,qznv);};function qq8(menuObj){qq1=menuObj;};function
ComponentArt_Menu_InitKeyboard(menu){qq8(menu);qq1.KeyboardEnabled=true;qq1.qzad=menu.Items()[0];qq3=document.onkeydown;document.onkeydown=qq6;};var
ComponentArt_Menu_Keyboard_Loaded=true;
//]]>
</script>
I have tried reconstructing the Web User Control... to no avail.
Any ideas?
Thanks ~ Matt