Approved
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.

Approved
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.$);

Declined
Last Updated: 08 Oct 2019 08:13 by ADMIN
Created by: Vasssek
Comments: 1
Category: Input
Type: Bug Report
0

Hi,

I have problem with typing into RadMaskedTextBox. I detected that problem is causing MaxLength property. In IE11, Chrome and Firefox, everything is working fine, but in Edge user couldn't type text into input.

<telerik:RadMaskedTextBox ID="txt_PFR1" runat="server" Width="110px" TabIndex="1" 
                                                    MaxLength="5" Mask="PFRaa">
                                                </telerik:RadMaskedTextBox>

Result text should be PFR and two characters, e.g. PFR12 or PFRaX, or... 

I suppose that this property is useless in this control instead of RadTextBox. Could you please remove it, if it doesn't have any other usage purpose ?

Regards

Vasssek

 

Completed
Last Updated: 26 Mar 2019 14:50 by ADMIN
Created by: miksh
Comments: 1
Category: Input
Type: Bug Report
0
Change value by mousewheel does not work in Edge (Microsoft Edge 44.17763.1.0, Microsoft EdgeHTML 18.17763), Chrome is ok
try here:

https://demos.telerik.com/aspnet-ajax/numerictextbox/overview/defaultcs.aspx