using SteamWare;
using System;
namespace MoonProTablet.WebUserControls
{
public partial class cmp_selPzPallet : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
///
/// Valore PzPallet selezionato
///
public int pzPallet
{
get
{
int answ = 1;
// provo a recuperare pz Pallet
int.TryParse(ddlPzPallet.SelectedValue, out answ);
return answ;
}
set
{
try
{
ddlPzPallet.SelectedValue = value.ToString();
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in assegnazione pz pallet ({0}){1}{2}", value, Environment.NewLine, exc), tipoLog.EXCEPTION);
}
}
}
///
/// Imposta abilitazione alla modifica
///
public bool enableSet
{
get
{
return ddlPzPallet.Enabled;
}
set
{
ddlPzPallet.Enabled = value;
}
}
}
}