Unable to Select the Text of a RadAlert

3 posts, 0 answers
  1. Linda
    Linda avatar
    3 posts
    Member since:
    Jul 2014

    Posted 12 Oct 2015 Link to this post

    I need the ability for the user to select a portion of the text displayed in a dialog box.  In the demo of Dialog boxes located here http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx when clicking on the button "radalert from server" the ability to select the text by holding down the left mouse button and dragging the cursor does work.  

     

    However, when I created a simple button which displays a RadAlert dialog it will not allow ​selecting of the text by clicking and dragging the cursor.  It will however allow selecting the text by double clicking on a word in the text.  Attached is a screen shot of what the dialog looks like when attempting to click and drag the cursor.   When I copy and paste I get the following:

          OK       status label                   {1}  ##LOC[OK]##  {1}    ##LOC[OK]## ##LOC[Cancel]##  {1}  ##LOC[OK]## ##LOC[Cancel]## 

     

    We are using version UI for ASP.NET AJAX Q2 2014.  

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3599 posts

    Posted 13 Oct 2015 Link to this post

    Hello Linda,

    Since our demos work but your test page does not, I advise that you compare the setup and find the differences. Here are a few ideas that come to mind:

    • ensure there is no custom CSS interfering (e.g.m a global rule including the user-select rule)
    • try increasing the dimensions of the dialog. It is possible that due to the small size some elements rearrange and overlap each other so the topmost element that consumes the mouse may not be the text node
    • upgrade to the latest version even though no changes have been made in the Classic render mode of these dialogs


    Regards,

    Marin Bratanov
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Linda
    Linda avatar
    3 posts
    Member since:
    Jul 2014

    Posted 14 Oct 2015 Link to this post

    Thank you very much for the suggestions.  I tried all and none of them worked.  Turned out the problem was the website was running in compatibility mode.  When I turned off compatibility mode for the website the text in the RadAlert dialog was selectable.
Back to Top