As I have problems loosing indexes after postbacks, is it beter to remember indexes or values in sessions?
Thanks.
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.
I’d say store them in sessions, HOWEVER, do you make any selection stuff in the page load event, if so, have you checked so that it won’t redo that population after a postback??
This could mess things up, this would set the time on every postback:
This would however have your stuff remain intact in the viewstate and the time would only update if the page is loaded without a postback: