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

RadGrid EditFrom Template Inquiry

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Hiroaki
Top achievements
Rank 1
Hiroaki asked on 01 Apr 2015, 10:14 PM
On the following tutorial, the edit from is loaded on initial page load:

http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/form-template-update/defaultcs.aspx

How can I hide it on initial load and have it appear once user click on the "edit" text on the row of the data?

In addition, how can I use RadioButtonList in the template form with particular data selected when they click on edit link?

Lastly, If in the edit template, if there is a section where I don't want it to show (because section is not necessary to be edited), can I hide the section of edit form template on the fly?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 06 Apr 2015, 01:41 PM
Hello Hiroaki,

You can remove the following logic to achieve the first requirement:
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        RadGrid1.EditIndexes.Add(0);
        RadGrid1.Rebind();
    }
}

As for the other requirements, can you please elaborate on your specific scenario and send us sample screenshots or video demonstrating the desired behavior?

Regards,
Eyup
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Hiroaki
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or