Simple I have some imagebutton simulating a tab on a masterpage. When the user clicks the button I take them to another page and wit the code behind I change the imageurl but nothing happens....
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack = False Then
homeImageButton.ImageUrl = "Pics/homewhite.jpg"
productsImageButton.ImageUrl = "Pics/productsgray.jpg"
contactImageButton.ImageUrl = "Pics/contactgray.jpg"
End If
End Sub
Protected Sub productsImageButton_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles productsImageButton.Click
homeImageButton.ImageUrl = "Pics/homegray.jpg"
productsImageButton.ImageUrl = "Pics/productswhite.jpg"
contactImageButton.ImageUrl = "Pics/contactgray.jpg"
Server.Transfer("Products.aspx")
End Sub
My cat's name is sprinkles
-Ralph Wigam
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Page.IsPostBack = False Then
homeImageButton.ImageUrl = "Pics/homewhite.jpg"
productsImageButton.ImageUrl = "Pics/productsgray.jpg"
contactImageButton.ImageUrl = "Pics/contactgray.jpg"
End If
End Sub
Protected Sub productsImageButton_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles productsImageButton.Click
homeImageButton.ImageUrl = "Pics/homegray.jpg"
productsImageButton.ImageUrl = "Pics/productswhite.jpg"
contactImageButton.ImageUrl = "Pics/contactgray.jpg"
Server.Transfer("Products.aspx")
End Sub
My cat's name is sprinkles
-Ralph Wigam