我正在尝试让运行ComponentArt的网站在本地运行。它适用于DEV服务器,但不适用于本地。许多回拨都无法正常工作。我在服务器端代码中设置了一个断点,并且它没有被命中,因为JavaScript试图调用它时出错了。
JavaScript错误是:
SCRIPT5007:属性“SaveChanges”的值为null或未定义,而不是Function对象 File:PopupDataCollectionNoteExternal.aspx.js,Line:35,Column:2
服务器端代码是:
<ComponentArtCallbackMethod()> Public Function SaveChanges(ByVal sDrawerID As String, ByVal iDataCollectionRequestID As String, ByVal iNoteID As String, ByVal sNote As String, ByVal iClosed As String, ByVal sResolution As String) As String
...
End Function
JavaScript代码是:
var sReturn = SaveChanges(sDrawerID,iDataCollectionRequestID, iNoteID, sNote, iClosed, sResolution);
任何人都知道是否有丢失的配置项或文件?