"The DataItem property is available only during databinding in the NodeDataBound event"

2 posts, 0 answers
  1. Caius
    Caius avatar
    1 posts
    Member since:
    Jul 2011

    Posted 22 Jul 2011 Link to this post

    I understand why it's empty, and we retrieve our original row using lookup of the ID which we can store in the Value prop..
    ..I just cannot undertand why this is even a property of the Node at all.. Surely if it is only ever available in one event, it should be an argument to the event handler, NOT a property of the Node?
  2. Plamen
    Admin
    Plamen avatar
    2969 posts

    Posted 27 Jul 2011 Link to this post

    Hi Caius,

    The DataItem is a property of the node that comes through inheritance.
    .
    Here is an example project how it can be used to with NodeTemplate.

    Greetings,
    Plamen Zdravkov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top