Tim Huffam

Dotting the I and crossing the T of I.T.

  Home  |   Contact  |   Syndication    |   Login
  152 Posts | 0 Stories | 2310 Comments | 653 Trackbacks

News

Archives

Post Categories

Interesting Blogs/Links

October 2006 Entries

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

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"...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati