ibrahim ibrahim - 14 days ago 5x
Vb.net Question

how to access to properity in usercontrol from html

i have public property in user control and i need access to this property from HTML for parent for this user control

Public Property ActorID As Integer
Set(value As Integer)
ViewState("ActorID") = value
End Set
Return ViewState("ActorID")
End Get
End Property

<uc3:Hos_Applicants ID="Hos_Applicants1" runat="server" />

<uc3:Hos_Applicants ID="Hos_Applicants1" runat="server" ActorID="2" />

you can access to property and set value in user control from parent asp page