access codebind properties in ascx?

  • Thread starter Thread starter Craig Buchanan
  • Start date Start date
C

Craig Buchanan

If a usercontrol's codebehind page declares a protected variable named
'PersonId', can I access that in the HTML of the ascx? If so, how? I've
tried <%# Me.PersonId #>, but that doesn't seem to work.

Thanks,

Craig Buchanan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top