Hello all.
I try to ajaxify a combobox with automatic load on demand.
The definition in the AJAX manager:
The PanelMatComp:
Reaching the point where the panel is shown I get the following error message. Disabling AJAX in the Rad AJAX manager works fine.
"Das Objekt unterstützt die Eigenschaft oder Methode "toUpperCase" nicht"
It seems to be the first call of registerEnum. But I have no idea what is wrong. All other controls work fine.
Any help is appreciated
Bernd
I try to ajaxify a combobox with automatic load on demand.
The definition in the AJAX manager:
<
telerik:AjaxSetting
AjaxControlID
=
"MatCompAddComponentButton"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"PanelMatComp"
UpdatePanelCssClass
=
""
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
The PanelMatComp:
<
asp:Panel
ID
=
"PanelMatComp"
runat
=
"server"
Visible
=
"false"
>
<
telerik:OpenAccessDataSource
ID
=
"OpenAccessDataSourceItems"
runat
=
"server"
ObjectContextProvider
=
"idee5.DispatcherModel.DispatcherEntities, idee5.DispatcherModel"
TypeName
=
"idee5.DispatcherModel.Item"
Where
=
"this.MasterSystemHierarchy == @MasterSystemHierarchy"
>
<
WhereParameters
>
<
asp:QueryStringParameter
Name
=
"MasterSystemHierarchy"
QueryStringField
=
"Hierarchy"
/>
</
WhereParameters
>
</
telerik:OpenAccessDataSource
>
<
asp:CheckBox
ID
=
"MatCompComplete"
runat
=
"server"
Enabled
=
"False"
Text
=
"Komplettentnahme"
/>
<
telerik:RadComboBox
ID
=
"MatCompItemComboBox"
Runat
=
"server"
Culture
=
"de-DE"
DataSourceID
=
"OpenAccessDataSourceItems"
DataTextField
=
"Label"
DataValueField
=
"Id"
EmptyMessage
=
"Bitte Artikel auswählen"
EnableAutomaticLoadOnDemand
=
"True"
ItemsPerRequest
=
"10"
Label
=
"Artikel"
LoadingMessage
=
"Lade..."
AutoPostBack
=
"True"
ShowMoreResultsBox
=
"True"
EnableVirtualScrolling
=
"True"
Filter
=
"Contains"
Height
=
"180px"
Width
=
"250px"
CausesValidation
=
"False"
EnableItemCaching
=
"True"
>
</
telerik:RadComboBox
>
...
</
asp:Panel
>
Reaching the point where the panel is shown I get the following error message. Disabling AJAX in the Rad AJAX manager works fine.
"Das Objekt unterstützt die Eigenschaft oder Methode "toUpperCase" nicht"
It seems to be the first call of registerEnum. But I have no idea what is wrong. All other controls work fine.
a.RadComboBoxItemDataBoundEventArgs.registerClass(
"Telerik.Web.UI.RadComboBoxItemDataBoundEventArgs"
,a.RadComboBoxItemEventArgs);
})();
(
function
(){
var
a=$telerik.$;
var
b=Telerik.Web.UI;
a.registerEnum(b,
"Keys"
,{Tab:9,Enter:13,Shift:16,Escape:27,Space:32,PageUp:33,PageDown:34,End:35,Home:36,Left:37,Up:38,Right:39,Down:40,Insert:45,Del:46,Zero:48,Numpad0:96,Numpad9:105,F1:112,F12:123,Delete:127});
a.registerEnum(b,
"RadComboBoxFilter"
,{None:0,Contains:1,StartsWith:2});
a.registerEnum(b,
"RadComboBoxExpandDirection"
,{Up:1,Down:2});
a.registerEnum(b,
"RadComboBoxCheckedItemsTexts"
,{FitInInput:0,DisplayAllInInput:1});
a.registerEnum(b,
"RadComboBoxDropDownAutoWidth"
,{Disabled:0,Enabled:1});
})();
$telerik.findComboBox=$fi
Any help is appreciated
Bernd