问题:aspx页面的HTML char限制??? [英] Question: HTML char limit for aspx page???

查看:48
本文介绍了问题:aspx页面的HTML char限制???的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于aspx页面的html有多大,是否存在限制? (

个字符数)


我为什么要问?我有一个带有很多ActiveX控件的webform(在html中显示为

OBJECT)。当我像这些对象中的35个一样放置时,表单会在Web浏览器中显示

BLANK。当我删除一些(任何一些)我可以看到页面。

任何想法?


谢谢。

解决方案

View Source向您展示了什么?

-

John Saunders

互联网工程师
jo***********@surfcontrol.com

" VB Programmer" < GR ********* @ go-intech.com>在消息中写道

news:eM **************** @ TK2MSFTNGP09.phx.gbl ...

FYI:

它在设计视图中显示FINE。另外,我在
Word中复制/粘贴了文本,它出现了616,242个字符(带空格)和526,708个字符(没有)。

请协助。谢谢!

VB程序员 < GR ********* @ go-intech.com>在消息中写道
新闻:ef **************** @ tk2msftngp13.phx.gbl ...

是否有限制如何大的aspx页面的HTML可以吗? (
字符数)

为什么我问?我有一个带有很多ActiveX控件的webform(在html中显示
作为OBJECT)。当我放置35个这样的对象时,表单在Web浏览器中显示BLANK
。当我删除一些(任何一些)我可以看到
页面。有什么想法吗?

谢谢。




这很有意思事情。它在开始时有一些脚本编写的东西

但在身体里没有任何东西。见下文......


<!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中"方法= QUOT;交"行动= QUOT; OfficeViewDc.aspx" id =" Form1"

< input type =" hidden"名称= QUOT; __ EVENTTARGET"值= QUOT;" />

< input type =" hidden"名称= QUOT; __ EVENTARGUMENT"值= QUOT;" />

< input type =" hidden"命名= QUOT; __ VIEWSTATE"值= QUOT; dDw2MzkxODYzMz ..." />


< script language =" JavaScript">

<! -


函数SymError()

{

返回true;

}


window.onerror = SymError;


var SymRealWinOpen = window.open;


函数SymWinOpen(网址,名称,属性)

{

return(new Object());

}


window.open = SymWinOpen;


// - >

< / script>


<! -

函数__doPostBack(eventTarget,eventArgument){

var theform;

if(window。 navigator.appName.toLowerCase()。indexOf(" n etscape")> -1){

theform = document.forms [" Form1"];

}

else {

theform = document.Form1;

}

theform .__ EVENTTARGET.value = eventTarget。分裂(QUOT;

" ).join(":");

theform .__ EVENTARGUMENT.value = eventArgument;

theform.submit();

}

// - >

< / script>


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


" John Saunders" <乔*********** @ surfcontrol.com>写在留言中

新闻:eu ************** @ TK2MSFTNGP12.phx.gbl ...

查看来源显示什么你呢?
-
John Saunders
互联网工程师
jo ***********@surfcontrol.com

VB程序员 < GR ********* @ go-intech.com>在消息中写道
新闻:eM **************** @ TK2MSFTNGP09.phx.gbl ...

FYI:
<它在设计视图中显示FINE。另外,我在Word

中复制/粘贴了文本,它出现了616,242个字符(带空格)和526,708个(没有)。

请协助。谢谢!

VB程序员 < GR ********* @ go-intech.com>在消息中写道
新闻:ef **************** @ tk2msftngp13.phx.gbl ...

是否有限制如何大的aspx页面的HTML可以吗? (
字符数)

为什么我问?我有一个带有很多ActiveX控件的webform(在html中显示


up as OBJECT)。当我放置35个这样的对象时,表单在Web浏览器中显示BLANK。当我删除一些(任何一些)我可以看到该页面。有什么想法吗?

谢谢。





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.

解决方案

What does View Source show you?
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com

"VB Programmer" <gr*********@go-intech.com> wrote in message
news:eM****************@TK2MSFTNGP09.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****************@tk2msftngp13.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.




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 = document.forms["Form1"];
}
else {
theform = document.Form1;
}
theform.__EVENTTARGET.value = eventTarget.split("


").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>

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

"John Saunders" <jo***********@surfcontrol.com> wrote in message
news:eu**************@TK2MSFTNGP12.phx.gbl...

What does View Source show you?
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com

"VB Programmer" <gr*********@go-intech.com> wrote in message
news:eM****************@TK2MSFTNGP09.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****************@tk2msftngp13.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.





这篇关于问题:aspx页面的HTML char限制???的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆