-
This commit is contained in:
@@ -4,40 +4,7 @@
|
||||
<link href="/Metronic/assets/global/plugins/datatables/plugins/bootstrap/dataTables.bootstrap.css" rel="stylesheet" />
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||
<%-- <style>
|
||||
.Widthall {
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.dataTables_scrollHeadInner {
|
||||
width: 100% !important;
|
||||
background-color: #dddddd;
|
||||
padding-left: 0px !important;
|
||||
}
|
||||
|
||||
.dataTables_scrollFoot {
|
||||
display: none;
|
||||
position: static;
|
||||
}
|
||||
|
||||
.table-scrollable {
|
||||
margin: 0px !important;
|
||||
}
|
||||
|
||||
.dataTables_scroll {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.table.dataTable {
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
|
||||
.dataTables_scrollBody table th {
|
||||
padding: 0px !important;
|
||||
padding-right: 4px !important;
|
||||
padding-left: 4px !important;
|
||||
}
|
||||
</style>--%>
|
||||
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
||||
<li>
|
||||
|
||||
@@ -4,17 +4,6 @@ Imports System.Data
|
||||
|
||||
Partial Class CatRoles
|
||||
Inherits ClsPaginas
|
||||
|
||||
Private Property DtRoles As DataTable
|
||||
Get
|
||||
Return CType(ViewState("DtRoles"), DataTable)
|
||||
End Get
|
||||
Set(value As DataTable)
|
||||
ViewState("DtRoles") = value
|
||||
End Set
|
||||
End Property
|
||||
|
||||
|
||||
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
|
||||
If Not Page.IsPostBack Then
|
||||
'LnkCerrar.Style.Add("cursor", "hand")
|
||||
@@ -52,7 +41,7 @@ Partial Class CatRoles
|
||||
Public Sub CargaDatos()
|
||||
Dim Rol As New ClsSisRoles
|
||||
If Rol.GetRoles(-1, UsuarioActual.CveEmpresa) Then
|
||||
DtRoles = Rol.DtResultados
|
||||
|
||||
If Rol.GetRoles(-1, -1) Then GlobalDTRoles(-1) = Rol.DtResultados
|
||||
GvDatos.DataSource = Rol.DtResultados.FiltraParametros("CveEmpresa = " & UsuarioActual.CveEmpresa)
|
||||
GvDatos.DataBind()
|
||||
|
||||
Reference in New Issue
Block a user