****************** "John Saunders" wrote in message news:euBOLB$phx.gbl...[ref] > What does View Source show you? > -- > John Saunders > Internet Engineer > com > > "VB Programmer" wrote in message > news:eMnA0b%phx.gbl...[ref] > > FYI: > > > > It shows up FINE in the Design View. Also, I copied/pasted the text in[/ref] > Word[ref] > > and it came out to 616,242 char (w/spaces) and 526,708 (without). > > > > Please assist. Thanks! > > > > "VB Programmer" wrote in message > > news:efoXFY%phx.gbl...[ref] > > > 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[/ref][/ref][/ref] up[ref] > as[ref][ref] > > > OBJECT in html). When I place like 35 of these objects the form shows[/ref][/ref] > up[ref][ref] > > > BLANK in a web browser. When I remove a few (ANY few) I can see the[/ref][/ref] > page.[ref][ref] > > > Any ideas? > > > > > > Thanks. > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => <#8jthJ$aDHA.4020@tk2msftngp13.phx.gbl> [ref] => [htmlstate] => on_nl2br [postusername] => VB [ip] => growNO-SPAM@go- [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 3 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > ****************** > > "John Saunders" wrote in message > news:euBOLB$phx.gbl...[ref] > > What does View Source show you? > > -- > > John Saunders > > Internet Engineer > > com > > > > "VB Programmer" wrote in message > > news:eMnA0b%phx.gbl...[ref] > > > FYI: > > > > > > It shows up FINE in the Design View. Also, I copied/pasted the text[/ref][/ref][/ref] in[ref][ref] > > Word[ref] > > > and it came out to 616,242 char (w/spaces) and 526,708 (without). > > > > > > Please assist. Thanks! > > > > > > "VB Programmer" wrote in message > > > news:efoXFY%phx.gbl... > > > > Is there a limit as to how big an aspx page's html can be? (number[/ref][/ref][/ref] of[ref][ref][ref] > > > > characters) > > > > > > > > Why do I ask? I have a webform with a lot of ActiveX controls (shows[/ref][/ref] > up[ref] > > as[ref] > > > > OBJECT in html). When I place like 35 of these objects the form[/ref][/ref][/ref] shows[ref][ref] > > up[ref] > > > > BLANK in a web browser. When I remove a few (ANY few) I can see the[/ref] > > page.[ref] > > > > Any ideas? > > > > > > > > Thanks. > > > > > > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#8jthJ$aDHA.4020@tk2msftngp13.phx.gbl> [htmlstate] => on_nl2br [postusername] => John [ip] => john.saunders@s [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 4 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> > > > > > > > > > > ****************** > > > > "John Saunders" wrote in message > > news:euBOLB$phx.gbl...[ref] > > > What does View Source show you? > > > -- > > > John Saunders > > > Internet Engineer > > > com > > > > > > "VB Programmer" wrote in message > > > news:eMnA0b%phx.gbl... > > > > FYI: > > > > > > > > It shows up FINE in the Design View. Also, I copied/pasted the text[/ref][/ref] > in[ref][ref] > > > Word > > > > and it came out to 616,242 char (w/spaces) and 526,708 (without). > > > > > > > > Please assist. Thanks! > > > > > > > > "VB Programmer" wrote in message > > > > news:efoXFY%phx.gbl... > > > > > Is there a limit as to how big an aspx page's html can be? (number[/ref][/ref] > of[ref][ref] > > > > > characters) > > > > > > > > > > Why do I ask? I have a webform with a lot of ActiveX controls[/ref][/ref][/ref] (shows[ref][ref] > > up[ref] > > > as > > > > > OBJECT in html). When I place like 35 of these objects the form[/ref][/ref] > shows[ref][ref] > > > up > > > > > BLANK in a web browser. When I remove a few (ANY few) I can see[/ref][/ref][/ref] the[ref][ref][ref] > > > page. > > > > > Any ideas? > > > > > > > > > > Thanks. > > > > > > > > > > > > > > > > > > > > > > > >[/ref] > > > >[/ref] > >[/ref] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => <#8jthJ$aDHA.4020@tk2msftngp13.phx.gbl> [htmlstate] => on_nl2br [postusername] => VB [ip] => growNO-SPAM@go- [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 5 [islastshown] => [isfirstshown] => [attachments] => [allattachments] => ) --> Question: HTML char limit for aspx page??? - ASP.NET General

Question: HTML char limit for aspx page??? - ASP.NET General

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....

  1. #1

    Default 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.


    VB Guest

  2. #2

    Default Re: Question: HTML char limit for aspx page???

    What does View Source show you?
    --
    John Saunders
    Internet Engineer
    com

    "VB Programmer" <com> wrote in message
    news:eMnA0b%phx.gbl... 
    Word [/ref]
    as [/ref]
    up [/ref]
    page. 
    >
    >[/ref]


    John Guest

  3. #3

    Default Re: Question: HTML char limit for aspx page???

    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>OfficeViewDc</title>
    <meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
    <meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5"
    name="vs_targetSchema">
    </HEAD>
    <body ms_positioning="GridLayout">
    <form name="Form1" method="post" action="OfficeViewDc.aspx" id="Form1">
    <input type="hidden" name="__EVENTTARGET" value="" />
    <input type="hidden" name="__EVENTARGUMENT" value="" />
    <input type="hidden" name="__VIEWSTATE" value="dDw2MzkxODYzMz..." />

    <script language="JavaScript">
    <!--

    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="javascript">
    <!--
    function __doPostBack(eventTarget, eventArgument) {
    var theform;
    if (window.navigator.appName.toLowerCase().indexOf("n etscape") > -1) {
    theform = doent.forms["Form1"];
    }
    else {
    theform = doent.Form1;
    }
    theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
    theform.__EVENTARGUMENT.value = eventArgument;
    theform.submit();
    }
    // -->
    </script>

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

    "John Saunders" <com> wrote in message
    news:euBOLB$phx.gbl... 
    > Word [/ref][/ref]
    up [/ref]
    > up [/ref]
    > page. 
    > >
    > >[/ref]
    >
    >[/ref]


    VB Guest

  4. #4

    Default Re: Question: HTML char limit for aspx page???

    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
    com

    "VB Programmer" <com> wrote in message
    news:%238jthJ$phx.gbl... 
    beginning [/ref][/ref]
    in [/ref][/ref]
    of [/ref]
    > up [/ref][/ref]
    shows 
    > > page. 
    > >
    > >[/ref]
    >
    >[/ref]


    John Guest

  5. #5

    Default Re: Question: HTML char limit for aspx page???

    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" <com> wrote in message
    news:u04esN$phx.gbl... 
    number 
    > beginning [/ref]
    id="Form1"> [/ref]
    > in [/ref]
    > of [/ref][/ref]
    (shows [/ref]
    > shows [/ref][/ref]
    the 
    > >
    > >[/ref]
    >
    >[/ref]


    VB Guest

  6. #6

    Default Re: Question: HTML char limit for aspx page???

    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="_StockProps" VALUE="68">
    <PARAM NAME="Enabled" VALUE="-1">
    :
    :
    :
    { AND SO ON }


    VB Guest

  7. #7

    Default Re: Question: HTML char limit for aspx page???

    "VB Programmer" <com> wrote in message
    news:euApBh$phx.gbl... 
    form 

    I recommend you wait a while. It could be taking IE a while to p all
    that text. Load the page, then don't touch IE for a minute or two.
     
    played 

    What do you mean "Went to HTML view and played the form"?
    --
    John Saunders
    Internet Engineer
    com



    John Guest

  8. #8

    Default Re: Question: HTML char limit for aspx page???

    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" <com> wrote in message
    news:phx.gbl... 
    > form [/ref]
    over [/ref]
    minute 
    >
    > I recommend you wait a while. It could be taking IE a while to p all
    > that text. Load the page, then don't touch IE for a minute or two.

    > played 
    >
    > What do you mean "Went to HTML view and played the form"?
    > --
    > John Saunders
    > Internet Engineer
    > com
    >
    >
    >[/ref]


    VB Guest

  9. #9

    Default Re: Question: HTML char limit for aspx page???

    "VB Programmer" <com> wrote in message
    news:phx.gbl... 

    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
    com



    John Guest

  10. #10

    Default Re: Question: HTML char limit for aspx page???

    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="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema"
    content="http://schemas.microsoft.com/intellisense/ie5">
    </HEAD>
    <body MS_POSITIONING="GridLayout">
    <form name="Form1" method="post" action="WebForm1.aspx" id="Form1">
    <input type="hidden" name="__VIEWSTATE"
    value="dDwtMTI3OTMzNDM4NDs7PnMPq6yJMO85lyWW00QfPpg usVje" />
    ***** 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="WebForm1.aspx.vb"
    Inherits="zzz2.WebForm1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <title>WebForm1</title>
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="vs_targetSchema"
    content="http://schemas.microsoft.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


    VB Guest

  11. #11

    Default Re: Question: HTML char limit for aspx page???

    "VB Programmer" <com> wrote in message
    news:phx.gbl... 

    This is looking more and more like an IE bug (or rather, an MSHTML bug).
    Recall that both IE and the VS.NET design mode use the same HTML rendering
    engine.

    I'm about out of clues. I'm guessing that some piece of code doesn't like to
    see such an unusually large number of ActiveX controls. Perhaps you could
    create a few meta-controls? Five controls each performing the functions of
    ten of the originals might work better.

    Also, have you played with the security settings? Try using the least-secure
    settings and see if it's any different.
    --
    John Saunders
    Internet Engineer
    com


    John Guest

  12. #12

    Default Re: Question: HTML char limit for aspx page???

    Thanks for your help.

    I appreciate the proactive and insightful suggestions.

    "John Saunders" <com> wrote in message
    news:phx.gbl... 
    >
    > This is looking more and more like an IE bug (or rather, an MSHTML bug).
    > Recall that both IE and the VS.NET design mode use the same HTML rendering
    > engine.
    >
    > I'm about out of clues. I'm guessing that some piece of code doesn't like[/ref]
    to 
    least-secure 


    VB Guest

Similar Threads

  1. Replies: 0
    Last Post: June 12th, 10:47 PM
  2. Limit 255 char
    By webfox in forum ASP Database
    Replies: 3
    Last Post: September 3rd, 09:06 PM
  3. Replies: 0
    Last Post: July 4th, 09:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •