Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Sir/Ma'am,
How can be make the back part invisible as we click at the control at which we have applied modalpopup of AJAX?





Thanku...
Posted
Updated 13-Apr-11 17:53pm
v2
Comments
[no name] 13-Apr-11 14:35pm    
Please rephrase the question, it makes no sense.
TweakBird 13-Apr-11 14:45pm    
Yeah, well said.
Shristi Tyagi 13-Apr-11 14:53pm    
okk..sir
I meant to its transparency...can we do it in modalpopup or not?
if yes than how?

1 solution

Use CSS as mentioned below:

CSS
.modalBackground
{
    background-color:filter:alpha(opacity=70);
    opacity:0.7;
}

HTML
<ajaxtoolkit:modalpopupextender
    id="ModalPopupExtender"
    runat="server"
    backgroundcssclass="modalBackground"
    cancelcontrolid="CancelButton"
    dropshadow="true"
    okcontrolid="OkButton"
    popupcontrolid="Panel1"
    popupdraghandlecontrolid="Panel3"
    targetcontrolid="lbn_job_det">
</ajaxtoolkit:modalpopupextender>

Source @ Modal Popup Extender Basics[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900