Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

issue with select all (ctrl + a) in a modal popup.

$
0
0

Hi,

When a modal popup is opened, I want to select(using Ctrl+ a) only the content present in the modal popup. 

Currently the content behind the modal popup is also getting selected.

I have tried the below methods:

1. using  Jquery focus() method to focus on the panel of the modal popup.

2. C# Focus() method to focus  on the panel of the modal popup.

3. CSS opacity.

The 2nd method works, but when the user clicks on anywhere on the modal popup the focus is lost and content behind the modal popup is getting selected.

Please help me on this.

Regards,

Salman


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>