using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using AjaxControlToolkit; public partial class _paginasmaestro_pgmInicio : System.Web.UI.MasterPage { #region Inicializar Formulario #endregion #region Variables #endregion #region Controles Web #endregion #region Eventos Controles Web #endregion #region Eventos Formulario protected void Page_Load(object sender, EventArgs e) { try { // Because we use JavaScript to set the time and we're using an upfecha // panel, refreshes cause the display to be blank until the next javascript // event fires. To prevent it from not showing up, we'll always set it here // as well and let JavaScript overwrite it spnFechaActual.InnerText = DateTime.Now.ToString("D").ToUpper(); //currentTime.InnerText = fechaTime.Now.ToLongTimeString(); // Don't initially hook up the extender if (!IsPostBack) avceFecha.Enabled = false; } catch (Exception ex) { } } #endregion #region Eventos Personalizados #endregion #region Métodos Personalizados #endregion #region Enlace Controles a Datos #endregion #region Enlace Datos a Controles #endregion }