- Shopping Bag ( 0 items )
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.
Using the Session State.
Assigning Controls to the Session State.
Retrieving Controls from the Session State.
Using the Form.
About J.F. DiMarzio.