One way is to simply make a public property on your User Control.
Something like this:
Public Property SomeProperty as String
Get
Return m_var
End Get
Set
m_var=value
End Set
End Property
Then from your page you can use code like this:
MyUserControl.SomeProperty="whatever"
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Timothy V" <tr****@msn.com> wrote in message
news:e6**************@TK2MSFTNGP09.phx.gbl...
Hi,
I was wondering if there is a way to pass parameters to a User Control
within asp.net.
Thank you,
Timothy.