C#
hi..   I am trying to access clipboard text using window.clipboardData.getData and event.clipboardData.getData.it works when i am using it in aspx page but not work when i am trying to implement in (.ascx) user control it wont works.i am able to call function onpaste event but unable to get copied text.provide soln. my javascript code is  

function cleanPhoneNumber(e){             e.preventDefault();             var pastedText = '';             if (window.clipboardData && window.clipboardData.getData) { // IE                 pastedText = window.clipboardData.getData('Text');             } else if (e.clipboardData && e.clipboardData.getData) {                 pastedText = e.clipboardData.getData('text/plain');             }             //this.value = pastedText.replace(/\D/g, '');             this.value = pastedText;         }