Hi,
You can modify the original behavior.js to achieve it.
Please go to CalendarBehavior.js in AjaxControlToolkit original project. In _cell_onclick function, please use
case "month":
if (target.month == visibleDate.getMonth()) {
this._switchMode("days");
} else {
this._visibleDate = target.date;
this.set_selectedDate(target.date);
this._switchMonth(target.date);
this._blur.post(true);
this.raiseDateSelectionChanged();
}
break;
instead of
case "month":
if (target.month == visibleDate.getMonth()) {
this._switchMode("days");
} else {
this._visibleDate = target.date;
this._switchMode("days");
}
break;
And then please rebuild the project and add it as reference again. And you can use event "OnClientDateSelectionChanged" to define the value of TextBox after you choose the date from calendar.
To convert C# to VB.Net, you can this tool: http://www.codechanger.com/