ASP.NET 2.0 Petshop 1.0 Beta version

In one of my previous posts I had mentioned that I was working on migrating the Petshop application to the new release of ASP.NET 2.0. Although I have not done fully with it, I have completed the part related to placing the order which forms the major chunk of application. Parts which remain to be implemented are the search functionality, login / logout funtionality and managing users. Since these features are now implemented separately in 2.0 release, I have delayed their implementation till I finish doing bit of R&D on that aspect of it.

Unfortunately, I am not able to upload the zip file containing the source code and Db scripts to this blog. If anybody is interested in having a look at the modifications I have made they can mail me at [email protected]. I'll be happy to share the code with you. And I hope to get feedback from you guys.

Accesing UserControl properties from MasterPage in content pages

I was working on migrating the Petshop example when I came across a problem. I had put the header control in the master page and needed to access the properties of user control in one of the content pages.

The master page itself derives from UserControl class. While googleing, I came across following article which demonstartes how to access Usercontrol properties in content pages.
Kiran Chand's blog

There was nother problem related to ImageButton. Somehow the server side click event of the image button was not getting fired. After trying all the stunts, I wrote to the ASP.NET team members and also to the authors who write articles on various sites. The answer I got from one of the ASP.NET team member was that the new version does not support multiple forms in the same page. And to achive the kind of functionality (search across pages) can be achieved using the newly added cross-page postback feature. For the time being that has solved the issue for me and I am back to giving finishing touches to the Petshop application.

ASP.NET 2,0 Data Binding sample chapters

Microsoft has released the new version of ASP.NET along with visual studio IDE and SQL Server 2005. I came across few sample chapters on data binding and advcanced Web Services on You can download the PDF from the following link:
sample chapters
I am also working on migrating the Petshop example to the latest version. Very soon I shall post that code in this blog :)