•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 427,843 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,778 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 459 | Replies: 5
![]() |
•
•
Join Date: Feb 2008
Posts: 35
Reputation:
Rep Power: 1
Solved Threads: 0
I have a gridview that contains an 'edit' command button.
The problem is that when I click the this 'edit' command button it does not work from the first time,I must click it 2 times to enable edit mode.
I want help to make it enable edit mode from the first time.
I am using VS.NET 2005.
this is the code that I am using to enable editing mode:
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
GridView1.EditIndex = e.NewEditIndex;
}
Thanks in advace.
The problem is that when I click the this 'edit' command button it does not work from the first time,I must click it 2 times to enable edit mode.
I want help to make it enable edit mode from the first time.
I am using VS.NET 2005.
this is the code that I am using to enable editing mode:
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
{
GridView1.EditIndex = e.NewEditIndex;
}
Thanks in advace.
•
•
Join Date: Jan 2008
Location: Largo Florida
Posts: 276
Reputation:
Rep Power: 1
Solved Threads: 23
•
•
Join Date: Jul 2008
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
I found this over at aspnettutorials.com. I think should help ya.
http://www.aspnettutorials.com/tutor...te-csharp.aspx
http://www.aspnettutorials.com/tutor...te-csharp.aspx
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
Other Threads in the ASP.NET Forum
- Previous Thread: Unrecognized configuration section "
- Next Thread: Shopping Cart Not Working


Linear Mode