Unplanned
Last Updated: 05 Aug 2019 09:43 by ADMIN

The role=textbox is set to the wrapper element instead of the input element itself. That confuses the screen readers such as JAWS, which leads to the Form Fields dialog to skip them. 

As a temporary workaround, the role of the wrapper element with class RadInput can be set to "presentation"

<script>
    function pageLoadHandler() {
        $telerik.$(".RadInput").attr("role", "presentation")
        // Sys.Application.remove_load(pageLoadHandler);  
    }
    Sys.Application.add_load(pageLoadHandler);
</script>

Or using the following script: 

var WebARIAHelper = (function ($) {

  // Assign default ARIA roles to desired elements
  function AssignDefaultARIARoles(element) {
    element = (element || document.body);

    // TFS 110547 - Mark SPAN/DIV around RadInput elements as presentation to avoid confusing JAWS form field dialog
    $("span.RadInput, div.RadInput", element).attr("role", "presentation");
  }
  
  // Handle AJAX EndRequest event to process any new content
  function WebARIAHelperEndRequestHandler(sender, args) {
    if (args.get_error() == null) {
      // Make sure all page controls can finish their ready event processes before looking at DOM
      window.setTimeout(function () {
        AssignDefaultARIARoles();
      }, 10);
    }
  }
         
  $(function () {
    // Make sure all page controls can finish their ready event processes before looking at DOM
    window.setTimeout(function () {
      AssignDefaultARIARoles();
    }, 10);

    if (window.Sys && Sys.WebForms && Sys.WebForms.PageRequestManager) {
      var instance = Sys.WebForms.PageRequestManager.getInstance();
      if (instance) instance.add_endRequest(WebARIAHelperEndRequestHandler);
    }
  });


  return null;
}
)($ || $telerik.$);

Unplanned
Last Updated: 05 Jun 2019 11:26 by ADMIN

Hello,

I enabled the ShowButton property to the radtextbox, but while writing and the words reach the button I can't see the final of the text. 

<telerik:RadTextBox ID="RadTextBox1" runat="server" ShowButton="true"></telerik:RadTextBox>

If I disable the ShowButton and write something in the radtextbox, I can see the final words. 

How I can fix this? 

Thanks,
Edson

Unplanned
Last Updated: 03 Jan 2019 10:33 by ADMIN

When a Telerik RadTextBox contains a line break, a postback is triggered any time focus is lost on the textbox, even if the text hasn’t been changed. If a normal ASP Textbox is used instead of a Telerik one, no postback occurs if the text hasn’t been changed, even if the text contains a line break. We need the Telerik RadTextBox to behave like the ASP Textbox.

 

See the attached file for a simple example of this behavior, and let me know if you have any other questions about it.


ADMIN: Attached is also a workaround.

Unplanned
Last Updated: 02 Feb 2018 15:33 by Attila Antal
OnValueChanged event of RadInputManager does not have effects on TextBoxSettings. It considers every character valid, therefore, it does not fire the OnValueChanged event the second time, and therefore, RadInputManager does not provides back the old and new values.