hello..
i want to use ModalPopupExtender control of ajax when user clicks on "change image" link..

i have used this way...


           TargetControlID="EditImage"
           PopupControlID="pnlUimage" 
           OkControlID="OkButton"           
           CancelControlID="CancelButton" 
           BackgroundCssClass="modalBackground" />


on  PopupControlID="pnlUimage"  panel i have put details view control
and by clicking on update it changes the detailsview mode to editmode


AutoGenerateRows="False" GridLines="Horizontal" BorderWidth="1" DataSourceID="SqlDataSource1">       
                        
           
        
                
                    
                     ID="ImageButton1" ImageUrl='<%# Eval("pimage","user_image/{0}") %>'
                      runat="server" />
                  
                   id="txtPictureURL"/>

                  
                                    
     
                  >
                
                 OnClick="btnUpload_Click"
                 Width="127px" Height="21px" />
                 
                                
                
                    
                     runat="server" />
                
            
<%--            
            
--%>        
              
    
    
 

   
i want that when it pops up, the user can change his/her profile image and when click on OK button the pop up should be disappear...

bt in this case when i click on "Change image" Link the popup appears and when i click on "update" of details view the pop up disappear..