Localizar eventos de ListView en diseño
Hola:
Estoy siguiendo el libro: ASP.NET 3.5 for Dummies y al seguir los pasos para un ejemplo en la página 125 del capítulo 8: Using LINQ to SQL and the LinqDataSource, no encuentro nada que haga referencia a estas instrucciones en mi Visual Web Developer 2010 Express:
Follow these steps to insert code into the Deleting event handler:
1. In Source view, put the cursor inside the
<script></script>
tags.
2. In the upper-left of the editing pane, select LinqDataSource1 from the
drop-down list.
3. From the upper-right of the editing pane, select Deleting from the
drop-down list.
This creates a skeleton handler routine for the Deleting event that looks like the following (reformatted with line breaks):
Protected Sub LinqDataSource1_Deleting _
(ByVal sender As Object, _
ByVal e As System.Web.UI.WebControls. _
LinqDataSourceDeleteEventArgs)
End Sub
It also adds a reference to the routine inside the markup fo
LinqDataSource1 like this: OnDeleting="LinqDataSource1_Deleting"
Agradecería que me indicaras como puedo hacer para ver en mi VWD las opciones para seleccionar el objeto (en este caso ListView) y sus eventos (en este caso Deleting).
Gracias.
Estoy siguiendo el libro: ASP.NET 3.5 for Dummies y al seguir los pasos para un ejemplo en la página 125 del capítulo 8: Using LINQ to SQL and the LinqDataSource, no encuentro nada que haga referencia a estas instrucciones en mi Visual Web Developer 2010 Express:
Follow these steps to insert code into the Deleting event handler:
1. In Source view, put the cursor inside the
<script></script>
tags.
2. In the upper-left of the editing pane, select LinqDataSource1 from the
drop-down list.
3. From the upper-right of the editing pane, select Deleting from the
drop-down list.
This creates a skeleton handler routine for the Deleting event that looks like the following (reformatted with line breaks):
Protected Sub LinqDataSource1_Deleting _
(ByVal sender As Object, _
ByVal e As System.Web.UI.WebControls. _
LinqDataSourceDeleteEventArgs)
End Sub
It also adds a reference to the routine inside the markup fo
LinqDataSource1 like this: OnDeleting="LinqDataSource1_Deleting"
Agradecería que me indicaras como puedo hacer para ver en mi VWD las opciones para seleccionar el objeto (en este caso ListView) y sus eventos (en este caso Deleting).
Gracias.
1 Respuesta
Respuesta de Roberto Alvarado
1