Archive for the ‘ASP.NET’ Category

Aug 26

Creating and Displaying Dynamic Serverside Error Messages with MS Ajax

Tuesday, August 26th, 2008 | posted by: Kevin Grohoske

Thank you Keith Brooks for contributing to this article.
If you have ever tried to capture exceptions in your codebehind and display friendly messges the users using Microsoft’s AJAX toolkit, you may find the very simple idea becomes complicated very quickly. I ran into this when I had some projects that I wanted to AJAX’ify by […]

Aug 13

Hidden _EventValidation Element Breaks 1.1 Framework Applications on IIS7

Wednesday, August 13th, 2008 | posted by: Kevin Grohoske

Yesterday a few of us at the office had to track down a frustrating bug/feature that prevented ASP.NET 1.1 Framework web application from running on Internet Information Server 7 (IIS7) and Windows Server 2008 (Windows 2008).
Situation:
We host several client sites on our public hosting server. We migrated the 1.1 Framework Applications to Windows 2008 / […]

Mar 5

CSS Switch Option Due To IE8’s ‘Super Standards Mode’ Default In IE8

Wednesday, March 5th, 2008 | posted by: Kevin Grohoske

“Read Best Practices for Version Vector” on the Microsoft IE 8 Readiness Kit web site. Looks like a simple change will allow you to switch the CSS for each client type. Will be a pain, but in the long term this will be a good thing, I think!?!

Mar 5

One Less Topic For The MS Haters To Talk About - IE8 Standards Compliant By Default

Wednesday, March 5th, 2008 | posted by: Kevin Grohoske

Microsoft released a Beta Release of Internet Explorer 8 today. I have not downloaded it yet, but from everything I’ve read it should be W3C compliant and sport some new features found on other browsers, which should reduce some of the MS haters arguments. I strongly support the current MS strategy of embracing standards, it […]

Feb 1

Infragistics and Peter Blum Validation “Page is still loading” Ajax Error

Friday, February 1st, 2008 | posted by: Kevin Grohoske

 
I recently encountered a compatibility issue with Peter Blum validation controls and Infragistics WARP (Web Async Refresh Panels). Luckily it has already been resolved in the latest version (3.0.11.5000) of Peter Blum’s controls, but it is not documented well on the Peter Blum site or support forums.
If you do not register the WARP panels with […]

Jan 30

Large File Uploads in ASP.NET

Wednesday, January 30th, 2008 | posted by: Kevin Grohoske

This will be a quick link to help other folks with a problem I had with a recent project.
If you need to upload a file that is larger than the 4 mb limit default in ASP.NET, there is a great entry at Jon Galloway’s Blog. Go see his site for a great explanation, but here […]

Oct 31

<asp:DropDownList id=”State” runat=”server”>
<asp:ListItem Value=”AL”>Alabama</asp:ListItem>
<asp:ListItem Value=”AA”>Armed Forces the Americas</asp:ListItem>
<asp:ListItem Value=”AE”>Armed Forces Europe</asp:ListItem>
<asp:ListItem Value=”AP”>Armed Forces Pacific</asp:ListItem>

Oct 31

Code Snipet: ASP.NET 50′ish States DropdownList ( asp:DropDownList / asp:ListItem )

Wednesday, October 31st, 2007 | posted by: Kevin Grohoske

<asp:DropDownList id=”State” runat=”server”>
<asp:ListItem Value=”AL”>Alabama</asp:ListItem>
<asp:ListItem Value=”AK”>Alaska</asp:ListItem>
<asp:ListItem Value=”AZ”>Arizona</asp:ListItem>
<asp:ListItem Value=”AR”>Arkansas</asp:ListItem>
<asp:ListItem Value=”CA”>California</asp:ListItem>

Sep 7

Using Dictionary Object Params In Your Web Service

Friday, September 7th, 2007 | posted by: Kevin Grohoske

In neither .NET Framework 2.0 or 1.x can dictionary objects be used parameters for web service methods, because they are serializable.
For example the following will compile, but not work:

[WebMethod]public string MyMethod(Dictionary CustomArguments)

Aug 10

Yesterday I was trying to help a co-worker that had an odd problem in their ASP.NET 2.0 application. Despite the fact that the class was in the ‘App_Code’ directory and the class was within the same namespace yet it could not accessed/recognized. We were receiving the error, “The type or namespace name ‘example’ could not […]