M
Melissa
I'm learning about Server.Transfer to see if it will be worthwhile so we can
cut down on the number of session variables we use. And in doing a couple
of tests following the .NET Framework SDK documentation
(ms-help://MS.NETFrameworkSDKv1.1/cpguidenf/html/cpconpassingservercontrolva
luesbetweenpages.htm), the example shows having the textbox controls as
Protected, but when I tried to run the example and access the values in the
text boxes from the first page on the second page, I wasn't able too because
it said that the controls were protected. I changed them to public and it
worked, but why does the example show that they can be protected?
Also, when I ran the example and clicked a button to go to the second page,
the browser's address bar had the address of the first page when I was on
the second page. I understand why that is, but does it have to be that way?
It would be less confusing if it showed the page that was actually being
run.
I appreciate any help.
Thanks,
cut down on the number of session variables we use. And in doing a couple
of tests following the .NET Framework SDK documentation
(ms-help://MS.NETFrameworkSDKv1.1/cpguidenf/html/cpconpassingservercontrolva
luesbetweenpages.htm), the example shows having the textbox controls as
Protected, but when I tried to run the example and access the values in the
text boxes from the first page on the second page, I wasn't able too because
it said that the controls were protected. I changed them to public and it
worked, but why does the example show that they can be protected?
Also, when I ran the example and clicked a button to go to the second page,
the browser's address bar had the address of the first page when I was on
the second page. I understand why that is, but does it have to be that way?
It would be less confusing if it showed the page that was actually being
run.
I appreciate any help.
Thanks,