I can't get the selected date in the calendar to my textbox. Here is what I wrote in my Calendar.aspx.c s:
namespace Labb1
{
public partial class Calendar : System.Web.UI.P age
{
private void Page_Load(Objec t sender, EventArgs e)
{
}
void Calendar1_Selec tionChanged(obj ect sender, EventArgs e)
{
TextBox1.Text = Calendar1.Selec tedDate.ToStrin g("dd MMMM");
}
}
}
What do I do wrong? ... Please help!
namespace Labb1
{
public partial class Calendar : System.Web.UI.P age
{
private void Page_Load(Objec t sender, EventArgs e)
{
}
void Calendar1_Selec tionChanged(obj ect sender, EventArgs e)
{
TextBox1.Text = Calendar1.Selec tedDate.ToStrin g("dd MMMM");
}
}
}
What do I do wrong? ... Please help!
Comment