I am not the programmer, I dont have access to the Code Behind.
I just style the pages and whatnot.
PROBLEM: I am trying to hide/show elements of a page based on the language selected.
Some of these elements are server controls and a couple of them have specific id's and graphics associated.
I need to change the graphics to the language selected.
I have tried this:
<%if Request.QueryString("lang")="es" then%>
<div><asp:imagebutton id='go' ImageUrl='go-spanish.png'></asp:imagebutton></div>
<% Else %>
<div><asp:imagebutton id='go' ImageUrl='go-english.png'></asp:imagebutton></div>
<% End If %>
No dice.
I also tried using Response.Write to write the imagebuttons dynamically, which it does, but they arent visible in the browser.
I also tried changing the image path in the control dynamically and apparently it isnt allowed.
Could someone please give me an idea of how to work around this?