473,569 Members | 2,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Question: HTML char limit for aspx page???

Is there a limit as to how big an aspx page's html can be? (number of
characters)

Why do I ask? I have a webform with a lot of ActiveX controls (shows up as
OBJECT in html). When I place like 35 of these objects the form shows up
BLANK in a web browser. When I remove a few (ANY few) I can see the page.
Any ideas?

Thanks.
Nov 17 '05 #1
11 1971
What does View Source show you?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:eM******** ********@TK2MSF TNGP09.phx.gbl. ..
FYI:

It shows up FINE in the Design View. Also, I copied/pasted the text in Word and it came out to 616,242 char (w/spaces) and 526,708 (without).

Please assist. Thanks!

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:ef******** ********@tk2msf tngp13.phx.gbl. ..
Is there a limit as to how big an aspx page's html can be? (number of
characters)

Why do I ask? I have a webform with a lot of ActiveX controls (shows up as OBJECT in html). When I place like 35 of these objects the form shows up BLANK in a web browser. When I remove a few (ANY few) I can see the page. Any ideas?

Thanks.


Nov 17 '05 #2
That's the interesting thing. It has some scripting stuff at the beginning
but NOTHING IN THE BODY. See below...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>OfficeVi ewDc</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
</HEAD>
<body ms_positioning= "GridLayout ">
<form name="Form1" method="post" action="OfficeV iewDc.aspx" id="Form1">
<input type="hidden" name="__EVENTTA RGET" value="" />
<input type="hidden" name="__EVENTAR GUMENT" value="" />
<input type="hidden" name="__VIEWSTA TE" value="dDw2Mzkx ODYzMz..." />

<script language="JavaS cript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<script language="javas cript">
<!--
function __doPostBack(ev entTarget, eventArgument) {
var theform;
if (window.navigat or.appName.toLo werCase().index Of("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENT TARGET.value = eventTarget.spl it("$").join(": ");
theform.__EVENT ARGUMENT.value = eventArgument;
theform.submit( );
}
// -->
</script>

*************** ***

"John Saunders" <jo***********@ surfcontrol.com > wrote in message
news:eu******** ******@TK2MSFTN GP12.phx.gbl...
What does View Source show you?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:eM******** ********@TK2MSF TNGP09.phx.gbl. ..
FYI:

It shows up FINE in the Design View. Also, I copied/pasted the text in Word
and it came out to 616,242 char (w/spaces) and 526,708 (without).

Please assist. Thanks!

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:ef******** ********@tk2msf tngp13.phx.gbl. ..
Is there a limit as to how big an aspx page's html can be? (number of
characters)

Why do I ask? I have a webform with a lot of ActiveX controls (shows
up as OBJECT in html). When I place like 35 of these objects the form shows up BLANK in a web browser. When I remove a few (ANY few) I can see the page. Any ideas?

Thanks.



Nov 17 '05 #3
Ok, how about replacing one of the <object /> elements with the same number
of characters in a <div> or something. That will tell you whether it's a
question of the size of HTML or the number of ActiveX controls.
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
That's the interesting thing. It has some scripting stuff at the beginning but NOTHING IN THE BODY. See below...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>OfficeVi ewDc</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
</HEAD>
<body ms_positioning= "GridLayout ">
<form name="Form1" method="post" action="OfficeV iewDc.aspx" id="Form1">
<input type="hidden" name="__EVENTTA RGET" value="" />
<input type="hidden" name="__EVENTAR GUMENT" value="" />
<input type="hidden" name="__VIEWSTA TE" value="dDw2Mzkx ODYzMz..." />

<script language="JavaS cript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<script language="javas cript">
<!--
function __doPostBack(ev entTarget, eventArgument) {
var theform;
if (window.navigat or.appName.toLo werCase().index Of("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENT TARGET.value = eventTarget.spl it("$").join(": ");
theform.__EVENT ARGUMENT.value = eventArgument;
theform.submit( );
}
// -->
</script>

*************** ***

"John Saunders" <jo***********@ surfcontrol.com > wrote in message
news:eu******** ******@TK2MSFTN GP12.phx.gbl...
What does View Source show you?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:eM******** ********@TK2MSF TNGP09.phx.gbl. ..
FYI:

It shows up FINE in the Design View. Also, I copied/pasted the text in
Word
and it came out to 616,242 char (w/spaces) and 526,708 (without).

Please assist. Thanks!

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:ef******** ********@tk2msf tngp13.phx.gbl. ..
> Is there a limit as to how big an aspx page's html can be? (number
of > characters)
>
> Why do I ask? I have a webform with a lot of ActiveX controls (shows

up
as
> OBJECT in html). When I place like 35 of these objects the form

shows up
> BLANK in a web browser. When I remove a few (ANY few) I can see the

page.
> Any ideas?
>
> Thanks.
>
>



Nov 17 '05 #4
TEST 1: There are like 35 OBJECT tags. I kept removing them until the form
showed up (at 25 OBJECTS). I added a bunch of 'aaaaaaa' until I was over
660,000 characters. The form was blank at first but after about a minute
somehow the form refreshed and everything appeared.

TEST2: I created a brand new web form and added the same 36 (activeX)
OBJECTS the it. Ran the webform - IT WORKED! Went to HTML view and played
the form, it did NOT work (same results). Any ideas?
"John Saunders" <jo***********@ surfcontrol.com > wrote in message
news:u0******** ******@TK2MSFTN GP09.phx.gbl...
Ok, how about replacing one of the <object /> elements with the same number of characters in a <div> or something. That will tell you whether it's a
question of the size of HTML or the number of ActiveX controls.
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
That's the interesting thing. It has some scripting stuff at the

beginning
but NOTHING IN THE BODY. See below...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>OfficeVi ewDc</title>
<meta content="Micros oft Visual Studio.NET 7.0" name="GENERATOR ">
<meta content="Visual Basic 7.0" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
</HEAD>
<body ms_positioning= "GridLayout ">
<form name="Form1" method="post" action="OfficeV iewDc.aspx" id="Form1">
<input type="hidden" name="__EVENTTA RGET" value="" />
<input type="hidden" name="__EVENTAR GUMENT" value="" />
<input type="hidden" name="__VIEWSTA TE" value="dDw2Mzkx ODYzMz..." />

<script language="JavaS cript">
<!--

function SymError()
{
return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<script language="javas cript">
<!--
function __doPostBack(ev entTarget, eventArgument) {
var theform;
if (window.navigat or.appName.toLo werCase().index Of("netscape") > -1) {
theform = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENT TARGET.value = eventTarget.spl it("$").join(": ");
theform.__EVENT ARGUMENT.value = eventArgument;
theform.submit( );
}
// -->
</script>

*************** ***

"John Saunders" <jo***********@ surfcontrol.com > wrote in message
news:eu******** ******@TK2MSFTN GP12.phx.gbl...
What does View Source show you?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:eM******** ********@TK2MSF TNGP09.phx.gbl. ..
> FYI:
>
> It shows up FINE in the Design View. Also, I copied/pasted the text in Word
> and it came out to 616,242 char (w/spaces) and 526,708 (without).
>
> Please assist. Thanks!
>
> "VB Programmer" <gr*********@ go-intech.com> wrote in message
> news:ef******** ********@tk2msf tngp13.phx.gbl. ..
> > Is there a limit as to how big an aspx page's html can be? (number of > > characters)
> >
> > Why do I ask? I have a webform with a lot of ActiveX controls (shows up
as
> > OBJECT in html). When I place like 35 of these objects the form shows up
> > BLANK in a web browser. When I remove a few (ANY few) I can see

the page.
> > Any ideas?
> >
> > Thanks.
> >
> >
>
>



Nov 17 '05 #5
Also weird, when the form shows up blank I hit refresh twice and it shows me
this:

0

<OBJE1.1style=" WIDTH: 168px; HEIGHT: 40px"
classid="clsid: D940E4C8-6079-11CE-88CB-0020AF6845F6">
Transfer-Encoding: chunked
<PARAM NAME="_Version" VALUE="393218">
<PARAM NAME="_ExtentX" VALUE="4445">
<PARAM NAME="_ExtentY" VALUE="1058">
<PARAM NAME="_StockPro ps" VALUE="68">
<PARAM NAME="Enabled" VALUE="-1">
:
:
:
{ AND SO ON }
Nov 17 '05 #6
"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:eu******** ******@tk2msftn gp13.phx.gbl...
TEST 1: There are like 35 OBJECT tags. I kept removing them until the form showed up (at 25 OBJECTS). I added a bunch of 'aaaaaaa' until I was over
660,000 characters. The form was blank at first but after about a minute
somehow the form refreshed and everything appeared.
I recommend you wait a while. It could be taking IE a while to parse all
that text. Load the page, then don't touch IE for a minute or two.
TEST2: I created a brand new web form and added the same 36 (activeX)
OBJECTS the it. Ran the webform - IT WORKED! Went to HTML view and played the form, it did NOT work (same results). Any ideas?


What do you mean "Went to HTML view and played the form"?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

Nov 17 '05 #7
I did wait a while and the page fully loaded. I looked at the source to
verify.

I "Went to HTML view" in the Designer then went to Debug/Start. It worked
when I viewed it in Design view, but when I switched it to HTML view then
clicked on Debug/Start it failed to load (it was blank).

"John Saunders" <jo***********@ surfcontrol.com > wrote in message
news:Oa******** ******@TK2MSFTN GP09.phx.gbl...
"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:eu******** ******@tk2msftn gp13.phx.gbl...
TEST 1: There are like 35 OBJECT tags. I kept removing them until the

form
showed up (at 25 OBJECTS). I added a bunch of 'aaaaaaa' until I was over 660,000 characters. The form was blank at first but after about a minute somehow the form refreshed and everything appeared.


I recommend you wait a while. It could be taking IE a while to parse all
that text. Load the page, then don't touch IE for a minute or two.
TEST2: I created a brand new web form and added the same 36 (activeX)
OBJECTS the it. Ran the webform - IT WORKED! Went to HTML view and

played
the form, it did NOT work (same results). Any ideas?


What do you mean "Went to HTML view and played the form"?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

Nov 17 '05 #8
"VB Programmer" <gr*********@ go-intech.com> wrote in message
news:eV******** ******@TK2MSFTN GP12.phx.gbl...
I did wait a while and the page fully loaded. I looked at the source to
verify.

I "Went to HTML view" in the Designer then went to Debug/Start. It worked
when I viewed it in Design view, but when I switched it to HTML view then
clicked on Debug/Start it failed to load (it was blank).


This is the part that doesn't make any sense. Did you also save the page
after switching to HTML view?

Are there any squiggly red lines in HTML view? Any complaints when you
format the HTML?
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

Nov 17 '05 #9
I did another test.

Here's exactly what I did:
1. Create a brand new ASP.NET project with a webform1.aspx.
2. Placed 50 occurances of the non-managed ActiveX control on the
webform1.aspx. Saved it.
3. Debug/Start. Everything shows up fine.
4. Hit 'Refresh' everything is blank. (Even if I wait a while.)
Debug/Start again - still blank. The View Source is this...

**** SAMPLE START *******
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1 </title>
<meta name="GENERATOR " content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING= "GridLayout ">
<form name="Form1" method="post" action="WebForm 1.aspx" id="Form1">
<input type="hidden" name="__VIEWSTA TE"
value="dDwtMTI3 OTMzNDM4NDs7PnM Pq6yJMO85lyWW00 QfPpgusVje" />
***** SAMPLE END ********

Hit 'Refresh' again, and I get this IN THE BROWSER....

***** SAMPLE START ******
0

<OBJE1.1style=" Z-INDEX: 100; LEFT: 456px; WIDTH: 144px; POSITION: absolute;
TOP: 384px; HEIGHT: 38px"
Transfer-Encoding: chunked
classid="clsid: D940E4C8-6079-11CE-88CB-0020AF6845F6">
<PARAM NAME="_Version" VALUE="393218">
<PARAM NAME="_ExtentX" VALUE="3810">
:
:
******* SAMPLE END *******

It continues to load VERY SLOWLY. FYI: My HTML (in the designer view)
starts off like this...

******* SAMPLE START ******
<%@ Page Language="vb" AutoEventWireup ="false" Codebehind="Web Form1.aspx.vb"
Inherits="zzz2. WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1 </title>
<meta name="GENERATOR " content="Micros oft Visual Studio .NET 7.1">
<meta name="CODE_LANG UAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaul tClientScript" content="JavaSc ript">
<meta name="vs_target Schema"
content="http://schemas.microso ft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING= "GridLayout ">
<form id="Form1" method="post" runat="server">
<OBJECT style="Z-INDEX: 100; LEFT: 456px; WIDTH: 144px; POSITION:
absolute; TOP: 384px; HEIGHT: 38px"
classid="clsid: D940E4C8-6079-11CE-88CB-0020AF6845F6">
<PARAM NAME="_Version" VALUE="393218">
<PARAM NAME="_ExtentX" VALUE="3810">
:
:
****** SAMPLE END ********

If you want I can send you the ActiveX control for you to test.

Thanks!
Robert
Nov 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
2599
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the User first hits Internet Explorer 6.0 on your browser.
0
6421
by: Michelle Keys | last post by:
I am trying to call a print function to print a string from a database using javascript. Which is RC_DATA of Varchar2(2500). This is a javascript is not being used. I have a thing that needs to be modified: if(e.CommandName =="Print") { string parsedreceipt = null; parsedreceipt = DecodeReceipt (e.Item.Cells.Text); Session =...
3
1516
by: mca | last post by:
Hi everyone, I'm new to asp.net and i have a question about separating the html code from the programming code. i have an unknown numbers of entries in my table. I want to make a hyperlink for every entry in my table. So i query the database and get for example 3 entries back. So in a while loop i can make 3 hyperlinks with...
5
1432
by: THX-1138 | last post by:
hi, I am having a trouble at work. We currently have many pages in our site and we are having trouble with dll's.( we think ) Our site outputs static pages as .aspx pages becasue we have a toolbar that uses .net so all pages that use the toolbar need to be .aspx. We have many, many pages on our site ( 10000 or so ) and we are running into...
5
11287
by: danc | last post by:
I keep getting this error. I have scoured the web and could not find any applicable information. It seems to have really started since I upgraded to the 1.1 framework. Any help is appreciated. Using: *ASP.NET 1.1 *Single machine (no clusters) *Simple postbacks (no postbacks to different pages) *Using only Response.Redirect() when...
5
3158
by: z. f. | last post by:
hi, i have a vb.net web application and i make a request using internet explorer to an aspx page. the aspx page size if over 170KB, and the page in internet explorer looks truncated and in the view-source the text/html is truncated in the middle of a line. the last line looks like that: <td with and that's it. i checked the HTTP...
4
6827
by: Neil.Smith | last post by:
I can't seem to find any references to this, but here goes: In there anyway to parse an html/aspx file within an asp.net application to gather a collection of controls in the file. For instance what I'm trying to do is upload a html file onto the web server, convert it to aspx file and then parse it for input tags/controls, which in turn...
1
2422
by: John | last post by:
Hi I have written a Split function which in turn calls the standard string split function. Code is below; Function Split1(ByVal Expression As String, Optional ByVal Delimiter As String = " ", Optional ByVal Limit As Integer = -1, Optional ByVal Compare As CompareMethod = CompareMethod.Binary, Optional ByVal MaxLength As Integer = 0) As...
16
2877
by: Chad | last post by:
Given the following #include <stdio.h> int main(void) { char line; long arg1, arg2; while(fgets(line, BUFSIZ, stdin) != NULL){
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6283
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.