How to close window (self) without prompting in IE6 and IE7

ScenarioWeb application wants to pop-up a window as a certain size, chromeless, etc.  However doesn’t want to have the opening (parent) window show.  Common usages are launching from shortcut or an application. SolutionIn the “parent” page that launches the popup.   Put the following code to close your(self) in javascript:  var self2 = window.open(“”, “_self”); self2.focus();…

0

How to autoresize parent frame height from child frame

ScenarioA parent document contains a frame that loads a file which content is dynamic and you want the frame to not scroll and autosize the height of the frame. Solutionfunction autoResizeParent() { // if no parent don’t attempt to changeif (parent != null) { var frameList = parent.document.body.getElementsByTagName(“iframe”); // is there any frames? if (frameList…

0

How to recycle a IIS6 website in Windows Server 2003 SP1

Many clients I have worked with simply use the IISReset.exe command to recycle applications.  Although this may have the desired affect sometimes, there are many alternatives that are better. By no means is this an exhaustive list but will give you some options when a specific website is causing problems (i.e. hung, OOM).   Stopping a website…

1

ASP.NET 2.0 Web Part vs Sharepoint 2007 Web Parts

So what is the deal with ASP.NET web parts and SharePoint web parts? Well, glad you asked.   I am not an authoritative source but thought I would document a few links since an associate of mine was asking and I was curious. Resources Sharepoint Web Parts Overview  http://msdn2.microsoft.com/en-us/library/ms432401.aspx Windows SharePoint Services Web Part Infrastructurehttp://msdn2.microsoft.com/en-us/library/ms415560.aspx Walkthrough:…

1

Sending Excel 97/XP/2000/2003/2007 Output from ASP.NET 2.0

I know there are several articles on the internet describing varous methods to send excel output from ASP.net.   Additional, there are many great third party tools as well.   I needed to do something simple and lightweight so I expanded on some examples.   I needed to do some formating and embed and image.   But first there…

5

Problem (Bug) with IE7 Beta and VS2005 Build Style (CSS) Builder

For those running Visual Studio 2005 (VS2005) along side Internet Explorer 7 (IE7) Beta you may have noticed that the VS2005 CSS editor pops up then disappears immediately.  You can reproduce by right click on a style in a CSS file and choose “Build Style”.   As with any Beta release challenges and compatibilities will arise.   The…

5