J
Jim Owen
This is probably dumb, but why doesn't this work? The control doesn't get
filled with the text, though I debug and vControl.Text does indeed show as
having the right text in it. It's being called from a SelectionChanged event
in a calendar.
System.Web.UI.WebControls.TextBox vControl =
(System.Web.UI.WebControls.TextBox)Session["TheControl"];
vControl.Text = Calendar1.SelectedDate.ToShortDateString();
filled with the text, though I debug and vControl.Text does indeed show as
having the right text in it. It's being called from a SelectionChanged event
in a calendar.
System.Web.UI.WebControls.TextBox vControl =
(System.Web.UI.WebControls.TextBox)Session["TheControl"];
vControl.Text = Calendar1.SelectedDate.ToShortDateString();