I'm able to pass the parameter in the URL, however, i'm unsure of how to grab that ID on the next page.
I'm using a GridView to pass the parameter onclick, below is the code i'm using.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes["onmouseover"] = "this.style.color='Black';this.style.cursor='hand';";
e.Row.Attributes["onmouseout"] = "this.style.color='Black';";
e.Row.Attributes["onclick"] = "window.navigate('NavigatedPage.aspx?id=" + e.Row.Cells[0].Text.ToString().Trim() + "')";
}
}
i need what's after the id=
Thanks!