C
Craig G
i was using the following on a serverside button on a form
If (Not Page.IsPostBack) Then
Me.BtnDelete.Attributes.Add("onclick","return confirm('Are you sure you want
to delete?');")
End If
but was wondering how i would go about doing the same for a button within a
column? i cannot see btnDelete in the code-behind page
Cheers,
Craig
If (Not Page.IsPostBack) Then
Me.BtnDelete.Attributes.Add("onclick","return confirm('Are you sure you want
to delete?');")
End If
but was wondering how i would go about doing the same for a button within a
column? i cannot see btnDelete in the code-behind page
Cheers,
Craig