datagrid hyperlink column
-
i have NavigateUrl="repProblemDetails.aspx?id=DataGrid1.Items[0].Cells[1].Text" the page i navigate to becomes http://...repProblemDetails.aspx?id=DataGrid1.Items[0].Cells[1].Text i used Request.QueryString["LastName"]; on second page to get value and i can get the text id=DataGrid1.Items[0].Cells[1].Text how can i get the actual value of the cell? Thanks very much
-
i have NavigateUrl="repProblemDetails.aspx?id=DataGrid1.Items[0].Cells[1].Text" the page i navigate to becomes http://...repProblemDetails.aspx?id=DataGrid1.Items[0].Cells[1].Text i used Request.QueryString["LastName"]; on second page to get value and i can get the text id=DataGrid1.Items[0].Cells[1].Text how can i get the actual value of the cell? Thanks very much
NavigateUrl="repProblemDetails.aspx?id=" + DataGrid1.Items[0].Cells[1].Text :) [edit] Request.QueryString["id"]
"Absolution requires sacrifice" -- Dan Brown 'The Da Vinci code'
-
NavigateUrl="repProblemDetails.aspx?id=" + DataGrid1.Items[0].Cells[1].Text :) [edit] Request.QueryString["id"]
"Absolution requires sacrifice" -- Dan Brown 'The Da Vinci code'
I have but get error Literal content ('') is not allowed within a 'System.Web.UI.WebControls.DataGridColumnCollection'. :( Also, rather than defining what row/cells to look at - is there a way to pass the row/cell the same as the hyperlink i click Thanks a lot Colin
-
I have but get error Literal content ('') is not allowed within a 'System.Web.UI.WebControls.DataGridColumnCollection'. :( Also, rather than defining what row/cells to look at - is there a way to pass the row/cell the same as the hyperlink i click Thanks a lot Colin
sorry i have asp:HyperLinkColumn Text="Details" Target="_self" NavigateUrl="repProblemDetails.aspx?id=" + DataGrid1.Items[0].Cells[1].Text