How to send variables from one user control to another on the same asp.net web page during a postback without using session variables? Hidden fields could be an option, anything else?
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.
In general, controls on a page should know very little about each other.
However, the page knows about them both. Have a property on the first control that the page will read, then the page will use that value to set a property on the second control.