I know there is a way to create a user control in ASP.NET that has a parameter when added to the page markup.
Can anyone tell me how to it? It is OK if you can’t provide code. Just the idea.
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 your user control, create a public property, e.g. like this:
Then you can access it whenever you use your user control.