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

Trouble with ComboBoxes

5 Answers 121 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dmitry
Top achievements
Rank 1
Dmitry asked on 26 Jun 2008, 11:39 AM
We use .Net2.0 and the latest version of RadControls for ASP.NET AJAX. If there is only one combobox on the page then a selection of another option from this combobox causes a javascript error
document.createEventObject is not a function 
set_text()("1 Year")Telerik....a38ec41c0 (line 4317) 
_select()(Object rawEvent=Event click altKey=false button=0)Telerik....a38ec41c0 (line 5161) 
_performSelect()(Object _element=li.rcbItem _parent=Object _text=1 Year, Object rawEvent=Event click altKey=false button=0)Telerik....a38ec41c0 (line 4279) 
_onDropDownClick()(Object rawEvent=Event click altKey=false button=0)Telerik....a38ec41c0 (line 3908) 
(?)()()ScriptRe...066005795 (line 50) 
browserHandler()(click clientX=25, clientY=-103)ScriptRe...066005795 (line 3034) 
[Break on this error] var _99=document.createEventObject(); 
and as a result the value is not changed on server. If there are more than one combobox then at first following js-error occurs
Sys.ArgumentException: Value must not be null for Controls and Behaviors. Parameter name: element 
_getAbbrMonthIndex()("")Telerik....a38ec41c0 (line 799) 
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2008.1.619.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a16ee7c61-0c72-4885-ba3b-3c21a3307fa9%3a393f5085%3a9703c1f0%3aa3f85c94%3a665c7bcf%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3a9ea3f0e2%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3ae2e86ef9%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3ac7c04611%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3a1df13a87%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3acd120801%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3ac4c00916%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3a3858419b%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3a96741c43%3bAjaxControlToolkit%2c+Version%3d1.0.10606.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3a2cca7565-7b56-4e56-8ddb-228c2761ce32%3a38ec41c0()()Telerik....a38ec41c0 (line 5803) 
[Break on this error] this._upperAbbrMonths=this._toUpperArray...s.dateTimeFormat.AbbreviatedMonthNames); 
, because of this error all but one comboboxes are disabled and the one working combobox causes the previous error.

5 Answers, 1 is accepted

Sort by
0
Dmitry
Top achievements
Rank 1
answered on 26 Jun 2008, 01:29 PM
We found the problem - telerik scripts have a conflict with mootools
0
Dmitry
Top achievements
Rank 1
answered on 26 Jun 2008, 01:43 PM
But the second error is still here.
0
Rosi
Telerik team
answered on 26 Jun 2008, 03:28 PM
Hi Dmitry ,

This problem is a result of a bug in MS AJAX which is not handled in framework 2.0. More about this you can read here:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=277646

For a workaround you can see this topic: https://connect.microsoft.com/VisualStudio/feedback/Workaround.aspx?FeedbackID=277646

Hope this helps.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Dana
Top achievements
Rank 1
answered on 17 Sep 2012, 05:41 PM
Rosi,

The links you have listed appear to be broken.  Do you have another resource for resolving this error?

Thanks,
Dana
0
Nencho
Telerik team
answered on 20 Sep 2012, 02:36 PM
Hi Dana,

The reason why these links are no longer available is the fact that they are almost four years old.  Could you elaborate on what exactly is the experienced problem at your end so we could help you troubleshoot it?

All the best,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ComboBox
Asked by
Dmitry
Top achievements
Rank 1
Answers by
Dmitry
Top achievements
Rank 1
Rosi
Telerik team
Dana
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or