Vous voulez voir cette page en français ? Cliquez ici.

Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Dynamic Control Survivability in ASP.Net [Hardcover]

Jerome Dimarzio

Currently unavailable.
We don't know when or if this item will be back in stock.

Join Amazon Student in Canada

Book Description

Dec 1 2007 Wrox Briefs (Book 12)
This Wrox Blox provides two solutions for dynamic control survivability, including using the ASP.NET Session object to hold the dynamic controls, and accessing the page's Form objects before they are destroyed. Using ASP.NET 2.0 with C# and VB.NET, you will explore both solutions and see the best situations in which to use them. Many ASP .NET programmers require the use of dynamic, page-generated controls to provide a flexible user experience. However, when creating controls on the fly within a web page, any postback to that page will destroy the original controls and the data they were holding. 

How do you retain these controls and their data when performing an otherwise destructive postback? ASP.NET programmers usually find that a web search will provide little in the way of answers to this question. This Wrox Blox provides two solutions for this common problem. The solutions proposed include using the ASP.NET Session object to hold the dynamic controls, and accessing the page’s Form objects before they are destroyed. Both of these solutions have their advantages and drawbacks. Using ASP.NET 2.0 with C# and VB.NET, you will explore both solutions and see the best situations in which to use them.

Usage Rights for Wiley Wrox Blox

Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:

  • Are entitled to three downloads
  • Are entitled to make a backup copy of the file for your own use
  • Are entitled to print the Wrox Blox for your own use
  • Are entitled to make annotations and comments in the Wrox Blox file for your own use
  • May not lend, sell or give the Wrox Blox to another user
  • May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it 
  • May not copy the Wrox Blox file other than as allowed above 
  • May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley  

If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).

Product Details

Product Description

About the Author

J.F. DiMarzio is an author and Senior Web Developer from central Florida. He has written five books on the subject of technology and computer science and offers a refreshing, peer-style tone that makes his books and articles easy to understand. Mr. DiMarzio has been active in the technology for more than 13 years and has been programming for more than 20 years. He is also happy to answer questions and can be reached at feedback@jfdimarzio.com.

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.0 out of 5 stars  2 reviews
3.0 out of 5 stars A great place to start with dynamic control survibability Aug. 9 2011
By Thomas B. Knowlton - Published on Amazon.com
One caveat....the example is only for the server side controls that come with ASP.NET

The examples are NOT for use with custom user controls (.ascx) and the examples DO NOT illustrate how to sign-up for custom events that the user controls (.ascx) might raise at runtime.

The examples given are ONLY for ensuring that simple controls that are loaded at runtime do not disappear after a postback, and that their viewstate remains as it was (in other words, ensuring that selections from the dropdownlist or text entered into the textbox will not disappear). If that is your goal, then this short treatment is excellent for you.

I have yet to find any books or articles that give the topic of USER CONTROL survivability in ASP.NET decent treatment. Sigh. Such a book would explain about event wiring to controls loaded at runtime and how to preserve THAT across postbacks. It would include some discussion on Reflection, MethodInfo, EventInfo, collections of events exposed through reflection (and how to wire them up), etc.

Perhaps this will be the author's next book...
5.0 out of 5 stars Excellent Dec 19 2010
By B. Hawkins - Published on Amazon.com
Verified Purchase
This ebook does what it says. Clearly and concisely shows you how to build dynamic controls that retain value after postback (and retrieve their values). The author actually explains 2 different methods. I bought this ebook after having no luck finding an online tutorial that I could get working in my application. Probably the most valuable 33 pages I have ever bought.

Look for similar items by category