This is a migrated thread and some comments may be shown as answers.

Post back Ajaxified controls resulting in a javascript error

1 Answer 40 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Mike asked on 08 Jul 2010, 06:24 PM
I have a RadColorCombo Picker (Doesnt matter WHAT rad object i use)
and it is updating a RadMenu (also doesnt matter what I update)
I set up ajax manager to update radmenu when colorcombopicker is used.
I get an error as follows:
Microsoft JScript runtime error: Object doesn't support this property or method
Section of code from Telerik.Web.UI.WebResource2_axd is the source  that has the error and the code it highlights is




({var n={Panel:f,ControlID:e};
















var a=c.get_postBackElement();

( is highlighted in the debugger

As an example here is the aspx


<telerik:RadColorPicker ID="RadColorPicker1" Runat="server" AutoPostBack="True"



oncolorchanged="RadColorPicker1_ColorChanged" ShowIcon="True"




SelectedColor="" style="z-index: 4000;" Height="21px">










telerik:RadMenu ID="RadMenu1" Runat="server">






<telerik:RadMenuItem runat="server" Text="1">




<telerik:RadMenuItem runat="server" Text="2">













<telerik:RadAjaxManager runat="server"







<telerik:AjaxSetting AjaxControlID="RadColorPicker1">






<telerik:AjaxUpdatedControl ControlID="RadMenu1" />















1 Answer, 1 is accepted

Sort by
Maria Ilieva
Telerik team
answered on 12 Jul 2010, 02:00 PM
Hello Mike ,

Could you please let me know whether the problem persists if the ajax is disabled on the page. Also please let me know what is the result if a regular asp UpdatePanel is used.

Sincerely yours,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question