Error in page

Posted on 2011-09-16
Last Modified: 2012-05-12
I got this error  on the page when I run this code...

<asp:ListView ID="lvEmp"

I received this errror
 'lvEmp_ItemEditing' is not a member of 'ASP.webform1_aspx'

however if I comment out it like the lines, it worked ok. What could be the reason?

<asp:ListView ID="lvEmp"
  <%- OnItemEditing="lvEmp_ItemEditing"
Question by:zachvaldez
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 36549296
you dont have the OnItemEditing="lvEmp_ItemEditing" event implemented in your code behind so maybe its deleted or , you forgot to create one.

Author Comment

ID: 36549513
I have it also I'm code behind    
LVL 16

Accepted Solution

disrupt earned 250 total points
ID: 36549659
See this working example:

do you have a lvEmp_ItemEditing method?

Author Comment

ID: 36551986
do you have a lvEmp_ItemEditing method? yes

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 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