Results 1 to 2 of 2

Thread: version 1/20 behavior difference

  1. #1
    Join Date
    Oct 2002
    Posts
    161

    version 1/20 behavior difference

    When you display more than one grid on a page, the second grid use to inherit the skin properties of the first grid, now it just frames it in black, you now have to put a dbskin for each grid. I included an example of the new behavior.

    <script language="vb" runat="server">
    Sub Page_Load(Source as Object, E as EventArgs)
    Dim GD As New Tornado.Getdata()
    Dim f As String = GD.Get_Unit
    Rem this is a comment


    Dim E61 As New Tornado.Z()
    with E61
    .dbUnit = 665
    .dbSkin= "cappuccino"
    .dbMode = "Grid"
    .dbGridDisplayFlds = "0,1,2,3"
    .dbDSN = "nwind"
    .dbValidatorParams = "code=/tornado/Jars|entry=false"
    .dbmemotextsize = 2048
    If f = "665" Then

    .dbEditUpdateFlds = "fi=3|ty=textcalendar,1,2"
    .dbEditAddFlds = "fi=3|ty=textcalendar,1,2"
    end if
    .dbBookMark = "orders;0"
    .dbNavigationItem ="top,bottom,next,prev,filter,reload,update,delete "
    .dbSQL = "Select * from orders"
    .dbTextHolder = "title=Orders"
    .ASPdbNET()
    End With

    Dim E62 As New Tornado.Z()
    with E62
    .dbUnit = 666
    .dbMode = "Grid"
    .dbGridDisplayFlds = "0,1,2,3,5"
    .dbDSN = "nwind"
    .dbValidatorParams = "code=/tornado/Jars|entry=false"
    .dbmemotextsize = 2048
    If f = "666" Then

    .dbEditUpdateFlds = "fi=5|ty=textcalendar,1,2,3,4"
    end if
    .dbBookMark = "employees;0"
    .dbNavigationItem ="top,bottom,next,prev,filter,reload,update,delete "
    .dbSQL = "Select * from employees"
    .dbTextHolder = "Title=Employees"
    .ASPdbNET()
    End With
    End Sub
    </script>

  2. #2
    Join Date
    Oct 2002
    Posts
    933
    Correct... skin = "none" if blank is incorrectly... fixed.

    FK

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •