Copy Past Clipboard in ASP.net

Friday, October 2, 2009


Copy and Past in Asp.net With the help of javascript
its very easy by using Java Clipboard Function and Call from C# or Vb.net
and use it

for Copy
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "Copy", "clipboardData.setData('text', '" + TextBox1.Text + "');", True)


for past
ScriptManager.RegisterStartupScript(Me, Me.GetType(), "Past", "document.getElementById('textbox2').focus(); ; PastedText = d

enjoy Aspnet Learn Free
by usama wahab khan
Download Source Code
share this post
Share to Facebook Share to Twitter Share to Google+ Share to Stumble Upon Share to Evernote Share to Blogger Share to Email Share to Yahoo Messenger More...

0 comments: