Solved

Compiler Error Message: CS0117:

Posted on 2006-06-20
5
339 Views
Last Modified: 2008-02-01
Server Error in '/SAPropertyWarehouse' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'ASP.sellers_sellerlistings_aspx' does not contain a definition for 'DataList1_SelectedIndexChanged'

Source Error:

 

Line 706:                   </asp:LinkButton>
Line 707:                   <hr />
Line 708:                     <asp:DataList ID="DataList1" runat="Server"  dataSourceID="ObjectDataSource1" cssclass="view"
Line 709:            repeatColumns="2" repeatdirection="Horizontal" borderwidth="0px" cellpadding="0" OnSelectedIndexChanged="DataList1_SelectedIndexChanged">
Line 710:            <ItemStyle cssClass="item" />
 

Source File: c:\domains\sapropertywarehouse.co.za\wwwroot\SAPropertyWarehouse\Sellers\SellerListings.aspx    Line: 708


What definition and where must i put it


Thanks



0
Comment
Question by:Riaan Roode
  • 2
5 Comments
 
LVL 21

Accepted Solution

by:
Yurich earned 500 total points
ID: 16941110
You probably accidently deleted a method that implements your OnSelectedIndexChanged. If you have no means to restore your previous file (a backup copy), select your control (datalist), press F4 for properties, select events (a lightning bolt icon) and find OnSelectedIndexChanged event - double click next to it and it either will take you to the existing one, or it will create a new one. I'm not sure about the default event for a data list, but you can also just try to double click it (your data list).

good luck,
yurich
0
 
LVL 21

Expert Comment

by:Yurich
ID: 17128706
i'm still interested...

regs,
yurich
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

18 Experts available now in Live!

Get 1:1 Help Now