T
Tor Inge Rislaa
When I insert the complete querystring into the NavigateUrl tag this
hyperlink works fine within the GridView.
<asp:HyperLinkField HeaderText=" Details"
NavigateUrl="~/Admindetail.aspx?ku_id=1" Text="Details"
If I try to let the parameter data be provided dynamically something strange
happen. I can see that the dynamical data is provided, with the right ku_id,
but the aspx file is removed from the URL
<asp:HyperLinkField DataNavigateUrlFields="ku_id" HeaderText="Details"
NavigateUrl="~/Admindetail.aspx?ku_id={0}" Text="Details" />
The first code gives something like
www.mysite.com/Admindetail.aspx?ku_id=1
this works OK
The second code gives something like
www.mysite.com/1
Am I configuring it incorrect?
TIRislaa
hyperlink works fine within the GridView.
<asp:HyperLinkField HeaderText=" Details"
NavigateUrl="~/Admindetail.aspx?ku_id=1" Text="Details"
If I try to let the parameter data be provided dynamically something strange
happen. I can see that the dynamical data is provided, with the right ku_id,
but the aspx file is removed from the URL
<asp:HyperLinkField DataNavigateUrlFields="ku_id" HeaderText="Details"
NavigateUrl="~/Admindetail.aspx?ku_id={0}" Text="Details" />
The first code gives something like
www.mysite.com/Admindetail.aspx?ku_id=1
this works OK
The second code gives something like
www.mysite.com/1
Am I configuring it incorrect?
TIRislaa