Hi DottyWelsh,
register script that is needed to attach a calendar as follows:
bool registered = false;
ScriptManager Smgr = ScriptManager.GetCurrent(Page);
if (Smgr != null)
{
if (Smgr.IsInAsyncPostBack)
{
ScriptManager.RegisterStartupScript(this, this.GetType(), ClientID, InitScript, true);
registered = true;
}
}
if (!registered)
{
Page.ClientScript.RegisterStartupScript(GetType(), ClientID, InitScript, true);
}
here "InitScript" is the variable of type String, that contains javascript you need to register.
Hope this helps