Solved

GridView edit option

Posted on 2012-04-03
1
256 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now