If Convert.ToString(floIsActive.CurrentValue) = "1" Then
floIsActive.ViewValue = "Yes"
Else
floIsActive.ViewValue = "No"
End If
floIsActive.CssStyle = ""
floIsActive.CssClass = ""
floIsActive.ViewCustomAttributes = ""
' floLocationID
floLocationID.HrefValue = ""
' floDescription
floDescription.HrefValue = ""
' floIsActive
floIsActive.HrefValue = ""
' Row Rendered event
Row_Rendered()
End Sub
Public CurrentAction As String ' Current action
Public EventCancelled As Boolean ' Event cancelled
Public CancelMessage As String ' Cancel message
' Row Type
Public RowType As Integer
Public CssClass As String = "" ' CSS class
Public CssStyle As String = "" ' CSS style
Public RowClientEvents As String = "" ' Row client events
' Row Attribute
Public ReadOnly Property RowAttributes() As String
Get
Dim sAtt As String = ""
If ew_NotEmpty(CssStyle) Then
sAtt = sAtt & " style=""" & CssStyle.Trim() & """"
End If
If ew_NotEmpty(CssClass) Then
sAtt = sAtt & " class=""" & CssClass.Trim() & """"
End If
If m_Export = "" Then
If ew_NotEmpty(RowClientEvents) Then
sAtt = sAtt & " " & RowClientEvents.Trim()
End If
End If
Return sAtt
End Get
End Property
' Export
Private m_Export As String
Public Property Export() As String
Get
Return m_Export
End Get
Set(ByVal Value As String)
m_Export = Value
End Set
End Property
' Export Original Value
Public ExportOriginalValue As Boolean = EW_EXPORT_ORIGINAL_VALUE
' Export All
Public ExportAll As Boolean = EW_EXPORT_ALL
' Send Email
Public SendEmail As Boolean
' Custom Inner Html
Public TableCustomInnerHtml As Object
'
' Field objects
'
Public Function FieldByName(Name As String) As Object
If Name = "floID" Then Return floID
If Name = "floLocationID" Then Return floLocationID
If Name = "floDescription" Then Return floDescription
If Name = "floIsActive" Then Return floIsActive
Return Nothing
End Function
' floID
Private m_floID As cField
Public ReadOnly Property floID() As cField
Get
If m_floID Is Nothing Then m_floID = New cField("ltgFixtureLocation", "x_floID", "floID", "[floID]", 3, OleDbType.Integer, EW_DATATYPE_NUMBER, 0)
Return m_floID
End Get
End Property
' floLocationID
Private m_floLocationID As cField
Public ReadOnly Property floLocationID() As cField
Get
If m_floLocationID Is Nothing Then m_floLocationID = New cField("ltgFixtureLocation", "x_floLocationID", "floLocationID", "[floLocationID]", 3, OleDbType.Integer, EW_DATATYPE_NUMBER, 0)
Return m_floLocationID
End Get
End Property
' floDescription
Private m_floDescription As cField
Public ReadOnly Property floDescription() As cField
Get
If m_floDescription Is Nothing Then m_floDescription = New cField("ltgFixtureLocation", "x_floDescription", "floDescription", "[floDescription]", 202, OleDbType.VarWChar, EW_DATATYPE_STRING, 0)
Return m_floDescription
End Get
End Property
' floIsActive
Private m_floIsActive As cField
Public ReadOnly Property floIsActive() As cField
Get
If m_floIsActive Is Nothing Then m_floIsActive = New cField("ltgFixtureLocation", "x_floIsActive", "floIsActive", "[floIsActive]", 11, OleDbType.Boolean, EW_DATATYPE_BOOLEAN, 0)
Return m_floIsActive
End Get
End Property
' Table level events
' Recordset Selecting event
Public Sub Recordset_Selecting(ByRef filter As String)