Hi,
I am currently using Visual Web Developer 2005 to work on an ASP.net test site, and i have a master detail sort of setup with a Gridview and Formview to show, select, edit and delete. When I move this all within a loginview, it then tells me my Formview and Gridview are not declared. I have been playing with it for a few days and cannot seem to find where to move it or what to change in the code for it to work again.
<script runat="server">
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
FormView1.PageIndex = GridView1.SelectedIndex + (GridView1.PageIndex * GridView1.PageSize)
End Sub
</script>