Client side showing , hiding is risky
<p>I have a div which contains a button .I am initially setting div display:none &amp; depending upon the user rights i am showing it to user using javascript.</p>

<pre><code>&lt;div id="mydiv" style="display:none"&gt;
    &lt;asp:Button id="btn" runat="server"/&gt;
&lt;/div&gt;

PageMethods.GetRights(onsuccess);

function onsuccess(result){
   if(result.isaccessible)
   {
      $("#mydiv").show();
   }
}
</code></pre>

<p>Is Showing,Hiding at client risky. I dont want to use updatepanel if it is risky what is an alternative to this i have?</p>
