Hello
A RadDatePicker placed in the content template of a RadWindow, that is placed inside of an update panel, cause javascript "Sys.InvalidOperationException: Two components with the same id '' can't be added to the application." exception on postback.
To get it follow repro steps below.
Using Telerik.Web.UI.dll 2010.1.429.20 version.
Repro steps:
1) Create a Web Form
2) Use this code as the form source:
3) Open the form in a browser
4) Pick up a date
5)Observe javascript exception "Sys.InvalidOperationException: Two components with the same id 'radWindow_C_radDatePicker' can't be added to the application."
Please provide a workaround as soon as possible.
A RadDatePicker placed in the content template of a RadWindow, that is placed inside of an update panel, cause javascript "Sys.InvalidOperationException: Two components with the same id '' can't be added to the application." exception on postback.
To get it follow repro steps below.
Using Telerik.Web.UI.dll 2010.1.429.20 version.
Repro steps:
1) Create a Web Form
2) Use this code as the form source:
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title>Untitled Page</title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> |
| <div> |
| <telerik:RadAjaxManager runat="server" ID="ajaxManager"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="radWindow"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="radWindow" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <telerik:RadWindow runat="server" ID="radWindow" VisibleOnPageLoad="true"> |
| <ContentTemplate> |
| <telerik:RadDatePicker AutoPostBack="true" runat="server" ID="radDatePicker"></telerik:RadDatePicker> |
| </ContentTemplate> |
| </telerik:RadWindow> |
| </div> |
| </form> |
| </body> |
| </html> |
4) Pick up a date
5)Observe javascript exception "Sys.InvalidOperationException: Two components with the same id 'radWindow_C_radDatePicker' can't be added to the application."
Please provide a workaround as soon as possible.