Solved

GridView edit option

Posted on 2012-04-03
1
259 Views
Last Modified: 2012-04-09
I have a Gridview in ASP.NET/C# that displays data when the user clicks the Search button.  It has an Edit button option for every row.  But when I click the Edit button, the entire GridView just goes blank.  If I clilck the Search button again after that, the Gridview appears as it should with the option to edit the row that was clilcked.  I am not sure how to stop it from doing this.
0
Comment
Question by:zintech
1 Comment
 
LVL 21

Accepted Solution

by:
masterpass earned 500 total points
ID: 37803782
use

if(!IsPostBack) condition check in the pageload !

hope this helps!
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question