Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Using Clipboard Class in ASP.NET

$
0
0

Nice Trick..!!

Working great in Asp.net Web forms..:)

But same code is not working in MVC 4.

I have tried using Clipboard.GetDataObject() with Thread execution as per given trick, but got below error..

+++++++++

System.NullReferenceException: Object reference not set to an instance of an object. at thumb_MVC.Controllers.HomeController.CopyToClipboard() in

++++++++++

Is there any better approach than what I tried.  

Any suggestion to me please.

Thanks in Advance.

 

 


Viewing all articles
Browse latest Browse all 99250

Trending Articles



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