ODS events not firing

ODS events not firing

am 09.04.2008 19:16:40 von tshad

In VS 2008, we have an ODS object that is getting created but the events are
not firing. We put break points on them and it never stops. Without this
we can't set up our filters.

Is there something we are missing?

Here is the objects code:

SelectMethod="GetEntries"
TypeName="PDSATimeTrak.BusinessLayer.TimesheetEntry"
onobjectcreated="odsEntryList_ObjectCreated"
onobjectcreating="odsEntryList_ObjectCreating"
onobjectdisposing="odsEntryList_ObjectDisposing" />


protected void odsEntryList_ObjectCreating(object sender,
ObjectDataSourceEventArgs e)
{
string a = string.Empty;
a = "hi";
}

protected void odsEntryList_ObjectCreated(object sender,
ObjectDataSourceEventArgs e)
{
TimesheetEntry te =(TimesheetEntry)(e.ObjectInstance);
string a = string.Empty;
a = "hi";
//te.ConnectionString = conn
//TimesheetEntry.GetEntries(this);
}

Neither the onobjectcreated nor the onobjectcreating is firing.

Thanks,

Tom