Sunday, January 6, 2008

Happy New Year 2008

Hi,

First of all, I wish you everything best for the New Year 2008.

I spent the last ten days of 2007 year at my parents in Poland. And I returned at work on the 2nd of January.

Before Christmas I started working on converting Web application ASP.Net 1.1 into ASP.Net 3.5. The easiest part was the conversion of data and business layer into the newer Framework, but with the site I have some problems. First of all, the Visual Studio 2008 compiles the Web site with no errors, but when it is executed, there are errors and it is normal, because there were classes or signatures of methods that weren't declared. The compiler should throw compilation error and not say that the building was successful.
In ASP.Net 1.1 there was DataGrid class, and now there is GridView and DetailsView. I have to manually convert these ASP objects. But there is another problem, the new HyperLinkField does not allow to have JavaScript in the NavigateURL. I made some search on Google, and I found one solution: I derived created a class that derived from HyperLinkField and overrided the FormatDataNavigateUrlValue method but when the data is bounded I have the first row with no link and the second one contains the link for the first row. Next week I have to investigate this.

And that it all for now...

No comments: