Databinding UserControl question

L

Leo

I have a user control that exposes properties through Public Property
methods. On one of the properties I would like to have a parameter:

Public Property EMail(byval DisplayText as String) As String

How do I pass the parameter in the .aspx page with databinding?

EMail='<%# Eval("Email") %>'

That is what I have without passing the parameter.
 

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

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top