Solved

Compiler Error Message: CS0117:

Posted on 2006-06-20
5
333 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
Comment Utility
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
Comment Utility
i'm still interested...

regs,
yurich
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

10 Experts available now in Live!

Get 1:1 Help Now