﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - Hyperlink not working</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Hyperlink-not-working/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Hyperlink not working</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Hyperlink-not-working/</link><pubDate>Mon, 12 May 2014 05:23:26 GMT</pubDate><dc:creator>zen8019</dc:creator><description>&lt;p&gt;Thanks Yudi. I have downloaded and see you example working. I have added into my code and soem work and some doesn't. Just to clarify my requirement - in a grideview I wany a cell (column) to show a hyperlink (insead of a text field) - the use can click the hyperlink, go into MVVM code and then what I intended to do is filter the grid based on the value of that cell&lt;br&gt;&lt;/p&gt;&lt;p&gt;For exampe the grid show some records returned - one of the columns is a subject field e.g.Football, Cricket, Tennis. The user can then click that column saying say Tennis and I will go into MVVM code and return a new query based on records with a subject of Tennis.&lt;/p&gt;&lt;p&gt;I have added some of your code and the code does go through the CellTemplateSelector code and appears to return the template, however notyhing happens when I click the column.&lt;/p&gt;&lt;p&gt;I have attached my code - the gridview uses a intersoft:UXGridView.RowTemplateso this may be making it not work.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;I have attached some code - relevant part are marked&lt;/p&gt;&lt;p&gt;// MORE CODE HERE ===================================================================================================================&lt;br&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Hyperlink not working</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Hyperlink-not-working/</link><pubDate>Mon, 12 May 2014 00:40:14 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I created a simple Silverlight project using &lt;em&gt;Intersoft ClientUI MVVM Data Application (WCF RIA)&lt;/em&gt; project template. Products.xaml page is modified to show Products using UXGridView. The UXGridView uses a different template for the UnitsOnOrder cell of which value is zero.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The template uses TextBlock and UXButton. In this sample, the ToggleTopButtonsCommand is defined in the ViewModel. When user clicks the button, a message box will appear.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I uploaded the sample in &lt;a href="https://onedrive.live.com/download?resid=A29317908CEA783A%21394" target="_blank"&gt;here&lt;/a&gt;. Please kindly have the sample evaluated on your end and let us know whether this helps or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;If the reported problem still persist, could you please inform us the version of ClientUI that you use so? Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Hyperlink not working</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Hyperlink-not-working/</link><pubDate>Sat, 10 May 2014 12:16:18 GMT</pubDate><dc:creator>zen8019</dc:creator><description>I tried that but nothing happened when clicked the button or hyperlink.  
The cell template selector example you mention does not do anything when clicked as well.</description></item><item><title>Hyperlink not working</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Hyperlink-not-working/</link><pubDate>Wed, 07 May 2014 22:52:12 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I add UXButton as UXGridView’s CellTemplateSelector, such as shown in &lt;a href="#/UXGridView/Styling/CellTemplateSelector" target="_blank"&gt;UXGridView Cell Template Selector sample&lt;/a&gt;. The sample shows how to use a different template for the UnitInStock cell of which value less than 20.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Following snippet code shows how to define UXButton and bind its command.&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&amp;lt;DataTemplate x:Key="WarningTemplate"&amp;gt;
    &amp;lt;StackPanel Orientation="Horizontal" Margin="4,0"&amp;gt;
        &amp;lt;TextBlock Text="{Binding UnitsOnOrder}" VerticalAlignment="Center"
                    Foreground="Red" /&amp;gt;
        &amp;lt;Intersoft:UXHyperlinkButton Margin="4,0" Content="Reorder" Height="24"
                                        ShowUnderlineOnHover="True"
                                        Foreground="#FF1168CE"/&amp;gt;
        &amp;lt;Intersoft:UXButton  Width="40" DisplayMode="Content"
                                Content="Search by Keyword"
                                Command="{Binding DataContext.ToggleTopButtonsCommand,RelativeSource={RelativeSource FindAncestor,AncestorType=Intersoft:UXGridView}}" /&amp;gt;
    &amp;lt;/StackPanel&amp;gt;
&amp;lt;/DataTemplate&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The code shows how to use FindAncestor mode to bind the Command property of UXButton inside DataTemplate UXGridView. The binding is performed using FindAncestor mode of ClientUI Binding Framework.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Hyperlink not working</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Hyperlink-not-working/</link><pubDate>Tue, 06 May 2014 23:20:11 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Richard,&lt;/p&gt;&lt;p&gt;We are sorry for the late response. Regarding your issue, you mean the binding does not work? May I take a look how you do your binding in your case?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Hyperlink not working</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Hyperlink-not-working/</link><pubDate>Wed, 30 Apr 2014 04:40:22 GMT</pubDate><dc:creator>zen8019</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I have a Gridview control using a template - &lt;/p&gt;&lt;pre&gt;&amp;lt;intersoft:UXHyperlinkButton  Content="{Binding Subject}"  Command="{Binding SubjectCommand}" /&amp;gt;
&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;&amp;lt;intersoft:UXButton  Width="40" DisplayMode="Content" Content="Search by Keyword"  Command="{Binding ToggleTopButtonsCommand}" CommandParameter="Keyword"  /&amp;gt;
&lt;/pre&gt;
&lt;p&gt; I have tried two approaches (hyperlink and button) within the template but the click event does not work with either of them - can you please advise.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Thanks&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>