Exemple #1
0
        protected void HandleItemDoubleClick(object sender, PivotViewerItemDoubleClickEventArgs e)
        {
            string source = Application.Current.Host.Source.AbsoluteUri;
            string root   = source.Substring(0, source.ToLower().IndexOf("clientbin"));

            HtmlPage.Window.Navigate(new Uri(string.Format("{0}/photo?photoID={1}", root, ((PivotViewerItem)e.Item).Id)), "_blank");
        }
 protected void HandleItemDoubleClick(object sender, PivotViewerItemDoubleClickEventArgs e)
 {
     string source = Application.Current.Host.Source.AbsoluteUri;
     string root = source.Substring(0, source.ToLower().IndexOf("clientbin"));
     HtmlPage.Window.Navigate(new Uri(string.Format("{0}/photo?photoID={1}", root, ((PivotViewerItem)e.Item).Id)), "_blank");
 }