V
Vincent
Hi, I have a problem when I put the 3rd field into a hyperlink field
it does not show up. Here's my example:
This works and the url is:
http://gl.aspx?whs=1&dept=02
<asp:HyperLinkField DataNavigateUrlFields="Whs-num,Dept,trx-date"
DataNavigateUrlFormatString="~/gl.aspx?whs={0}&dept={1}"
DataTextField="Amount" HeaderText="Sku Value"
NavigateUrl="~/MemberPages/Accounting/glbalictrxtrans.aspx"
DataTextFormatString="{0:c}" >
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</asp:HyperLinkField>
but if I add a 3rd field (see below) to the
datanavigateurlformatstring This does not work and the url it produces
is:
http://gl.aspx
with nothing after it.
<asp:HyperLinkField DataNavigateUrlFields="Whs-num,Dept,trx-date"
DataNavigateUrlFormatString="~/gl.aspx?whs={0}&dept={1}&date={2}"
DataTextField="Amount" HeaderText="Sku Value"
NavigateUrl="~/MemberPages/Accounting/glbalictrxtrans.aspx"
DataTextFormatString="{0:c}" >
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</asp:HyperLinkField>
Any help would be appreciated. I should note that I use VS 2005 to
create the page. Thansk. vin.
it does not show up. Here's my example:
This works and the url is:
http://gl.aspx?whs=1&dept=02
<asp:HyperLinkField DataNavigateUrlFields="Whs-num,Dept,trx-date"
DataNavigateUrlFormatString="~/gl.aspx?whs={0}&dept={1}"
DataTextField="Amount" HeaderText="Sku Value"
NavigateUrl="~/MemberPages/Accounting/glbalictrxtrans.aspx"
DataTextFormatString="{0:c}" >
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</asp:HyperLinkField>
but if I add a 3rd field (see below) to the
datanavigateurlformatstring This does not work and the url it produces
is:
http://gl.aspx
with nothing after it.
<asp:HyperLinkField DataNavigateUrlFields="Whs-num,Dept,trx-date"
DataNavigateUrlFormatString="~/gl.aspx?whs={0}&dept={1}&date={2}"
DataTextField="Amount" HeaderText="Sku Value"
NavigateUrl="~/MemberPages/Accounting/glbalictrxtrans.aspx"
DataTextFormatString="{0:c}" >
<ItemStyle HorizontalAlign="Right" />
<FooterStyle HorizontalAlign="Right" />
</asp:HyperLinkField>
Any help would be appreciated. I should note that I use VS 2005 to
create the page. Thansk. vin.