locked
Help NavigateUri RRS feed

  • Question

  • hi,

    I develop an application for silverlight CRM

    I store in a Datagrid, data from the entity.

    I set up a hyperlink button that will allow me to open the form of that entity.

    When I do this in the link of NavigateUri it's work because i know the value of my variable "obth_stationid":

    <HyperlinkButton Content="(view)" Tag="{Binding Path=obth_stationid}"                 
    NavigateUri="http://jxsrvocp/obth-test/main.aspx?etn=obth_station&amp;pagetype=entityrecord&amp;id=c5ae3fef-c2c9-e111-9a0b-082e5f31caf3"
     TargetName="ContentFrame" VerticalAlignment="Center"></HyperlinkButton>

    But I would like to insert the value of my variable "obth_stationid"(that i get the value in my datagrid) iin the link of NavigateUri

    i try :

    <HyperlinkButton Content="(view)" Tag="{Binding Path=obth_stationid}"                 
     NavigateUri="{Binding  Path=obth_stationid, StringFormat='http://jxsrvocp/obth-test/main.aspx?etn=obth_station&amp;pagetype=entityrecord&amp;id={0}'}"
     TargetName="ContentFrame" VerticalAlignment="Center"></HyperlinkButton>

    But no results

    A solution please ?

    Thanks

    Friday, July 27, 2012 10:12 AM