/// <summary> /// Metodo necessario per il supporto della finestra di progettazione. Non modificare /// il contenuto del metodo con l'editor di codice. /// </summary> private void InitializeComponent() { this.userName = Context.User.Identity.Name; this.DataGridRicerca = (DataGrid)Panel1.Controls[0].FindControl("DataGridRicerca1"); this.DataGridRicerca.PageIndexChanged += new System.Web.UI.WebControls.DataGridPageChangedEventHandler(this.DataGridRicerca_PageIndexChanged_1); this.DataGridRicerca.ItemDataBound += new DataGridItemEventHandler(this.DataGridRicerca_ItemDataBound_1); this.DataGridRicerca.ItemCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.DataGridRicerca_ItemCommand); // RadioButtonList radio =(RadioButtonList) pnlDettagli.Controls[0].FindControl("RadioButtonList1"); // radio.SelectedIndexChanged += //new System.Web.UI.WebControls.DataGridItemEventHandler TheSite.AslMobile.CalendarioUserControl cal = (TheSite.AslMobile.CalendarioUserControl)pnlDettagli.Controls[0].Controls[0].FindControl("Calendario1"); cal.setLabel((System.Web.UI.MobileControls.Label)pnlDettagli.Controls[0].FindControl("lblCalendario")); this.Load += new System.EventHandler(this.Page_Load); }
protected void OnCalendario(object sender, System.EventArgs e) { TheSite.AslMobile.CalendarioUserControl cal = (TheSite.AslMobile.CalendarioUserControl)pnlDettagli.Controls[0].Controls[0].FindControl("Calendario1"); cal.EnbledCal(); //this.ActiveForm = Form1; }