DIY New record?

2 posts, 0 answers
  1. Eric
    Eric avatar
    82 posts
    Member since:
    Feb 2009

    Posted 27 May 2009 Link to this post

    I would like to add a "New Record" link button in the grid header and handle everything myself through the RadGrid_ItemCommandEvent based on the CommandArgument.

    Looking at the various Grid demos, I can't find any instance of the text "Add new record" in the ASPX or c# code.
    Is there a declarative way to do this or do I need to create the link button on the fly myself?


    Many Thanks


    Eric
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 May 2009 Link to this post

    Hi Eric,

    Please go through the following demo which illustrates how customize commanditem contents in grid by using Command item templates.
    Grid / Command Item
    Command item template

    Thanks,
    Shinu.
Back to Top