Click here to Skip to main content
15,884,177 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have made a feature of sending mail in my project.

I have provided a image button in the page. On clicking on that it shows a popup window where I have put buttons to show associated student, teacher and all.

My problem is that on clicking on that popup button my parent page and the popup window both gets refreshed. I don't have put any code which can cause this.

Can any one suggest what will be possible issues due to which this can happen..?

Thanks in advance.
Posted
Comments
sahabiswarup 2-Nov-12 3:28am    
have you tried updatepanel?
madhuri@mumbai 2-Nov-12 3:30am    
have you use updatepanel in your page?
Devang Vaja 9-Nov-12 6:16am    
yes miss deshale she should use updatepanel
Hiral21 2-Nov-12 4:57am    
No I dont have used it in my page..
madhuri@mumbai 9-Nov-12 6:43am    
Devang, not deshale,it is desale OK.

You can use ModelPopupExtender of AjaxControlToolkit instead of popup window.
 
Share this answer
 
Comments
Hiral21 2-Nov-12 9:30am    
I had tried that also...But the same happens..
If I understand your question, the ImageButton must be causing the refresh (postback in official terms). You can use something alternate like an image itself and handle its click on the client side and show the popup.
 
Share this answer
 

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