hmpatel288
asked on
Problem in Hiddiing Div at page load of asp.net 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>
</div>
Technically, since my div is hidden, I should not be able to see any views, but I can see my view at run time...
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>
</div>
Technically, since my div is hidden, I should not be able to see any views, but I can see my view at run time...
ASKER
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?
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?
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
style="display: none;"