J
John Espinosa
I have a user control with an image button on it:
Public Property strHomeURL As String
Get
Return strHomeURL
End Get
Set
ibtnHome.ImageURL = Value
End Set
End Property
.....code......
<td><asp:ImageButton id="ibtnHome" runat="server" ImageURL="images/home_on.gif" height="17" width="53" /></td>
......code.....
I am trying to change the ImageURL on the user control from my page by using this subprocedure:
Sub Page_Load
UC1.strHome = "image/home.gif"
End Sub
This is not working. I am not getting the results that I wanted.....can anyone help?
Thanks!
Public Property strHomeURL As String
Get
Return strHomeURL
End Get
Set
ibtnHome.ImageURL = Value
End Set
End Property
.....code......
<td><asp:ImageButton id="ibtnHome" runat="server" ImageURL="images/home_on.gif" height="17" width="53" /></td>
......code.....
I am trying to change the ImageURL on the user control from my page by using this subprocedure:
Sub Page_Load
UC1.strHome = "image/home.gif"
End Sub
This is not working. I am not getting the results that I wanted.....can anyone help?
Thanks!