Click here to Skip to main content
Sign Up to vote bad
good
See more: ASP.NET
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 23 Nov '12 - 4:54

Comments
VinodKhanna - 23 Nov '12 - 11:06
I have solved it
aspnet_regiis -i - 23 Nov '12 - 12:44
good...

1 solution

use
 
if (!IsPostBack)
{
 
}
 

in page load,
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 OriginalGriff 218
1 Ron Beyer 215
2 Aarti Meswania 190
3 Rohan Leuva 178
4 Mahesh Bailwal 160
0 Sergey Alexandrovich Kryukov 8,553
1 OriginalGriff 6,899
2 CPallini 3,648
3 Rohan Leuva 2,963
4 Maciej Los 2,308


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 4 Dec 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid