Saturday, April 29, 2006 1:46:36 AM UTC :: Filed Under ASP.NET

Note to self: Bookmark this link! MSDN: 101 Samples for Visual Studio 2005

Wednesday, April 26, 2006 1:14:07 PM UTC :: Filed Under ASP.NET

It seems like such a simple thing.  You have a form.  You have one submit button.  Yet when you hit your Enter key, the form submits, the page posts back, and… well, nothing.  For some reason Internet Explorer doesn’t seem to understand that the Enter key should post the form.

Thanks to some handy-work by the ASP.NET 2.0 developers, there is a solution for this.  In your <form> tag, you now have a property called defaultbutton that can be used to make sure that the button you want to be ‘clicked’ when hitting the enter key actually is.

<form id="form1"  runat="server" defaultbutton="btnSearch">

But wait, there is more!  A new defaultbutton property also makes it super easy to make sure that the cursor auto-magically starts on the field of your choosing so you don’t have to write your own onload JavaScript event handler:

<form id="form1"  runat="server" defaultbutton="btnSearch" defaultfocus="txtSearch">

The more I learn about ASP.NET 2.0 and Visual Studio .NET 2005, the more I’m impressed.  It’s the little details like these that get me all excited!

Thursday, March 30, 2006 5:59:00 AM UTC :: Filed Under ASP.NET
If you have Visual Studio .NET and the IE7 Beta installed on your PC, you might have noticed that the CSS Style Builder window pops-up and then instantly disappears.  Apparently the glitch is caused by IE7 and a fix can be found on Marc Brown’s MDSN blog.
Tuesday, March 21, 2006 3:52:16 AM UTC :: Filed Under ASP.NET | Web Design
When ever a client requires that the application you are going to build for them must be backwards compatible, their old browser become you’re new problem.  Fortunately, if the old browser is Internet Explorer, you now have hope!  Thanks to a link forwarded to me by my friend Mark Schmidt, there are several ‘stand-alone’ versions of Internet Explorer available for download that can be run along with your currently installed version of IE.  Visit Evolt.org to download everything from IE 3 to IE 6.
Friday, March 17, 2006 10:52:32 PM UTC :: Filed Under ASP.NET | VB.NET

To customize the default VB file templates used in Visual Studio .NET 2003, modify the following files to your heart’s content:

C:\Program Files\Microsoft Visual Studio .NET 2003\Vb7\VBWizards\DesignerTemplates\1033

Thursday, March 16, 2006 5:56:14 PM UTC :: Filed Under
I needed to install Microsoft SQL 2000 Server Reporting Services on a new laptop and I couldn't get past the system check screen because the installation program kept telling me that ASP.NET was not registered with IIS.  I ran the aspnew_regiis tool as follows:

%windir%\Microsoft.Net\Framework\v1.1.4322 folder\aspnet_regiis -i

No dice. I still couldn't get past the system check screen.  After nearly going insane, I finally figured-out what was wrong.  I opened-up the IIS Management Console and checked the ASP.NET tab that is added once the .NET 2.0 Framework is installed.  Sure enough, the default ASP.NET version specified was version 2.0 and the SRSS installation program was checking for version 1.1.  I changed the ASP.NET version to 1.1, restarted the installation, and away I went!

Navigation
On this page....
Search
Archives
<April 2006>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456
Categories
Contact me
Send mail to the author(s) Contact Todd M. Taylor