﻿<?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 - DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</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>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Tue, 24 Jan 2012 04:48:02 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;From the given resources, would you like to change the appearance of the UXDialogBox by removing all items and add the button into the grid? If yes, then I’m afraid that it is not the correct to way to do this. It is recommended to edit the template of UXDialogBox and set the Visibility property of the unwanted items to Collapsed. Items which have Name property will be used by the control that may lead to exception if the item is not available.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;After correctly define the resources, the next question is: does the resources will be implemented into the specific UXDialogBox only or will be implemented in the application level so that it can be reused?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If the resources will be implemented into the specific UXDialogBox only, please try to use following approach.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXDialogBox 
    x:Class="ClientUITest.Views.UXPage2"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
	xmlns:Intersoft="http://intersoft.clientui.com/schemas"
    Header="UXPage2"
    Height="Auto" Width="Auto" ContentMargin="0" CanClose="False" ControlBoxPosition="Right" ControlBoxVisibility="Hidden" &amp;gt;
    
    ...    
    &amp;lt;Intersoft:UXDialogBox.Style&amp;gt;
        &amp;lt;Style TargetType="Intersoft:UXDialogBox"&amp;gt;
            &amp;lt;Setter Property="[PropertyName]" Value="[Value]"&amp;gt;&amp;lt;/Setter&amp;gt;
        &amp;lt;/Style&amp;gt;
    &amp;lt;/Intersoft:UXDialogBox.Style&amp;gt;    
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;If the resources are going to be reused, please try to define it in the application level, for example inside the ResourceDictionary of Assets\Styles\PageStyles.xaml.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;ClientUITest\Views\UXPage2.xaml&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXDialogBox 
    x:Class="ClientUITest.Views.UXPage2"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
	xmlns:Intersoft="http://intersoft.clientui.com/schemas"
    Header="UXPage2"
    Height="Auto" Width="Auto" ContentMargin="0" CanClose="False" ControlBoxPosition="Right" ControlBoxVisibility="Hidden" Style="{StaticResource DialogStyle1}" &amp;gt;
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;ClientUIWPFDataApp7\Assets\Styles\PageStyles.xaml&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:Intersoft="http://intersoft.clientui.com/schemas"&amp;gt;

    &amp;lt;Style TargetType="Intersoft:UXDialogBox" x:Key="DialogStyle1"&amp;gt;
        &amp;lt;Setter Property="[PropertyName]" Value="[Value]"/&amp;gt;
    &amp;lt;/Style&amp;gt;
    ...&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Fri, 20 Jan 2012 13:37:09 GMT</pubDate><dc:creator>jesse.wells@arlp.com</dc:creator><description>&lt;p&gt;I guess there really are no steps. I drop the code I provided on the page and it errors. It doesn't matter if I assign it in the xaml or .cs file. It does seem you are getting an error also. Please provide a solution that doesn't give you an error runtime or design time and we will go from there.&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Thu, 19 Jan 2012 07:09:35 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I tried to add the style into the UXPage2.xaml page and get “Provide value on 'System.Windows.StaticResourceExtension' threw an exception.” exception during runtime. The “object reference not set” exception is not appearing on my local test.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I’m afraid that I might be missing some steps to reproduce the issue. Could you please provide a step-by-step guide that I can use to observe the problem?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Tue, 17 Jan 2012 13:43:23 GMT</pubDate><dc:creator>jesse.wells@arlp.com</dc:creator><description>&lt;p&gt;This does work and thank you. I have one more question. When I try to style the dialog that shows from the products screen I always get object reference not set. Something similar to &lt;/p&gt;&lt;pre style="font-family: consolas; background: white; color: black; font-size: 13px"&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;UXDialogBox.Resources&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;        &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Style&lt;/span&gt;&amp;nbsp;&lt;span style="color: red"&gt; TargetType&lt;/span&gt;&lt;span style="color: blue"&gt;="{&lt;/span&gt;&lt;span style="color: #a31515"&gt;x&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;Type&lt;/span&gt;&lt;span style="color: red"&gt; Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: red"&gt;UXDialogBox&lt;/span&gt;&lt;span style="color: blue"&gt;}&lt;/span&gt;&lt;span style="color: blue"&gt;"&lt;/span&gt;&lt;span style="color: blue"&gt; &amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;            &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Setter&lt;/span&gt;&lt;span style="color: red"&gt; Property&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;"Template"&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;                &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Setter.Value&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;                    &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;ControlTemplate&lt;/span&gt;&lt;span style="color: red"&gt; TargetType&lt;/span&gt;&lt;span style="color: blue"&gt;="{&lt;/span&gt;&lt;span style="color: #a31515"&gt;x&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;Type&lt;/span&gt;&lt;span style="color: red"&gt; Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: red"&gt;UXDialogBox&lt;/span&gt;&lt;span style="color: blue"&gt;}&lt;/span&gt;&lt;span style="color: blue"&gt;"&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;                        &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Grid&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;                            &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515"&gt;Button&lt;/span&gt;&lt;span style="color: red"&gt; Content&lt;/span&gt;&lt;span style="color: blue"&gt;=&lt;/span&gt;&lt;span style="color: blue"&gt;"TEST"&lt;/span&gt;&lt;span style="color: blue"&gt; /&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;                        &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Grid&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;                    &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;ControlTemplate&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;                &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Setter.Value&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;            &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Setter&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: #a31515"&gt;        &lt;/span&gt;&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Style&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color: blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #a31515"&gt;Intersoft&lt;/span&gt;&lt;span style="color: blue"&gt;:&lt;/span&gt;&lt;span style="color: #a31515"&gt;UXDialogBox.Resources&lt;/span&gt;&lt;span style="color: blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; background: white; color: black; font-size: 13px"&gt;&lt;span style="color: blue"&gt;Please use the previously attached project to illustrate.&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; background: white; color: black; font-size: 13px"&gt;&lt;span style="color: blue"&gt;Thanks&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: consolas; background: white; color: black; font-size: 13px"&gt;&lt;span style="color: blue"&gt;&lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="font-family: consolas; background: white; color: black; font-size: 13px"&gt;&lt;span style="color: blue"&gt;Seems I get the same error trying to add a Style for the UXWindow also BTW.&lt;/span&gt;&lt;/pre&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Tue, 17 Jan 2012 06:45:29 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed the modified files as attachment. Please have the files evaluated on your end and let us know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Mon, 16 Jan 2012 08:22:02 GMT</pubDate><dc:creator>jesse.wells@arlp.com</dc:creator><description>&lt;p&gt;Here is the solution without assembly signing.&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Mon, 16 Jan 2012 04:07:31 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I’m having difficulty to run the project on my local test since it requires the password of the sn file.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;Cannot import the following key file: ClientUITest.snk.pfx. The key file may be password protected. To correct this, try to import the certificate again or manually install the certificate to the Strong Name CSP with the following key container name: VS_KEY_E40C65593B360D26&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Look forward to hearing back from you.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Thu, 12 Jan 2012 13:07:52 GMT</pubDate><dc:creator>jesse.wells@arlp.com</dc:creator><description>&lt;p&gt;I have attached a sample project that has Crew and Products in the menu. On Crew you can select add or edit and a dialog is show. However, when you select products and click the button at the top to show a dialog, it errors. What do I need to do to allow myself to show a dialog for products?&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Wed, 11 Jan 2012 22:04:12 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Actually there should be no problem for a MVVM-pattern project to have its views and viewmodels located in different projects as long as we have correctly add the reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;The &lt;strong&gt;Contacts MVVM C# Sample&lt;/strong&gt; project shows the usage of DialogBoxServiceProvider in a MVVM-pattern project. Please point your mouse to start &gt; All Programs &gt; Intersoft WebUI Studio 2011 R2 &gt; WebUI Studio for WPF &gt; Development Samples &gt; Contacts MVVM C# Sample. You can also check the ClientUI documentation, such as the &lt;strong&gt;Walkthrough: Create Contact Editing Form Using MVVM and Commanding&lt;/strong&gt;, for more detail information.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I’m willing to advise you further but in order to do so I would need you to elaborate on your specific scenario and possibly give me a simple sample of project and step-by-step guide that I can use to observe the problematic behavior.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>DialogBoxServiceProvider for WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/DialogBoxServiceProvider-for-WPF/</link><pubDate>Wed, 11 Jan 2012 16:04:29 GMT</pubDate><dc:creator>jesse.wells@arlp.com</dc:creator><description>&lt;p&gt;I am trying to implement the DialogBoxServiceProvider into my own project from one of the examples. Problem is I keep getting a null dialog window back. My view and viewmodels are logically split into different libraries. Can you provide me an example of how to use the DialogBoxServiceProvider when your views and viewmodels are in different projects using MVVM pattern?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item></channel></rss>