Solved

Compiler Error Message: CS0117:

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

Independent Software Vendors: 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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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