User Profile & Activity

Jeejee Unwalla Member
Page
of 2

Hi Glenn,

Along with the previous question I am having a problem with the GridPresenter. It is not displaying anything in the rows. The rows are there because I can highlight them but the Column content is not displayed.

Additional to that there also seems to be an issue whereby if the list is empty it continually says "Loading..." at the bottom.

Is there any possibility of getting a slightly improved version which will allow us to keep programming in the interim.

Thanks & Regards,

Jeejee

Hi Glenn,

When you say the R2 release is that the one expected in mid August or is it beyond that?

Thanks

Jeejee

Hi,

Does the GridPresenter work with DataPresenterColumn at the moment?

I am attempting something like:

<Intersoft:GridPresenter x:Name="PresenterGrid1" 
 Intersoft:DockPanel.Dock="Top" 
 ItemsSource="{Binding AttachmentTypes}" 
 SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay}" 
 >
<Intersoft:GridPresenter.Columns>
<Intersoft:DataPresenterColumn Caption="Test" Header="Test" 
		DataMemberField="AttachmentTypeName"/>
</Intersoft:GridPresenter.Columns>
</Intersoft:GridPresenter>
Would that work? I am currently getting an exception being thrown when running the application
Thanks
Jeejee

Thanks Jimmy/Glenn,

I will try and let you know how it goes.

Regards,

Jeejee

Posted: July 29, 2010 9:59 AM

Thanks. That does help with planning.

Hi Jimmy,

As you mentioned in the previous reply to this post please could you provide details on how I could "bind the presenters to MVVM using an alternative solution such as using row template".

I really would like to use IntersoftPt controls where possible and do not want to start using another vendors controls mixed in with your.

Thanks

Jeejee

Posted: July 23, 2010 4:12 AM

Hi Glenn,

That is exactly what is NOT working. I know about the URI Mapping and had had tested with several different forms of the NavigateUri value. It will NOT work when it is in the submenu.

After some further investigation I found one way that does work but I think ignores the Uri Mapper. It is to use "/Default.aspx#/CompanyView". This is the only thing that seems to work. As there is a temporary workaround for this I do not have a problem at the moment but there is obviously some bug related to submenus and the URI Mapper.

I have some additional questions regarding the submenu:

1. How can I get the text below the StackButton to appear. It seems to NOT appear whatever I try.

2. How can I get the Text to appear under each Item in the submenu:

The code is:

<Intersoft:UXStackButton Width="50" Text="Master Files" StaysOpen="False" TextImageRelation="ImageAboveText" Icon="Assets/Images/CustomersFolder.png" StackMode="GridStyle" StackDockPosition="Right"> <Intersoft:UXStackButton Text="Company" TextImageRelation="ImageAboveText" Icon="/JTS2;component/Assets/Images/my_contacts.png" NavigateUri="/Default.aspx#/CompanyView" /><Intersoft:UXStackButton Text="Designations" TextImageRelation="ImageAboveText" Icon="/JTS2;component/Assets/Images/notepad.png" NavigateUri="/Default.aspx#/DesignationView" /><Intersoft:UXStackButton Text="Attachment Types" TextImageRelation="ImageAboveText" Icon="/JTS2;component/Assets/Images/notepad.png" NavigateUri="/Default.aspx#/AttachmentTypeView" /></Intersoft:UXStackButton>

Thanks for your help so far

Regards,

Jeejee

Posted: July 22, 2010 11:00 AM

Hi Glenn,

There is still a problem regardless of which combination I try. As you can see from the inserted code I have tried various mechanisms to get the UXDock to work with a "submenu". I can get it to display but the NavigateUri absolutely refuses to work from the submenu. It works correctly when the item is on the UXDock (but does not when it is within a StackButton or StackItem. The UriMapping seems to be the issue. Please see my modified MainPage.xaml (which I have inserted as code) and propose a solution for me.

Thanks

Jeejee

<Intersoft:UXPage 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"xmlns:Intersoft="http://intersoft.clientui.com/schemas"mc:Ignorable="d"x:Class="JTS2.MainPage" Title="Main Application Page"d:DesignWidth="1024" d:DesignHeight="768"><Intersoft:UXPage.Resources><DataTemplate x:Key="AdditionalCommandTemplate"><Intersoft:UXToolGroup><Intersoft:UXTextBox Command="Intersoft:NavigationCommands.Navigate" Style="{StaticResource AddressBarStyle}" MinWidth="150" Text="Address Bar" ToolTipService.ToolTip="Current Page" Margin="4,0,0,0"/><Intersoft:UXSeparator Style="{StaticResource ToolBarSeparator}"/><Intersoft:UXToolBarButton Content="Email" DisplayMode="Image" VerticalAlignment="Center" HorizontalAlignment="Left" Icon="Assets/Images/Email.png" ToolTipService.ToolTip="Custom Command 1"/><Intersoft:UXToolBarButton Content="Print" DisplayMode="Image" VerticalAlignment="Center" HorizontalAlignment="Left" Icon="Assets/Images/Print.png" ToolTipService.ToolTip="Custom Command 2"/></Intersoft:UXToolGroup></DataTemplate><DataTemplate x:Key="FrameBusyTemplate"><Grid Opacity="0.8"><Border BorderThickness="1" HorizontalAlignment="Center" VerticalAlignment="Center" CornerRadius="8" Background="Black"><Intersoft:UXProgressBar HorizontalAlignment="Left" Width="150" Height="18" IsIndeterminate="True" Margin="20"/></Border></Grid></DataTemplate></Intersoft:UXPage.Resources><Grid x:Name="LayoutRoot" Background="{StaticResource MainPageBackground}"><Intersoft:DockPanel FillChildMode="Custom"><StackPanel x:Name="HeaderContainer" Intersoft:DockPanel.Dock="Top"><Intersoft:GlassLabel x:Name="GlassPanel" Style="{StaticResource GlassBarStyle}"><Grid Height="34"><Intersoft:UXNavigationBar x:Name="NavigationBar" HorizontalContentAlignment="Stretch" HorizontalAlignment="Left" AdditionalToolGroup="{StaticResource AdditionalCommandTemplate}" HomeUri="/Home"/><StackPanel Margin="3,0,0,0" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center"><!--<test:LoginStatus HorizontalContentAlignment="Right" Height="25" Width="145" />--><Intersoft:UXSeparator Margin="10,3,10,3" Style="{StaticResource ToolBarSeparator}"/><TextBlock Text="JMS" Margin="2,0,0,0" FontSize="14" Foreground="{StaticResource BrandingColor2}" VerticalAlignment="Center" /></StackPanel></Grid></Intersoft:GlassLabel></StackPanel><Intersoft:UXFrame x:Name="ContentFrame" Intersoft:DockPanel.Dock="Top" Margin="0,10,0,0" EnablePageTransition="True" DefaultTransitionEffect="FlipLeft" AutoDetectNavigationDirection="True" NewTransitionEffect="FlipLeft" AllowNestedFrameNavigation="True" UseGlobalShell="True" RedirectUri="/Login" User="{Binding User, Source={StaticResource Shell}}" IsAuthenticating="{Binding IsAuthenticating, Source={StaticResource Shell}}" BusyIndicatorTemplate="{StaticResource FrameBusyTemplate}" Intersoft:DockPanel.IsFillElement="True"><Intersoft:UXFrame.UriMapper><Intersoft:UriMapper><Intersoft:UriMapping Uri="" MappedUri="/Views/Home.xaml"/><Intersoft:UriMapping Uri="/Customers/{ID}" MappedUri="/Views/Customers.xaml" IsChildNavigation="True"/><Intersoft:UriMapping Uri="/Error" MappedUri="/ErrorPage.xaml"/><Intersoft:UriMapping Uri="/Login" MappedUri="/Views/Login/LoginForm.xaml"/><Intersoft:UriMapping Uri="/Logout" MappedUri="/Views/Login/Logout.xaml"/><Intersoft:UriMapping Uri="/Register" MappedUri="/Views/Login/RegisterForm.xaml"/><Intersoft:UriMapping Uri="/{page}" MappedUri="/Views/{page}.xaml"/></Intersoft:UriMapper></Intersoft:UXFrame.UriMapper></Intersoft:UXFrame><Grid Intersoft:DockPanel.Dock="Right"><Intersoft:UXDock x:Name="DockingControl" ButtonReflectionVisibility="Visible" ButtonSize="50" Opacity="0.6" AllowDrop="True" DockPosition="Right" MagnifiedSize="60" AutoHide="True" GlowingEffectEnabled="True" SpotlightEffectEnabled="True"><!--<Intersoft:UXStackButton Content="Master Files" Icon="/JTS2;component/Assets/Images/CustomersFolder.png" StackMode="GridStyle" TextImageRelation="ImageAboveText">

<Intersoft:UXStackItem Text="Test" Icon="/JTS2;component/Assets/Images/Home.png" NavigateUri=""/>

<Intersoft:UXStackItem Text="Company" Icon="/JTS2;component/Assets/Images/my_contacts.png" NavigateUri="/CompanyView" />

<Intersoft:UXStackItem Text="Designations" Icon="/JTS2;component/Assets/Images/notepad.png" NavigateUri="/DesignationView" />

</Intersoft:UXStackButton>-->

<Intersoft:UXStackButton Content="Master Files" Icon="/JTS2;component/Assets/Images/CustomersFolder.png" StackMode="GridStyle" StackDockPosition="Left" TextImageRelation="ImageAboveText"><Intersoft:UXStackButton Text="Test" Icon="/JTS2;component/Assets/Images/Home.png" NavigateUri="/Views/Home.xaml"/><Intersoft:UXStackButton Text="Company" Icon="/JTS2;component/Assets/Images/my_contacts.png" NavigateUri="/Views/CompanyView.xaml" /><Intersoft:UXStackButton Text="Designations" Icon="/JTS2;component/Assets/Images/notepad.png" NavigateUri="/Views/DesignationView.xaml" /></Intersoft:UXStackButton><!--<Intersoft:UXDesktopDockButton Text="My Contacts Application" Icon="../Assets/Dock/my_contacts.png" ApplicationUri="{Binding Path=ContactsUri}" />--><Intersoft:UXDockSeparator/><Intersoft:UXDesktopDockButton Text="Explorer" Icon="/JTS2;component/Assets/Images/explorer.png"/><Intersoft:UXDesktopDockButton Text="Notepad" Icon="/JTS2;component/Assets/Images/notepad.png"/><Intersoft:UXDesktopDockButton Text="Address Book" Icon="/JTS2;component/Assets/Images/address_book.png"/><Intersoft:UXDesktopDockButton Text="UXDockButton" Icon="/JTS2;component/Assets/Images/Email.png"/><Intersoft:UXDockSeparator/><Intersoft:UXNavigationButton Content="About" NavigateUri="/About" Icon="/JTS2;component/Assets/Images/DiamondWithReflection_256x256.png"/></Intersoft:UXDock></Grid><!--<Grid Intersoft:DockPanel.Dock="Bottom">

<Intersoft:UXItemsControl x:Name="NavigationItemsContainer" ItemContainerStyle="{StaticResource NavigationButtonStyle}" Orientation="Horizontal" Background="{StaticResource NavigationContainerBackground}">

<Intersoft:UXNavigationButton x:Name="btnHome" Content="Home" NavigateUri="/Home" Icon="Assets/Images/Home.png" IsDefaultNavigationSource="True"/>

<Intersoft:UXNavigationButton Content="Customers" NavigateUri="/Customers" Icon="Assets/Images/CustomersFolder.png"/>

<Intersoft:UXNavigationButton Content="Products" NavigateUri="/Products" Icon="Assets/Images/Products.png"/>

<Intersoft:UXNavigationButton Content="Reports" NavigateUri="/Reports" Icon="Assets/Images/Reports.png"/>

<Intersoft:UXNavigationButton Content="Settings" NavigateUri="/Settings" Icon="Assets/Images/Settings.png"/>

<Intersoft:UXNavigationButton Content="About" NavigateUri="/About" Icon="Assets/Images/ClientUI_Silverlight.png"/>

</Intersoft:UXItemsControl>

<Intersoft:UXHyperlinkButton HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,10,0" TargetName="_blank" NavigateUri="http://www.strongcode.com.au" Style="{StaticResource ClientUILinkStyle}">

<Image Source="/JTS2;component/Images/DiamondWithReflection_256x256.png" Height="67" Width="78" Opacity="1" />

</Intersoft:UXHyperlinkButton>

</Grid>-->

</Intersoft:DockPanel></Grid>

</Intersoft:UXPage>

Intersoft:UXPage>

Hi Jimmy,

Please could you provide such a sample. It will prevent me from using other controls for the purposes of displaying a grid etc.

Thanks

Jeejee

Hi Glenn,

I understand that the developers are working on this.

Is it possible to get some information (even if it is preliminary information).

Thanks

Jeejee

All times are GMT -5. The time now is 1:44 AM.
Previous Next