Set Gridview DataNavigateUrlFormatString Dynamically inside User Control(ASCX)
问题 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