Home All Groups Group Topic Archive Search About

Re: Binding two fields in the DataNavigateUrlFormatString

Author
30 Mar 2006 11:06 AM
caffienerush@gmail.com
Hi Genc,

Please post the other way of binding multiple parameters to
DataNavigateUrl because I think my idea of replacing the parameter
during ItemBound is a bit of a bodge.

Regards,
Andy

Author
30 Mar 2006 11:18 AM
Patrick.O.Ige
You can do this
<asp:HyperLink runat="server" Text="View"
          NavigateUrl='<%# "urpage.aspx?ID=" & _
                             Container.DataItem("urID") & _
                             "&showpage=" & Container.DataItem("secondID")
%>' />
Hope that helps
Patrick


Show quoteHide quote
"caffiener***@gmail.com" <CaffieneR***@gmail.com> wrote in message
news:1143716793.189565.299810@i40g2000cwc.googlegroups.com...
> Hi Genc,
>
> Please post the other way of binding multiple parameters to
> DataNavigateUrl because I think my idea of replacing the parameter
> during ItemBound is a bit of a bodge.
>
> Regards,
> Andy
>
Author
30 Mar 2006 5:22 PM
caffienerush@gmail.com
Thanks. And why did I not think of it?

Regards,
Andy