I seriously don't understand this at all.. MasterPage been helping me to reduce the number of repeatition work on interface design and now its bringing me really a lot of problem here...
Basically i have the code below which work on regular page that does not have masterpage but once i try it on webpage that has MasterPage in it... it just doesn't work at all...
Can anybody please help me with this issue or else i have to work on my webpage without the MasterPage benefit.....
For your information the problem is not at "WeddingGown.jpg"..... which it has nothing to do with the image path problem...
For num As Integer = 1 To 5
Dim btn As ImageButton = CType(FindControl("ImageButton" & num), ImageButton)
btn.ImageUrl =
"WeddingGown.jpg"
Next