Posted on: 2/1/2012 12:00:10 PM | Views : 294

Hi, I have a div defined in an UpdatePanel (maybe it's important info, who knows), with visibility set to hidden.
In some cases Its visibility becomes visible, using javascript functions.
Now, I have to know in code behined, whether the div is visible or hidden, so that I'll know from which control to take the value.
 When I run the code, It works fine, the div is displaying and hiding when it supposed to.
The problem is, that when I check the visibility of the div in code behined, it is allways hidden (I see it while debugging), even when it is displayed on page.
Is there something I am doing wrong?
<form id="Form1" method="post" runat="server"> <asp:ScriptManager runat="server" ID="scriptManager1"></asp:ScriptManager> <script type="text/javascript" language="javascript"> var prm = Sys.WebForms.PageRequestManager.getInstance(); ...

Go to the complete details ...