need to enable some controls through Add new record icon click in radgrid

2 posts, 0 answers
  1. karthik
    karthik avatar
    2 posts
    Member since:
    Jun 2015

    Posted 26 Jun 2015 Link to this post

    hi,

         i have some textbox and one save button outside the radgrid. this controls are hided.

    i need to enable this controls through Add new record icon click.

    thanks & regards

    karthik

  2. Eyup
    Admin
    Eyup avatar
    3823 posts

    Posted 01 Jul 2015 Link to this post

    Hello Karthik,

    You can use the following approach in order to achieve this requirement:
    protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
    {
        if (e.CommandName == RadGrid.InitInsertCommandName)
        {
            Button1.Visible = true;
        }
    }

    Hope this helps. Please give it a try and let me know if it works for you.

    Regards,
    Eyup
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top