New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Start in Insert Mode

HOW TO

Start RadDatForm in insert mode, without showing the ItemTemplate.

SOLUTION

Use its PreRender event to set its IsItemInserted property to true and rebind it.

Make sure you have at least an emty ItemTemplate and that the control has a data source set.

C#
protected void RadDataForm1_PreRender(object sender, EventArgs e)
{
    if (!Page.IsPostBack)
    {
        RadDataForm df = sender as RadDataForm;
        df.IsItemInserted = true;
        df.Rebind();
    }
}
In this article
HOW TOSOLUTION
Not finding the help you need?
Contact Support