This is a migrated thread and some comments may be shown as answers.

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

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
karthik
Top achievements
Rank 1
karthik asked on 26 Jun 2015, 07:40 AM

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

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 01 Jul 2015, 06:42 AM
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
Tags
Grid
Asked by
karthik
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or