Client-Side Binding and EnablePostbackOnRowClick

2 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 10 Jun 2010 Link to this post


    I'm using the client-side programmatic binding feature with the Telerik rad grid control, and I also have <ClientSettings EnablePostBackOnRowClick="True".  The Grid causes the postback, and the following form values are present:

    __EVENTTARGET: <correct grid id>
    __EVENTARGUMENT: RowClick$<index>

    So that's correct, but the ItemCommand event does not fire... any idea why?

  2. Nikolay Rusev
    Nikolay Rusev avatar
    2287 posts

    Posted 11 Jun 2010 Link to this post

    Hello Brian,

    Since you are using client-side binding - the items are created and bound on client side. Thus when postback event happens there are no items on server respectively no item to handle/trigger the command(ItemCommand).

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top