Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Telerik RadGrid Question
Message
Information générale
Forum:
ASP.NET
Catégorie:
Produits tierce partie
Titre:
Telerik RadGrid Question
Divers
Thread ID:
01453620
Message ID:
01453620
Vues:
101
For anyone who's familiar with Telerik's RadGrid...

I have placed all rows into EditMode by setting AllowMultiRowEdit = true, then doing this:
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
    foreach (GridItem item in RadGrid1.MasterTableView.Items)
    {
        if (item is GridEditableItem)
        {
            GridEditableItem editableItem = item as GridDataItem;
            editableItem.Edit = true;
        }
    }
    RadGrid1.Rebind();
}
The problem now is - I don't see any way to force the grid to save changes. I tried:
protected void cmdSaveChanges_Click(object sender, EventArgs e)
{
    SqlDataSource1.Update();
}
But it didn't work. How do I save changes in the grid? I do NOT want Edit or Update button columns in the grid.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Répondre
Fil
Voir

Click here to load this message in the networking platform