If multiview.activeindex=0 then button.backgroundcolor=something else something end if
<script type="text/javascript"> if (multiview.activeindex=0) { button1.background = "Red"; } else { button1.background = "White"; } </script>
function checkVisible() { var button1=document .getElementById ("button1"); if(button1.visible=true) { button.backgroundcolor=something else { button.backgroundcolor=something } } }
function checkVisible() { var activeViewIndex = <%=MultiView1.ActiveViewIndex %>; //& then your code }
<script type="text/javascript"> if (multiview.activeindex=0) { button1.style.backgroundColor= "Red"; } else { button1.style.backgroundColor= "White"; } </script>
var MultiView = document.getElementById('<%=MultiView1.ClientID %>');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)