Html Export to Excel

Html Export to Excel for exporting to excel just call the function below in sample code and pass the page object from an aspx and the aspx page contents are rendered in excel.. make control.visible = false in the page if you dont want those controls to be exported to excel. the same function can…

2

Popup dialog opens new window on postback

Popup dialog opens new window on postback hi all, many times we use  popup dialogues opened with window.showmodaldialog(“samp.aspx“). but if there is postback happening on this window , you would see that this aspx opens in a new window. i have a solution.. which is add this to the head of your aspx<head><title>Text</title>  <BASE target=”_self”>..</Head>…

4

Html Export to word

Html Export to word just call this function in the code sample from any aspx page say on export to word button click.. u see the html page contents rendered in a msword format. // For Direct Exporting From  HTML to Word   // Call this function on Button Click , pls include the required…

1

Delete an Email / Appt WebDAV

Delete an Email / Appt WebDAV use this piece of code to  delete an appt from an exchange server using webdav. to delete email replace calendar with mail. strCalendarUri = “http://” + strExchServerName + “/Exchange/” +       strMailbox + “/Calendar/”;              // Create the HttpWebRequest object.    DeleteRequest = HttpWebRequest.Create(strCalendarUri + ApptItem);    if (DeleteRequest ==…

0