I have used eConnect COM object with ASP pages in the past. With version 10 requiring use of .NET assembly, I am trying to create an aspx web page that works with eConnect but I cant seem to get it to work. I have added imports of namespaces at the top of the webpage as follows:
<%@ Import Namespace="System.IO" %>
<%
@ Import Namespace="System.XML" %><%@ Import Namespace="System.XML.Serialization" %>
<%
@ Import Namespace="System.Text" %><%@ Import Namespace="System.EnterpriseServices" %>
<%
@ Import Namespace="System.EnterpriseService.ServicedComponent" %><%@ Import Namespace="Microsoft.Dynamics.GP.eConnect" %>
<%
@ Import Namespace="Microsoft.Dynamics.GP.eConnect.Serialization" %>
<%
@ Import Namespace="Microsoft.Dynamics.GP.eConnect.MiscRoutines" %> However, I am still getting an error at a part in the code when I try to do the following:
Dim eConnectObject As New eConnectMethods
Any suggestions would be greatly appreciated. Thanks!
David
Error follows below:
Server Error in '/Intranet' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'eConnectMethods' is not defined.
Source Error:
|
Line 176:Dim ConnectionString As String
Line 177:Dim eConnectResult As Boolean
Line 178:Dim eConnectObject As New eConnectMethods
Line 179:Dim xmlDoc As XmlDocument
Line 180:
|
Source File: E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx Line: 178
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.dll" /debug- "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.7017.4
for Microsoft (R) .NET Framework version 1.1.4322.2379
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb(14) : error BC30466: Namespace or type 'eConnect' for the Imports 'Microsoft.Dynamics.GP.eConnect' cannot be found.
Imports Microsoft.Dynamics.GP.eConnect
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb(15) : error BC30466: Namespace or type 'MiscRoutines' for the Imports 'Microsoft.Dynamics.GP.eConnect.MiscRoutines' cannot be found.
Imports Microsoft.Dynamics.GP.eConnect.MiscRoutines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb(16) : error BC30466: Namespace or type 'Serialization' for the Imports 'Microsoft.Dynamics.GP.eConnect.Serialization' cannot be found.
Imports Microsoft.Dynamics.GP.eConnect.Serialization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb(17) : error BC30466: Namespace or type 'eConnect' for the Imports 'Microsoft.GreatPlains.eConnect' cannot be found.
Imports Microsoft.GreatPlains.eConnect
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb(18) : error BC30466: Namespace or type 'MiscRoutines' for the Imports 'Microsoft.GreatPlains.eConnect.MiscRoutines' cannot be found.
Imports Microsoft.GreatPlains.eConnect.MiscRoutines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb(19) : error BC30466: Namespace or type 'Serialization' for the Imports 'Microsoft.GreatPlains.eConnect.Serialization' cannot be found.
Imports Microsoft.GreatPlains.eConnect.Serialization
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\intranet\0ea29b81\a1875c85\yuj3hole.0.vb(25) : error BC30466: Namespace or type 'ServicedComponent' for the Imports 'System.EnterpriseService.ServicedComponent' cannot be found.
Imports System.EnterpriseService.ServicedComponent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(178) : error BC30002: Type 'eConnectMethods' is not defined.
Dim eConnectObject As New eConnectMethods
~~~~~~~~~~~~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(187) : error BC30684: 'path' is a type and cannot be used as an expression.
xmlDoc.LoadXml(path)
~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(193) : error BC30616: Variable 'eConnectObject' hides a variable in an enclosing block.
Dim eConnectObject As New eConnectMethods
~~~~~~~~~~~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(193) : error BC30002: Type 'eConnectMethods' is not defined.
Dim eConnectObject As New eConnectMethods
~~~~~~~~~~~~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(196) : error BC30451: Name 'EnumTypes' is not declared.
eConnectResult = eConnectObject.eConnect_EntryPoint(ConnectionString, EnumTypes.ConnectionStringType.SqlClient, xmlDoc.OuterXml, EnumTypes.SchemaValidationType.None)
~~~~~~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(196) : error BC30451: Name 'EnumTypes' is not declared.
eConnectResult = eConnectObject.eConnect_EntryPoint(ConnectionString, EnumTypes.ConnectionStringType.SqlClient, xmlDoc.OuterXml, EnumTypes.SchemaValidationType.None)
~~~~~~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(199) : error BC30002: Type 'eConnectException' is not defined.
Catch eConnectError as eConnectException
~~~~~~~~~~~~~~~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(207) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.
Set eConnectResult = Nothing
~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(208) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.
Set eConnectObject = Nothing
~~~
E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx(209) : error BC30807: 'Let' and 'Set' assignment statements are no longer supported.
Set xmlDoc = Nothing
~~~
|
Show Complete Compilation Source:
Line 1: '------------------------------------------------------------------------------
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.2379
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9: '------------------------------------------------------------------------------
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.Dynamics.GP.eConnect
Line 15: Imports Microsoft.Dynamics.GP.eConnect.MiscRoutines
Line 16: Imports Microsoft.Dynamics.GP.eConnect.Serialization
Line 17: Imports Microsoft.GreatPlains.eConnect
Line 18: Imports Microsoft.GreatPlains.eConnect.MiscRoutines
Line 19: Imports Microsoft.GreatPlains.eConnect.Serialization
Line 20: Imports Microsoft.VisualBasic
Line 21: Imports System
Line 22: Imports System.Collections
Line 23: Imports System.Collections.Specialized
Line 24: Imports System.Configuration
Line 25: Imports System.EnterpriseService.ServicedComponent
Line 26: Imports System.EnterpriseServices
Line 27: Imports System.IO
Line 28: Imports System.Text
Line 29: Imports System.Text.RegularExpressions
Line 30: Imports System.Web
Line 31: Imports System.Web.Caching
Line 32: Imports System.Web.Security
Line 33: Imports System.Web.SessionState
Line 34: Imports System.Web.UI
Line 35: Imports System.Web.UI.HtmlControls
Line 36: Imports System.Web.UI.WebControls
Line 37: Imports System.XML
Line 38: Imports System.XML.Serialization
Line 39:
Line 40: Namespace ASP
Line 41:
Line 42: Public Class ImportCreditCardInvoicesRUN_aspx
Line 43: Inherits System.Web.UI.Page
Line 44: Implements System.Web.SessionState.IRequiresSessionState
Line 45:
Line 46: Private Shared __autoHandlers As Integer
Line 47:
Line 48: Private Shared __initialized As Boolean = false
Line 49:
Line 50: Private Shared __fileDependencies As System.Collections.ArrayList
Line 51:
Line 52:
Line 53: #ExternalSource("E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx",21)
Line 54:
Line 55:
Line 56:
Line 57:
Line 58:
Line 59: #End ExternalSource
Line 60:
Line 61: Public Sub New()
Line 62: MyBase.New
Line 63: Dim dependencies As System.Collections.ArrayList
Line 64: If (ASP.ImportCreditCardInvoicesRUN_aspx.__initialized = false) Then
Line 65: dependencies = New System.Collections.ArrayList
Line 66: dependencies.Add("E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx")
Line 67: ASP.ImportCreditCardInvoicesRUN_aspx.__fileDependencies = dependencies
Line 68: ASP.ImportCreditCardInvoicesRUN_aspx.__initialized = true
Line 69: End If
Line 70: End Sub
Line 71:
Line 72: Protected Overrides Property AutoHandlers As Integer
Line 73: Get
Line 74: Return ASP.ImportCreditCardInvoicesRUN_aspx.__autoHandlers
Line 75: End Get
Line 76: Set
Line 77: ASP.ImportCreditCardInvoicesRUN_aspx.__autoHandlers = value
Line 78: End Set
Line 79: End Property
Line 80:
Line 81: Protected ReadOnly Property ApplicationInstance As System.Web.HttpApplication
Line 82: Get
Line 83: Return CType(Me.Context.ApplicationInstance,System.Web.HttpApplication)
Line 84: End Get
Line 85: End Property
Line 86:
Line 87: Public Overrides ReadOnly Property TemplateSourceDirectory As String
Line 88: Get
Line 89: Return "/Intranet/General"
Line 90: End Get
Line 91: End Property
Line 92:
Line 93: Private Sub __BuildControlTree(ByVal __ctrl As System.Web.UI.Control)
Line 94: __ctrl.SetRenderMethodDelegate(AddressOf Me.__Render__control1)
Line 95: End Sub
Line 96:
Line 97: Private Sub __Render__control1(ByVal __output As System.Web.UI.HtmlTextWriter, ByVal parameterContainer As System.Web.UI.Control)
Line 98: __output.Write(""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"<html xmlns=""http://www.w3.org/1999/xhtml"">"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"<head>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"<title></title>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"</head>"& _
Line 99: ""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"<body>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10))
Line 100:
Line 101: #ExternalSource("E:\Inetpub\Files\Intranet\General\ImportCreditCardInvoicesRUN.aspx",33)
Line 102:
Line 103:
Line 104:
Line 105:
Line 106: Dim xDate As DateTime = DateTime.Now
Line 107: Dim xDateTime As DateTime = DateTime.Now
Line 108:
Line 109: Dim xErrorMessagesText as String
Line 110: Dim xMonth as Integer
Line 111: Dim xDay as Integer
Line 112: Dim xYear as Long
Line 113: Dim xHour as Integer
Line 114: Dim xMinute as Integer
Line 115: Dim xSecond as Integer
Line 116:
Line 117: Dim xTwoDigitDay as String
Line 118: Dim xTwoDigitMonth as String
Line 119: Dim xDateString as String
Line 120: Dim xBatchID as String
Line 121: Dim xBatchComment as String
Line 122: Dim documentFileName as String
Line 123: Dim documentPath as String
Line 124:
Line 125: 'need a section here to remove existing files from the XML folder in case of repeat import '
Line 126:
Line 127:
Line 128: Dim directoryname As String
Line 129: directoryname="E:\Inetpub\Files\Intranet\XML\"
Line 130:
Line 131:
Line 132:
Line 133:
Line 134: Dim a As StreamWriter = File.CreateText("E:\Inetpub\Files\Intranet\XML\testfile2.xml")
Line 135: a.WriteLine("This is a test file to make sure that there is xml to remove from the temp folder.")
Line 136: a.Close()
Line 137:
Line 138:
Line 139: Dim dDir1 As New DirectoryInfo(directoryname)
Line 140: dDir1.Delete(true)
Line 141: dDir1.Create()
Line 142:
Line 143:
Line 144:
Line 145:
Line 146: xMonth = xDate.Month
Line 147: xDay = xDate.Day
Line 148: xYear = xDate.Year
Line 149: xHour = xDate.Hour
Line 150: xMinute = xDate.Minute
Line 151: xSecond = xDate.Second
Line 152:
Line 153: If len(cstr(xDay))=1 Then
Line 154: xTwoDigitDay = "0" & cstr(xDay)
Line 155: Else
Line 156: xTwoDigitDay = cstr(xDay)
Line 157: End If
Line 158:
Line 159:
Line 160: If len(cstr(xMonth))=1 Then
Line 161: xTwoDigitMonth = "0" & cstr(xMonth)
Line 162: Else
Line 163: xTwoDigitMonth = cstr(xMonth)
Line 164: End If
Line 165:
Line 166:
Line 167:
Line 168: xDateString = cstr(xYear) & cstr(xTwoDigitMonth) & cstr(xTwoDigitDay)
Line 169:
Line 170:
Line 171:
Line 172: '------------------'
Line 173:
Line 174:
Line 175:
Line 176:
Line 177:
Line 178: xBatchID = "CC" & xDateString
Line 179:
Line 180:
Line 181:
Line 182: xBatchComment = "Credit card imports " & xDateString
Line 183:
Line 184: documentFileName = xBatchID & ".xml"
Line 185:
Line 186: documentPath = directoryname & documentFileName
Line 187:
Line 188: Dim b As StreamWriter = File.CreateText(documentPath)
Line 189:
Line 190:
Line 191: b.WriteLine ("<eConnect xmlns:dt='urn:schemas-microsoft-com:datatypes'>" & vbcrlf)
Line 192: b.WriteLine ("<SMTransactionBatchType>" & vbcrlf)
Line 193: b.WriteLine ("<eConnectProcessInfo>" & vbcrlf)
Line 194: b.WriteLine ("<ConnectionString>" & "</ConnectionString>" & vbcrlf)
Line 195: b.WriteLine ("<ProductName>" & "</ProductName>" & vbcrlf)
Line 196: b.WriteLine ("<Sender>" & "</Sender>" & vbcrlf)
Line 197: b.WriteLine ("<Outgoing>" & "</Outgoing>" & vbcrlf)
Line 198: b.WriteLine ("<eConnectProcsRunFirst>" & "</eConnectProcsRunFirst>" & vbcrlf)
Line 199: b.WriteLine ("<MessageID>" & xBatchID & "</MessageID>" & vbcrlf)
Line 200: b.WriteLine ("<SiteID>" & "TAYLOR</SiteID>" & vbcrlf)
Line 201: b.WriteLine ("<DocumentName>" & "</DocumentName>" & vbcrlf)
Line 202: b.WriteLine ("<Version>" & "</Version>" & vbcrlf)
Line 203: b.WriteLine ("<DateTimeStamp1>" & "</DateTimeStamp1>" & vbcrlf)
Line 204: b.WriteLine ("<DateTimeStamp2>" & "</DateTimeStamp2>" & vbcrlf)
Line 205: b.WriteLine ("<DateTimeStamp3>" & "</DateTimeStamp3>" & vbcrlf)
Line 206: b.WriteLine ("<DateTimeStamp4>" & "</DateTimeStamp4>" & vbcrlf)
Line 207: b.WriteLine ("<DateTimeStamp5>" & "</DateTimeStamp5>" & vbcrlf)
Line 208: b.WriteLine ("<Userdef1>" & "</Userdef1>" & vbcrlf)
Line 209: b.WriteLine ("<Userdef2>" & "</Userdef2>" & vbcrlf)
Line 210: b.WriteLine ("<Userdef3>" & "</Userdef3>" & vbcrlf)
Line 211: b.WriteLine ("<Userdef4>" & "</Userdef4>" & vbcrlf)
Line 212: b.WriteLine ("<ProcReturnCode>" & "</ProcReturnCode>" & vbcrlf)
Line 213:
Line 214: b.WriteLine ("</eConnectProcessInfo>" & vbcrlf)
Line 215:
Line 216: b.WriteLine ("<taCreateUpdateBatchHeaderRcd>" & vbCrLf)
Line 217:
Line 218:
Line 219: b.WriteLine ("<BACHNUMB>" & xBatchID & "</BACHNUMB>" & vbCrLf)
Line 220: b.WriteLine ("<BCHCOMNT>" & xBatchComment & "</BCHCOMNT>" & vbCrLf)
Line 221: b.WriteLine ("<SERIES>4</SERIES>" & vbCrLf)
Line 222: b.WriteLine ("<GLPOSTDT>" & xDate & "</GLPOSTDT>" & vbCrLf)
Line 223: b.WriteLine ("<BCHSOURC>PM_Trxent</BCHSOURC>" & vbCrLf)
Line 224: b.WriteLine ("<DOCAMT>0</DOCAMT>" & vbCrLf)
Line 225:
Line 226: b.WriteLine ("<ORIGIN>1</ORIGIN>" & vbCrLf)
Line 227:
Line 228:
Line 229: b.WriteLine ("<NUMOFTRX>0</NUMOFTRX>" & vbCrLf)
Line 230: b.WriteLine ("<CHEKBKID>TAYLOR SHELL CK</CHEKBKID>" & vbCrLf)
Line 231:
Line 232:
Line 233: b.WriteLine ("</taCreateUpdateBatchHeaderRcd>" & vbCrLf)
Line 234:
Line 235:
Line 236: b.WriteLine ("</SMTransactionBatchType>" & vbCrLf)
Line 237: b.WriteLine ("</eConnect>" & vbCrLf)
Line 238:
Line 239:
Line 240: b.Close()
Line 241:
Line 242:
Line 243:
Line 244:
Line 245: Dim ConnectionString As String
Line 246: Dim eConnectResult As Boolean
Line 247: Dim eConnectObject As New eConnectMethods
Line 248: Dim xmlDoc As XmlDocument
Line 249:
Line 250: 'Set the connection string
Line 251: 'This connection string uses integrated security to connect to the TWO database on the local computer
Line 252:
Line 253: ConnectionString = "DataSource=TAYLORSQL;Integrated Security=SSPI;" & "Persist Security Info=False;Initial Catalog=TUI;"
Line 254:
Line 255: 'Load the contents of the created xml file into the xmlDoc object
Line 256: xmlDoc.LoadXml(path)
Line 257:
Line 258:
Line 259:
Line 260: Try
Line 261: 'Instantiate an eConnectMethods object
Line 262: Dim eConnectObject As New eConnectMethods
Line 263:
Line 264: 'If eConnectResult is TRUE, the XML document was successfully submitted
Line 265: eConnectResult = eConnectObject.eConnect_EntryPoint(ConnectionString, EnumTypes.ConnectionStringType.SqlClient, xmlDoc.OuterXml, EnumTypes.SchemaValidationType.None)
Line 266:
Line 267: 'If an eConnect error occurs, display the error message
Line 268: Catch eConnectError as eConnectException
Line 269: xErrorMessagesText = eConnectError.Message
Line 270: 'If an unexpected error occurs, display the error message
Line 271: Catch ex As Exception
Line 272: xErrorMessagesText = ex.Message
Line 273: End Try
Line 274:
Line 275:
Line 276: Set eConnectResult = Nothing
Line 277: Set eConnectObject = Nothing
Line 278: Set xmlDoc = Nothing
Line 279:
Line 280:
Line 281: a=Nothing
Line 282: b=Nothing
Line 283:
Line 284:
Line 285:
Line 286:
Line 287: #End ExternalSource
Line 288: __output.Write(""&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"<p>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"</p>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&" "&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"</body>"&Microsoft.VisualBasic.ChrW(13)&Microsoft.VisualBasic.ChrW(10)&"</html>")
Line 289: End Sub
Line 290:
Line 291: Protected Overrides Sub FrameworkInitialize()
Line 292: Me.__BuildControlTree(Me)
Line 293: Me.FileDependencies = ASP.ImportCreditCardInvoicesRUN_aspx.__fileDependencies
Line 294: Me.EnableViewStateMac = true
Line 295: Me.Request.ValidateInput
Line 296: End Sub
Line 297:
Line 298: Public Overrides Function GetTypeHashCode() As Integer
Line 299: Return 208178709
Line 300: End Function
Line 301: End Class
Line 302: End Namespace
Line 303:
|
xxxxx language=JavaScript type=text/javascript>
function OnToggleTOCLevel1()
{
var elemSrc = window.event.srcElement;
var elemLevel2 = document.all(elemSrc.level2ID);
if (elemLevel2.style.display == 'none')
{
elemLevel2.style.display = '';
if (elemSrc.usesGlyph == '1')
elemSrc.innerHTML = '6';
}
else {
elemLevel2.style.display = 'none';
if (elemSrc.usesGlyph == '1')
elemSrc.innerHTML = '4';
}
}
Version Information: Microsoft .NET Framework Version:1.1.4322.2379; ASP.NET Version:1.1.4322.2379