title: Access asp.net gridview edit control
body: <p>I would like to access a calendar control through c# for when a gridview row is edited. However, I am unsure of how to access this through C# behind. </p>
  
  <p>I would like to do the following: </p>
  
  <pre><code>cal_SelectionChanged(object sender, EventArgs e)
  {
  date = cal.SelectedDate
  
  blah blah...
  }
  </code></pre>
  
  <p>However, as the control is in the gridview edit template, I cannot find a way to access this to C#, compared to if the calendar was just an element on a normal asp.net page.</p>
  
  <p>Thanks</p>