You were right, getting at the properties of the user control was awful. I just dumped it and wrote the code into the master page. Then I was able to access the DataTable through a master page method.
On postback, however, I don't have access to the DataTable. Once you refresh the page or request a new page, the DataTable is available thereafter.
I tried adding code to the function which processes the login, but logging in behaves the same with or without the code. How do I access the DataTable immediately after logging in?
__________________
-------------------------
Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe
When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper
Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
Last edited by chroniclemaster1; February 10th, 2010 at 07:13 PM..
|