Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on asp.net , c sharp code
In my code when any particular condition is true, I need to fetch data from database and need to show in popup.
I have created ModalPopupExtender which contains datagrid and some labels
I bring the data in dataset and bind this data to datagrid.
But whenever page load occurs this popup blinks with blank data.
How to hide this ModalPopupExtender on pageload from code behind.
I have tried with ModalPopupExtender.Hide(), but it did not worked
Please help...
Posted
Comments
VinodKhanna 23-Nov-12 11:06am    
I have solved it
bbirajdar 23-Nov-12 12:44pm    
good...

1 solution

use

if (!IsPostBack)
{

}


in page load,
 
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