Monthly Archives: January 2009

How to disable copy-paste functionality (cntrl C/V) in Asp.net textbox

For many security purposes, sometimes we need not to allow users to copy/paste centain information into some asp.net controls like TextBox. This may include email address, password etc. As we know copy/paste can be done using either the right click … Continue reading

Posted in .Net 2.0 | 15 Comments

How to Send Images in Email using Asp.Net (C#)

While sending the images in emails through .net code, we may require to send them as an attachment or they must be embeded there in the body of the email itself. Below if the code which describes both the ways … Continue reading

Posted in .Net 2.0 | Leave a comment