Under Review
Last Updated: 04 Aug 2020 11:17 by ADMIN
Daniel
Created on: 18 Oct 2017 23:53
Category: InputManager
Type: Bug Report
1
ClientEvent is triggered by EmptyMessage for RadTextBox on page load
When setting client events in a RadTextBox and using an EmptyMessage, the EmptyMessage will trigger the event on page load.  This is true for a multiple TextMode but others are untested. 
2 comments
ADMIN
Rumen
Posted on: 04 Aug 2020 11:17

Hi Daniel,

I tried to reproduce the problem with the latest version 2020.2.617 but without success. Can you please see the video attached and let me know if I am missing something?

Here you are my test content:

          <telerik:RadTextBox ID="RadEditor1" TextMode="MultiLine" runat="server" EmptyMessage="Type your name here!">
              <ClientEvents OnLoad="OnLoad" OnKeyPress="OnKeyPress" OnBlur="OnBlur" OnFocus="OnFocus" OnValueChanging="OnValueChanging" />
          </telerik:RadTextBox>
        <script>
            function OnLoad() {
                console.log("On OnLoad fired!");
            }
            function OnKeyPress() {
                console.log("On Key Press fired!");
            }
            function OnBlur() {
                console.log("On Blur fired!");

            }
            function OnFocus() {
                console.log("On Focus fired!");

            }
            function OnValueChanging() {
                console.log("On Value changing fired!");

            }
        </script>

Best Regards,


Rumen
Progress Telerik

Attached Files:
Daniel
Posted on: 18 Oct 2017 23:54
Multiline textmode*