Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GridView
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
GridView
Divers
Thread ID:
01170002
Message ID:
01170002
Vues:
53
Hi All,

In my GridView I have a field that I converted to a Template Field. In EditItemTemplate I added a link button (lbDocumentDate) and trying to add some Java Script to it. I addedd the following code to the Grid View RowEditing event:
Dim myLinkButton As LinkButton
myLinkButton = grvFinanceReviewChecklist.Rows(e.NewEditIndex).Cells(5).FindControl("lbDocumentDate")
myLinkButton.Attributes.Add("onclick", "some java")
This code failes because lbDocumentDate is not found. Does anyone know why ?

Thanks,
Daniel
Répondre
Fil
Voir

Click here to load this message in the networking platform