Hello,
I'm using Telerik.Web.UI.dll of version 2010.3.1317.35.
When i try to use the OnClientBlur events the function is firing twice when i use alert message in the javascript function .
Select an item from the the RadComboBox then click on Tab or click on the form this time it is calling the method and showing the alert message , Again click on the form once then also it is calling the method and showing the alert message.
My observation is when we click OK button of alert message first time, the RadComboBox is regaining the focus, so that it is again firing the OnClientBlur event when we click on the form second time.
It is happening only in IE browser rest all it is working fine.
please find the below code snippet.
Thanks
Kesava.
I'm using Telerik.Web.UI.dll of version 2010.3.1317.35.
When i try to use the OnClientBlur events the function is firing twice when i use alert message in the javascript function .
Select an item from the the RadComboBox then click on Tab or click on the form this time it is calling the method and showing the alert message , Again click on the form once then also it is calling the method and showing the alert message.
My observation is when we click OK button of alert message first time, the RadComboBox is regaining the focus, so that it is again firing the OnClientBlur event when we click on the form second time.
It is happening only in IE browser rest all it is working fine.
please find the below code snippet.
<
script
type
=
"text/javascript"
>
function CallAlert(rad) {
alert("Welcome RadComboBox Sample");
}
</
script
>
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
OnClientBlur
=
"CallAlert"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"--Select--"
Value
=
"0"
/>
<
telerik:RadComboBoxItem
Text
=
"One"
Value
=
"1"
/>
<
telerik:RadComboBoxItem
Text
=
"Two"
Value
=
"2"
/>
<
telerik:RadComboBoxItem
Text
=
"Three"
Value
=
"3"
/>
<
telerik:RadComboBoxItem
Text
=
"Four"
Value
=
"4"
/>
</
Items
>
</
telerik:RadComboBox
>
Thanks
Kesava.