Globalizing Web Community Menu

Home
Mission
Message
Blog
Downloads
Favorite Links
Thanks
Invitation
Coty

     
Login or Register
Information Site

Back To Blog

Archive Links


August 18, 2006


February 25, 2006
February 8, 2006
January 15, 2006
November 16, 2005
October 31, 2005
October 1, 2005
September 20, 2005
September 3, 2005


   

02/12/2009

Long absence again caused by the frustrations

During this period, I have tried to create two sample pages based upon the old magazine articles written at the time when ASP.Net 2.0 was released. All the two resulted in complete failure.


One sample is about the Client-Side Callback using the parameter, called by the HTML Input button running on the server side. The other example is about creating the custom database control that can be called from ObjectDataSource and perform general database operations with no line of codes. I studied both samples taking a lot of time. As the database was missing in those sample codes, I used a sample table from SQL Server 2005, tested that all the data layer codes worked normally with the regular 2.0 controls, and applied them to the samples codes. To my great disappointment, both pages showed the errors and I could not find any solutions to let the pages work.

 After quite a while, I decided to reconstruct the screwed-up pages. While leaving the normally compiled custom classes intact (for future references), I commented out all the code lines on the page sides, and wrote my own simple codes to reproduce the similar situations. For the Client Side Callback, I found out that, you can use the HTML Input button running on the server side to call any Callback codes that worked well with the client side buttons.

As for the Custom DataBase control, I could get exactly the same result as this control was supposed to achieve by using ObjectDataSource, GridView and DetailView controls. Through this process, I have learned how to combine ObjectDataSource with the custom class.

Comments: 0    Trackbacks: 0




Write a comment

TrackBack Address:
http://www.timeo.com/TrackBack.aspx?ID=123
   

RSS FEED