Geeks With Blogs

Tim Huffam Dotting the I and crossing the T of I.T. October 2006 Entries
Printing nicely from the web: Printing web pages or alternate documents
Many web pages are not designed with any consideration for printing - this is one of those annoying things that one comes across more often than not. Here are a couple of simple ways to make sure your pages are printed in a formatted way: Use a specific print style sheet. This is the most common approach used on the web. The idea being you create another stylesheet that is specifically for formatting your web page(s) for printer output. There are many examples on the web of how to do CSS so I won't ......

Posted On Tuesday, October 31, 2006 12:30 PM

DOM Inspector missing from Firefox 2.0
If you've just installed Firefox 2.0 and found that the DOM Inspector is missing, here's how to add it: Run the Firefox 2.0 install again. Choose to do a Custom install (not the default of Standard) Make sure DOM Inspector is selected. Complete the install. I had previously posted a solution for missing DOM Inspector for Firefox 1.x here. However that solution does not work with Firefox 2.0. HTH Tim ......

Posted On Wednesday, October 25, 2006 12:46 PM

ASP.NET event firing twice
This seems to be a very common problem where by your event handler method gets run twice. It is caused by VS.NET inserting 2 wireup of the event handler: - once in the aspx (HTML) eg: <asp:Button ... OnClick="btnTest_Click" /> - and once in the VS.NET generated section (InitializeComponent) eg: this.btnTest.Click += new System.EventHandler(this.bt... The easiest solution, imo, is to simply remove the "OnClick..." HTML markup from the .aspx page. Eg change this: <asp:Button ID="btnTest" ......

Posted On Monday, October 23, 2006 4:27 PM

Copyright © Tim Huffam | Powered by: GeeksWithBlogs.net