Not really, because I am hoping for
...
RadioButton rbtSortTitleDetail = new RadioButton();
...
rbtSortTitleDetail = HeaderTemplate.FindControl("rbtSortTitle") as RadioButton;
...
if (rbtSortTitleDetail.Checked) { command.Parameters.AddWithValue("@OrderList", "CourseTitle"); }
....
SqlDataReader drList = command.ExecuteReader();
...
lstGroup.Add
(new clSingleItem
...
rptMain.DataSource = lstGroup;
rptMain.DataBind();
...
What you are showing (as I understand it) is during the databind, and I am hoping to get it before ANY of the data is called for so I can alter the data order before getting it.
Am I making sense?
Thanks,
Wade Tripp (Cape and Mask)