This is a migrated thread and some comments may be shown as answers.

Unable to Select the Text of a RadAlert

2 Answers 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Linda
Top achievements
Rank 1
Linda asked on 12 Oct 2015, 04:06 PM

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 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 Oct 2015, 06:45 AM

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
0
Linda
Top achievements
Rank 1
answered on 14 Oct 2015, 02:33 PM
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.
Tags
General Discussions
Asked by
Linda
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Linda
Top achievements
Rank 1
Share this question
or