Geeks With Blogs
Sean Rhone

So, over the holidays I migrated the ASP.NET 1.1 web app to ASP.NET 3.5. I had initially wanted to use the migration tools provided by Microsoft but I also wanted to remove some junk controls that were already part of the application and wanted to spend some time refactoring some logic so I decide to create a new application and port code over one page at a time and clean/re factor as I went. During this re-write I added some Ajax calls and also added UpdatePanels hoping to make the user experience better. Well while unit testing on my local box everything went well but once I push the code to the Dev server my GridView controls no longer worked as expected using IE 7 but worked fine in Chrome and FireFox.

I googled the heck out of Ajax/gridview and also visited some personal favorite blogs like Scott Guthrie where I found this blog I found in the Dev web.config the <xhtmlConformance mode="Legacy" /> so I commented it out, even restarted IIS and no joy. The fix, at least for me was not removing <xhtmlConformance mode="Legacy" /> but switching it to <xhtmlConformance mode="Transitional" />

Posted on Saturday, January 17, 2009 8:33 PM | Back to top

Comments on this post: ASP.NET ajax/GridView gotcha

# re: ASP.NET ajax/GridView gotcha
Requesting Gravatar...
Great work! You have been able to create a significant project and that is something to be proud of. - Mark Zokle
Left by Red on Sep 20, 2016 5:14 AM

Your comment:
 (will show your gravatar)

Copyright © Sean Rhone | Powered by: