ODS events not firing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tshad

    ODS events not firing

    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:

    <asp:ObjectData Source ID="odsEntryLis t" runat="server"
    SelectMethod="G etEntries"
    TypeName="PDSAT imeTrak.Busines sLayer.Timeshee tEntry"
    onobjectcreated ="odsEntryList_ ObjectCreated"
    onobjectcreatin g="odsEntryList _ObjectCreating "
    onobjectdisposi ng="odsEntryLis t_ObjectDisposi ng" />


    protected void odsEntryList_Ob jectCreating(ob ject sender,
    ObjectDataSourc eEventArgs e)
    {
    string a = string.Empty;
    a = "hi";
    }

    protected void odsEntryList_Ob jectCreated(obj ect sender,
    ObjectDataSourc eEventArgs e)
    {
    TimesheetEntry te =(TimesheetEntr y)(e.ObjectInst ance);
    string a = string.Empty;
    a = "hi";
    //te.ConnectionSt ring = conn
    //TimesheetEntry. GetEntries(this );
    }

    Neither the onobjectcreated nor the onobjectcreatin g is firing.

    Thanks,

    Tom



Working...