refresh con gestione edit anagrafica macchine (matricole)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_anagMatricole.ascx.cs" Inherits="CMS_SC.WebUserControls.mod_anagMatricole" %>
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="Matricola" DataSourceID="ods" CssClass="table table-striped table-hover" AllowPaging="True" AllowSorting="True">
|
||||
<PagerStyle CssClass="info" />
|
||||
<Columns>
|
||||
<asp:BoundField DataField="Matricola" HeaderText="Matricola" ReadOnly="True" SortExpression="Matricola" />
|
||||
<asp:BoundField DataField="Descrizione" HeaderText="Descrizione" SortExpression="Descrizione" />
|
||||
<asp:BoundField DataField="Cliente" HeaderText="Cliente" SortExpression="Cliente" />
|
||||
<asp:BoundField DataField="CodFam" HeaderText="CodFam" SortExpression="CodFam" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="CMS_SC_Data.DS_ApplicazioneTableAdapters.ElencoMacchineCNTableAdapter" FilterExpression=" Matricola LIKE '%{0}%' OR Descrizione LIKE '%{0}%' OR Cliente LIKE '%{0}%' OR CodFam LIKE '%{0}%'">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="searchVal" />
|
||||
</FilterParameters>
|
||||
</asp:ObjectDataSource>
|
||||
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace CMS_SC.WebUserControls
|
||||
{
|
||||
public partial class mod_anagMatricole : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// dimensione pagina grid view
|
||||
/// </summary>
|
||||
public int pageSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return grView.PageSize;
|
||||
}
|
||||
set
|
||||
{
|
||||
grView.PageSize = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace CMS_SC.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_anagMatricole {
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
@@ -31,7 +31,7 @@
|
||||
<span>Home</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class='<%: "dropdown " + liClass("Anag01 Anag02 Anag03")%>'>
|
||||
<li class='<%: "dropdown " + liClass("AnagFamMacchine AnagMatricole AnagFasi AnagMisure AnagSchedeColl")%>'>
|
||||
<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-th"></i>
|
||||
<span>Anagrafiche</span>
|
||||
@@ -71,7 +71,7 @@
|
||||
<li><a href="ReportCliente"><%: traduci("ReportCliente") %></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class='<%: "dropdown " + liClass("Settings")%>'>
|
||||
<li class='<%: "dropdown " + liClass("Settings Vocabolario ListValues UserAdmin UpdateVoc")%>'>
|
||||
<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-cog"></i>
|
||||
<span>Settings</span>
|
||||
@@ -80,7 +80,6 @@
|
||||
<ul class="dropdown-menu">
|
||||
<li runat="server" id="liGestVoc"><a href="Vocabolario"><%: traduci("GestVoc") %></a></li>
|
||||
<li runat="server" id="liListValues"><a href="ListValues"><%: traduci("ListValuesMgmt") %></a></li>
|
||||
<%--<li runat="server" id="liImport"><a href="Import"><%: traduci("ImportData") %></a></li>--%>
|
||||
<li runat="server" id="liUserAdmin"><a href="UserAdmin"><%: traduci("UserAdmin") %></a></li>
|
||||
<li runat="server" id="liDivider" class="divider"></li>
|
||||
<li runat="server" id="liUpdateVoc"><a href="UpdateVoc"><%: traduci("UpdateVoc") %></a></li>
|
||||
|
||||
Reference in New Issue
Block a user