Click here to Skip to main content
15,897,187 members

Comments by nima_pw (Top 3 by date)

nima_pw 12-Jul-11 7:27am View    
Why I can't use <%=ImageButton3.ClientID; %> as below?
<asp:ImageButton ID="ImageButton3" runat="server" onMouseOver="MM_swapImage('<%= ImageButton3.ClientID; %>','','menu_7.gif',1)" />
This code must send Client ID of ImageButton3 to MM_swapImage function, is not it?
nima_pw 12-Jul-11 2:29am View    
Thanks Christian for your reply.
I put
var ImageButton3 = "<%ImageButton3.ClientID; %>";
In Load_Page and used this variable in MM_swapImage without quotes.
But didn't work.
I'm really confused :(
nima_pw 10-Jul-11 11:00am View    
Can you pls explain with code.
By my code, when mouse go on the button, the color of button be change.
Can you explain your way trough showing code that must be written in masterpage?