FlaDotNet Meeting 12-29-05#
Here are some of the links to the several libraries I discussed at the meeting tonight about the different AJAX style libraries for ASP.NET 2.0 and ASP.NET 1.1:


http://jason.diamond.name/weblog/2005/10/29/my-ajax-dot-net-release-12
http://anthem-dot-net.sourceforge.net/
http://atlas.asp.net

It was fun to hang out tonight and always love the pubs. Check out CarCentral.com and build your car, get a free price quote or find a used car. See you again, hopefully in fort lauderdale in February!
Thursday, December 29, 2005 10:00:00 AM UTC #    Comments [3]  |  Trackback

 

Using GridView and ObjectDataSource for Paging and Sorting#
I was scratching my head trying to figure out how to automagically sort and page through a dataset in asp.net 2.0 without having to write my own custom code like I used to have to in .net 1.1. In my code behind I was calling my business object and then setting the datasource properties in the Gridview. I could not get the sorting and paging to work. It was driving me crazy. Then I read that you need to set the DataSourceID property of the GridView to a sqldatasource or objectdatasource.

So I created an objectdatasource and pointed it to my business ojbect function that was doing the search and returning a dataset. I set the parameters of the ObjectDataSource to use QueryString and then everything worked fine.

I then was able to delete all of the code in my code behind. Amazing. You can actually implement a fully functional GridView without writing any code in a code-behind page. I love it.
Thursday, December 15, 2005 10:00:00 AM UTC #    Comments [1]  |  Trackback

 

.NET 1.1 Sites no longer work after upgrade from .NET 2.0 beta 2 to RTM#
Ok, now I am writing this after panicking for about an hour after updating my server from .NET 2.0 beta 2 to .NET 2.0 RTM. After uninstalling beta 2 and then installing the rtm for .net 2.0 I noticed that my .net 1.1 sites no longer worked. Two things happened. On one of the 1.1 sites it changed all of the page mappings to 2.0. That was an easy fix, I just changed the mappings back to 1.1.

The second problem was stranger. I could not find any aspx pages on the site. Although I had proper mappings reset. The problem again was in the web service extensions. Believe it or not I went on that track after searching for "404 error only on aspx pages asp.net 2.0" and finding an old post of my own. Go figure. Anyway I went to IIS and clicked on Web Service Extensions. I noticed that the ASP.NET v1.1.4322 extension was not even there anymore and that it had gotten deleted. All you need to do is click the "Add a new web serice extension" link and then name it "ASP.NET v1.1.4322" and then browse to "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll" when it asks after you type in the name. Do not forget to click the "Set extension status to Allowed". Everything should work fine now.
Sunday, December 11, 2005 10:00:00 AM UTC #    Comments [0]  |  Trackback

 

 

All content © 2010, Jim Zimmerman
Book
New Book
Links to me
On this page
Sponsors
Calendar
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Archives
Tags
Blogroll OPML
Technorati
Favorite Links
Disclaimer

Powered by: newtelligence dasBlog 1.9.6264.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail