Posted on: 3/23/2015 7:18:40 PM | Views : 709

A work associate told me that when I add an object like a Gridview or Detailsview to my .aspx page, I should be seeing more in the code behind it on the .cs or designer.cs files. Below is a test application with a GridView and DetailsView added.Can you verifiy that I am missing code and how I can turn this feature on? I am running VS 2008. All comments appreciated!  .apsx .cs and .degigner.cs code below.
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Test { public partial class Code_Behind_Test : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } } } //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727. ...

Go to the complete details ...