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

JavaScript Error in IE only

1 Answer 86 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Betty
Top achievements
Rank 1
Betty asked on 12 Dec 2011, 05:11 PM
Hi All,

I have a RadComboBox that I need to cancel events on the client-side blur event. There are no javascript errors in Firefox. However, in IE I receive the following error:

Line: 498
Error: Object doesn't support property or method 'set_cancel'

The Java Script :

function onBlur(sender, eventArgs) {
        eventArgs.set_cancel(true);
}

And the control:
<telerik:RadComboBox runat="server" ID="RadComboBox1" ToolTip="RadComboBox"  Width="100px" DataSource="<%# Model.TestData%>" DataTextField="TestText"    DataValueField="TestID" Skin="SampleSkin" EnableEmbeddedSkins="false" OnDataBound="RadComboBox1_DataBound"  OnClientBlur="onBlur">
</telerik:RadComboBox>

Please assist.

Thanks,
Betty

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Dec 2011, 04:59 AM
Hello,

Take a look into the following forum thread which discussed the same.
Javascript error - Object doesn't support this property or method.

Thanks,
Princy.
Tags
ComboBox
Asked by
Betty
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or