Skip to Content
author's profile photo Former Member
Former Member

Table.LeadSelect event crashes (with no code)

Hi,

I have a table with 1 column that I have populated

I added the LeadSelect event handler and if I click on an item in the table it now crashes (error info below)

I have no code in the handler it is just the autogenerated stub VS gives you

Anyone seen this or have any idea what might be happening?

Is there an alternative to this in order to get a cell\row click event?

Vin

Server Error in '/EPApp1001' Application.

-


Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]

SAP.Web.UI.Controls.TableBodyCell.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +95

System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18

System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138

System.Web.UI.Page.ProcessRequestMain() +1277

-


Version Information: Microsoft .NET Framework Version:1.1.4322.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 17, 2004 at 01:30 PM

    I assume you're probably didn't set a needed property in your initialization. Maybe the TableRow key? or the cells key...?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.