Recently a new requirement came for cancel an async operation. Being aware of the abortPostBack method the PageRequestManager, I figured that it would be pretty simple to implement this feature. I added a ‘Cancel’ button to my progress indicator and wired the onclick handler to invoke the abortPostBack method.
Clicking cancel did abort the async postback however, because the OnUpdated [...]
try
{
//Create Mail Message Object with content that you want to send with mail.
System.Net.Mail.MailMessage MyMailMessage = new System.Net.Mail.MailMessage(“from@yourdomain.com”, “to@yourdomain.com”,
“This is the mail subject”, “This is the mail body”);
MyMailMessage.IsBodyHtml = false;
//Proper Authentication Details need to be passed when sending email from gmail
System.Net.NetworkCredential mailAuthentication = new
System.Net.NetworkCredential(“yourgmail”, “yourpassword”);
//Smtp Mail server of Gmail is “smpt.gmail.com” and it uses port no. [...]
Web Development
JavaScript IntelliSense® is supported in visual studio editor
One Click Deployment
Full fledged support for Silverlight to provider rich internet applications
Cloud Development
Windows Azure™ Tools in Visual Studio 2010 developers can build, debug and deploy services and applications for Microsoft’s new cloud platform.
More Databases
In addition to SQL Server developers [...]
The beta releases are now available to the general public via the Microsoft Download Center. For reference, you may also want to check out the Visual Studio 2010 Product Overview (1.02MB) five-page PDF document. Here is a quick list of all the download links that are now available:
Visual Studio 2010 Professional Beta 1 – Web [...]