If I disable ViewState at Page level, will it be remembered for GridView inside the page?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you disabled ViewState at the Page level all controls on that page will have ViewState disabled (i.e. won’t be able to use any of the functionality provided by ViewState). I’m not sure from your question if you want GridView to have ViewState enabled and all other controls be disabled, but if that’s what you want to do then you have two options: