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

OnBlur Into Editor Content Area

1 Answer 67 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Shaun Peet
Top achievements
Rank 2
Shaun Peet asked on 07 Dec 2007, 09:50 PM
It seems that when you have focus in a control on a page, and then click inside the editor's content area, the onBlur function of the other control doesn't work.  I have noticed this for the DatePicker and now also for the ComboBox; and I'm sure there's others as well.

1 Answer, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 11 Dec 2007, 09:53 AM
Hello Shaun,

Thank you for contacting us regarding this problem.

The DatePicker Blur client event is fired at least on my side, but we must confirm you need a work around for  RadComboBox. Here is some markup, which should help:


        <script type="text/javascript"
            function pageLoad() 
            { 
                var combo = $find("cb1"); 
                var input = combo.get_inputDomElement(); 
                input.onblur = ComboBlur
            } 
             
            function PickerBlur() 
            { 
                alert("Blur from picker"); 
            } 
            function ComboBlur() 
            { 
                alert("Blur from combo"); 
            } 
        </script> 
        <asp:ScriptManager ID="sp1" runat="server"></asp:ScriptManager> 
        <telerik:RadDatePicker ID="rdp1" runat="server" > 
            <DateInput ClientEvents-OnBlur="PickerBlur"></DateInput> 
        </telerik:RadDatePicker> 
        <telerik:RadComboBox ID="cb1" runat="server"
        </telerik:RadComboBox> 
        <telerik:RadEditor ID="RadEditor1" runat="server" ToolsFile="BasicTools.xml"></telerik:RadEditor>     
 

A test web site is attached to this message. I have also updated your Telerik points for bringing that to our attention. Thank you!

Let me know if I'm missing something out or if you need further assistance.

Greetings,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Shaun Peet
Top achievements
Rank 2
Answers by
Konstantin Petkov
Telerik team
Share this question
or