?
Solved

Compiler Error Message: CS0117:

Posted on 2006-06-20
5
Medium Priority
?
355 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
[X]
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
5 Comments
 
LVL 21

Accepted Solution

by:
Yurich earned 2000 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

Technology Partners: 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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 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