OnBlur Into Editor Content Area

2 posts, 0 answers
  1. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 07 Dec 2007 Link to this post

    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.
  2. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 11 Dec 2007 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top