fix errore sel permessi
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_adminClienti.ascx.cs" Inherits="GPW_Admin.WebUserControls.mod_adminClienti" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_toggle.ascx" TagPrefix="uc1" TagName="cmp_toggle" %>
|
||||
|
||||
<div class="row fontPiccolo2">
|
||||
<div class="col-12">
|
||||
filtraggio...
|
||||
<div class="col-12 text-right mb-1">
|
||||
<div class="input-group table-secondary">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">Filtro visualizzazione</span>
|
||||
</div>
|
||||
<div class="form-control">
|
||||
<uc1:cmp_toggle runat="server" ID="cmp_toggle" classOn="text-success" classOff="text-dark" messageOn="Mostra Tutti" messageOff="Mostra Solo Attivi" />
|
||||
<asp:HiddenField runat="server" ID="hfShowAll" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<asp:GridView ID="grView" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="idxCliente" DataSourceID="ods" CssClass="table table-striped table-sm" OnDataBound="grView_DataBound">
|
||||
@@ -205,13 +214,9 @@
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OnInserting="recuperaFooter" DeleteMethod="deleteQuery" InsertMethod="insertQuery"
|
||||
OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.AnagClientiTableAdapter"
|
||||
OldValuesParameterFormatString="original_{0}" SelectMethod="getBySearch" TypeName="GPW_data.DS_ApplicazioneTableAdapters.AnagClientiTableAdapter"
|
||||
UpdateMethod="updateQuery"
|
||||
FilterExpression=" (RagSociale like '%{0}%') OR (indirizzo like '%{0}%') OR (citta like '%{0}%') OR (url like '%{0}%') OR (email like '%{0}%') OR (nota like '%{0}%') "
|
||||
OnUpdating="ods_Updating">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter SessionField="valoreSearch" Type="String" />
|
||||
</FilterParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_idxCliente" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
@@ -227,6 +232,10 @@
|
||||
<asp:Parameter Name="CF" Type="String" />
|
||||
<asp:Parameter Name="nota" Type="String" />
|
||||
</InsertParameters>
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="searchVal" SessionField="valoreSearch" Type="String" />
|
||||
<asp:ControlParameter ControlID="hfShowAll" Name="showAll" PropertyName="Value" Type="Boolean" />
|
||||
</SelectParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="RagSociale" Type="String" />
|
||||
<asp:Parameter Name="indirizzo" Type="String" />
|
||||
|
||||
Reference in New Issue
Block a user