Link to home
Create AccountLog in
Avatar of KaranGupta
KaranGupta

asked on

Persisting the value of control on master page

Hi

I have a master page and 2 content page. There is a textbox on the master page. If I navigate from one content page to another then the value in the textbox is not persisting.

How can I do that?

Regards
Karan Gupta
Avatar of guvera
guvera
Flag of India image

hi,

 You can use view state for this one.

Thaks
Guvera
Avatar of KaranGupta
KaranGupta

ASKER

It is not working because whenever you visit to a new page view state becomed nothing. I have tried that option. But still if you can give me some sample that would br great.
ASKER CERTIFIED SOLUTION
Avatar of iHadi
iHadi
Flag of Syrian Arab Republic image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
But do you think session is a wise decision?
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thanks