G
GroupReader
This might be best in an AJAX or JavaScript forum, but you guys seem
to know everything!
Background:
I'm working in ASP.Net, with UpdatePanel and Infragistics tab
controls. The entire tabcontrol is inside of an updatePanel. The tab
control contains javascript. In order to get my javascript to load
properly after the UpdatePanel refresh, I put defer="defer" on the
script tag (not sure if this is important). Everything seems to work
fine... until...
When I add more code to my main page that contains the update panel,
the javascript in my tabcontrol stops working. I've been over it 100
times and I'm sure all javascript is syntactically correct. If I add
an image tag to my html, my javascript stops working. If I remove it,
my javascript works again. It's as if I've run into some sort of a
size limitation and my code can't get any bigger.
Does anyone know of:
1) Any size limitations for amount of script or html inside of an
UpdatePanel???
2) Any size limitation for how big an html page can be? I'm guessing
there are limitations to the amount of data that can be POSTED /
SUBMITTED.
3) Are there any size limitations for how big a javascript file can
be? Inline or separate file.
4) Are there any limitations to how many events can be "attached"??
For example, I "attach" a function to the "onchange" event of every
textbox on the page to keep track of "IsDirty".
Any help would be greatly appreciated. Thank you!
to know everything!
Background:
I'm working in ASP.Net, with UpdatePanel and Infragistics tab
controls. The entire tabcontrol is inside of an updatePanel. The tab
control contains javascript. In order to get my javascript to load
properly after the UpdatePanel refresh, I put defer="defer" on the
script tag (not sure if this is important). Everything seems to work
fine... until...
When I add more code to my main page that contains the update panel,
the javascript in my tabcontrol stops working. I've been over it 100
times and I'm sure all javascript is syntactically correct. If I add
an image tag to my html, my javascript stops working. If I remove it,
my javascript works again. It's as if I've run into some sort of a
size limitation and my code can't get any bigger.
Does anyone know of:
1) Any size limitations for amount of script or html inside of an
UpdatePanel???
2) Any size limitation for how big an html page can be? I'm guessing
there are limitations to the amount of data that can be POSTED /
SUBMITTED.
3) Are there any size limitations for how big a javascript file can
be? Inline or separate file.
4) Are there any limitations to how many events can be "attached"??
For example, I "attach" a function to the "onchange" event of every
textbox on the page to keep track of "IsDirty".
Any help would be greatly appreciated. Thank you!