DataBinder.Eval problem

B

B.J.

Hi,

I have custom databound template control

<N:My id="ID" runat="server">

<Category Type="Staple">
<%# DataBinder.Eval(Container.DataItem,"Staple") %>
</Category>

<Category Type="Sub">
<%# DataBinder.Eval(Container.DataItem,"Sub") %>
</Category>

</N:My>

and in this control I need to find out whether OnItemCreated event is called
for
DataBinder.Eval(Container.DataItem,"Staple") or for
DataBinder.Eval(Container.DataItem,"Sub").
How can I find it out ?

Much thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top