佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 732|回复: 5

有关ASP.NET的问题, 紧急求救...

[复制链接]
发表于 20-7-2006 12:13 PM | 显示全部楼层 |阅读模式
<asp:textbox id="txtOther" MaxLength="300" Width="432px" Runat="server" TextMode="MultiLine" Height="72px"></asp:textbox>


请问要如何用JAVASCRIPT拿到以上的 MaxLength 的 300 VALUE??
我用obj.getAttribute("MaxLength",但只在TEXTAREA拿得到,
在asp:textbox却RETURN NULL,

很紧急,请高手救救我
回复

使用道具 举报


ADVERTISEMENT

 楼主| 发表于 20-7-2006 02:34 PM | 显示全部楼层
我今天会在线等着... 请高手帮帮忙
回复

使用道具 举报

发表于 20-7-2006 04:47 PM | 显示全部楼层
把你的 code 放出来看看.
回复

使用道具 举报

发表于 4-8-2006 07:22 PM | 显示全部楼层
goatstudio兄, 如果web application 完成了, 有没有可能create 一个installation file, 让user autorun 然后install 整个 web application 进入另一架电脑, 可以开始使用了呢?? 先不谈 database, 单单是 web application 就好了。。
回复

使用道具 举报

发表于 4-8-2006 10:08 PM | 显示全部楼层
原帖由 SKYLINE84 于 4-8-2006 07:22 PM 发表
goatstudio兄, 如果web application 完成了, 有没有可能create 一个installation file, 让user autorun 然后install 整个 web application 进入另一架电脑, 可以开始使用了呢?? 先不谈 database, 单单是 web ...


市面上有不少这样的东西... 虽然我没用过. 但你可以尝试:

http://msdn2.microsoft.com/en-us/library/k8kzx145.aspx

http://www.installaware.com/web- ... -web-deployment.htm

[ 本帖最后由 goatstudio 于 4-8-2006 10:10 PM 编辑 ]
回复

使用道具 举报

发表于 5-8-2006 10:57 AM | 显示全部楼层
原帖由 goatstudio 于 4-8-2006 10:08 PM 发表


市面上有不少这样的东西... 虽然我没用过. 但你可以尝试:

http://msdn2.microsoft.com/en-us/library/k8kzx145.aspx

http://www.installaware.com/web- ... -web-deployment.htm



成功了一半!! 谢谢!!






另一半失败的是 crystal report 那一部分。。。。。

出现了这样的错误:

Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[LogOnException: Logon failed.]
.F(String  , EngineExceptionErrorID 
)
.A(Int16 , Int32 )
.@(Int16 )
CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext)
CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext)
CrystalDecisions.Web.ReportAgent.u(Boolean N)
CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e)
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Control.PreRenderRecursiveInternal()
System.Web.UI.Page.ProcessRequestMain()



请问如果把 web application 复制到另外一架电脑里, 里面的crystal report 是不是要从新configure 过database???

我把我的 web application 复制到另外一架电脑后, 都要重新link 过 crystal report 的 database 。。。

我的crystal report 是直接连接到database的
这样是不是不对?有没有方法解决??
回复

使用道具 举报

Follow Us
您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 23-9-2024 09:31 AM , Processed in 0.112661 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表