Solved

Compiler Error Message: CS0117:

Posted on 2006-06-20
5
347 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 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
No Data for DropDown List 2 32
ASP.NET (VB) return a record 2 52
Change to file doesn't show up 16 78
Where does legacy ASP.NET initialize language? 2 62
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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