I have problem with RadDatePicker inside composite control. My composite control looks like this:
...
protected override void CreateChildControls()
{
this.Controls.Clear();
this.Calendar = new RadDatePicker
{
ID = "Calendar",
Width = new Unit(100, UnitType.Percentage)
};
this.Controls.Add(this.Calendar);
}
protected override void Render(HtmlTextWriter writer)
{
this.AddAttributesToRender(writer);
writer.RenderBeginTag(HtmlTextWriterTag.Div);
this.Calendar.RenderControl(writer);
writer.RenderEndTag();
}
...
When I launch the project, the callendar appers on the page. The problem is that firebug logs error, and after click on the calendar's button nothing happens. The error:
...
protected override void CreateChildControls()
{
this.Controls.Clear();
this.Calendar = new RadDatePicker
{
ID = "Calendar",
Width = new Unit(100, UnitType.Percentage)
};
this.Controls.Add(this.Calendar);
}
protected override void Render(HtmlTextWriter writer)
{
this.AddAttributesToRender(writer);
writer.RenderBeginTag(HtmlTextWriterTag.Div);
this.Calendar.RenderControl(writer);
writer.RenderEndTag();
}
...
When I launch the project, the callendar appers on the page. The problem is that firebug logs error, and after click on the calendar's button nothing happens. The error:
TypeError: a is undefined
...alizer._serverTypeFieldName&&f!==0){d[f++]=d[0];d[0]=e}else d[f++]=e}if(i)d.sort... Teleri...cacbc31
|