Link to home
Start Free TrialLog in
Avatar of hmpatel288

asked on

Problem in Hiddiing Div at page load of 2.0

I have a multiview controls and few user controls.
I have put the user controls in dfferent views of multiview control.
I have a div
<div id="tempDiv" style="visibility:hidden;">
      <asp:multiview id="mv" runat = "server" activeviewindex=1>
                   . Different views holding user controls inside it
       </ asp:multiview>
Technically, since my div is hidden, I should not be able to see any views, but I can see my view at run time...
Avatar of mrichmon

style="display: none;"
Avatar of hmpatel288


Well, mrichmon

eventually I want to make it visible also....
tu sum up my div will be looking like this initially
<div id="divAddNewAdTag" style="width:752; left:128; top:162; position:absolute; visibility:hidden; z-index:9;display:none;" >

can you recommend changes to this div, and a javascript function to make the div visible?
Hey mrichmon,
I just made it visible too. so  your solution works,
Now I am just confused, wht's difference if I use visibility or display...
does it effects my whole system if I use display for some pop ups and visibility for others,
I would appreciate if you can refere me any documentation also
Avatar of mrichmon

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial