Rob Dineen

Rob Dineen

  • NA
  • 7
  • 689

hyperLinkField value to pass to textbox on different page

Aug 23 2017 8:37 AM
I have the below hyperLinkField that I want to pass a value into a textbox onto a different page. 
  1. "PropertySearch_GridView" runat="server" AutoGenerateColumns="false" Height ="1px" Width ="300px" OnRowDataBound="GridView1_RowDataBound" OnPageIndexChanging="GridView1_PageIndexChanging" OnSorting="GridView1_Sorting" AllowPaging="true" AllowSorting="True" >  
  2.   
  3.   
  4. "Horizon_Property_Id" DataNavigateUrlFields="Horizon_Property_Id" HeaderText="Horizon_Property_Id"  
  5. DataNavigateUrlFormatString="~/Search_Property.aspx?PropertySearch_HorizonPropID={0}" SortExpression="Horizon_Property_Id"   
  6. />  
  7.   
  8. <%--"Horizon_Property_Id" ReadOnly="True" HeaderText="Horizon_Property_Id" SortExpression="Horizon_Property_Id" />--%>  
  9. "Horizon_Site_Id" ReadOnly="True" HeaderText="Horizon_Site_Id" SortExpression="Horizon_Site_Id" />  
  10. "Zone" HeaderText="Zone" ReadOnly="True" SortExpression="Zone" />  
  11. "Property_Name" HeaderText="Property_Name" ReadOnly="True" SortExpression="Property_Name" />  
  12. "Site_Name" HeaderText="Site_Name" ReadOnly="True" SortExpression="Site_Name" />  
  13. "Street" HeaderText="Street" ReadOnly="True" SortExpression="Street" />  
  14. "Town" HeaderText="Town" ReadOnly="True" SortExpression="Town" />  
  15. "PostCode" HeaderText="PostCode" ReadOnly="True" SortExpression="PostCode" />  
when I run the app and press the hyperlink, the CreateSurvey page opens, but the Create_Prop_ID textbox does not populate.

could someone help please.

Regards

Rob


Answers (3)