I'm using a master page.
I've a DetailsView which I would like to pass an ID across to another page but cannot figure out how to do it!
My ContenPlaceHolder is called MainContent, DetailsView is called DetailsView1
This is what I have:
<%@ PreviousPageType VirtualPath="~/complaints/WorkFlow02.aspx" %>
if (PreviousPage != null && PreviousPage.IsCrossPagePostBack)
ID = (DetailsView)Page.PreviousPage.FindControl("ID");
//GridView iValue = PreviousPage.FindControl("complaintsGridView") as GridView;
lblGetID.Text = ID.ToString();
Can anyone help?
View Complete Post