i have a issue that i dont know if it can be done.
i have an in an aspx page , that loads dedpends on user activity a user control (ascx).
the user control has a gridview which one of my columns are hyperlink.
<asp:HyperLinkField DataNavigateUrlFormatString='<%page %>'
DataTextField="ReqId" HeaderText="Request No." DataNavigateUrlFields="ReqId" />
i want that on click of that hyperlink , it will direct to the same page with parameters, but i cant do it right. for some reason so i tried this one:
<%string page = Page.Request.Path + "reqid={0}"; %>
but in the page the link refers to %page% as a string . can someone pls direct me how to it.
p.s it used to work when it was like that and the ascx was in root folder of the solution, the problem start when i moved all my controls to a folder in the root named "Controls"
<asp:HyperLinkField DataNavigateUrlFormatString="?reqid={0}"
DataTextField="ReqId" HeaderText="מספר בקשה" DataNavigateUrlFields="ReqId" />
thanks in advance.