User Profile & Activity

Michael Giger Member
Page
of 4
Posted: March 27, 2013 5:28 PM

Hi Yudi

Thanks for your answer!

The Password-Property of Microsoft's PasswordBox supports no data binding. Their PasswordBox does it! In my opinion, it should therefore also works correctly (tow way binding).

In my case, the password is not security critical. In the meantime, I've been using the standard Textbox...

Please let me know, if you implement this feature request.

Thanks

Michael

Posted: July 31, 2012 3:42 AM

Hi Yudi

Thank you for your mail. I have manually installed the ClientUI (WPF) Hotfix. The cursor position is now correct and my first problem is fixed! Thanks for fast solution!

I have still problems with mouse click (can not set the focus) or select the password char. I can't see the cursor in UXPasswordBox. I have attached a new sample. The only difference is that I use the UXRibbonGlassWindow instead the Window. Now I should also reproduce the "select password char" issue.

Steps to reproduce:

  • start wpf application and click in the frist (top) textbox
  • input some text, e.g. 12345. This works fine!
  • click now in the secound textbox. The textbox does not get the focus!
  • press tab key and the textbox get the focus
  • input some text, e.g. 12345. This works fine!
  • try to select the password chars (by mouse or keyboard). It is not possible!

Simple Code:

<Intersoft:UXRibbonGlassWindow x:Class="UXPasswordSample.MainWindow"
        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"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <StackPanel>
            <Intersoft:FieldLabel Header="TextBox">
                <StackPanel Orientation="Horizontal">
                    <TextBox x:Name="TextBox" />
                    <TextBlock Text="{Binding ElementName=TextBox,Path=Text,UpdateSourceTrigger=PropertyChanged}" Width="100" Margin="8 0"/>
                </StackPanel>
            </Intersoft:FieldLabel>
            <Intersoft:FieldLabel Header="UXPasswordBox">
                <StackPanel Orientation="Horizontal">
                    <Intersoft:UXPasswordBox x:Name="UXPasswordBox" />
                    <TextBlock Text="{Binding ElementName=UXPasswordBox,Path=Password,UpdateSourceTrigger=PropertyChanged}" Width="100" Margin="8 0"/>
                </StackPanel>
            </Intersoft:FieldLabel>
        </StackPanel>
    </Grid>
</Intersoft:UXRibbonGlassWindow>

Have a nice day!

Michael

Hi Handy

I don't see the header text vertically (please see attached pictures). My Code: 

<Intersoft:UXResizablePane Header="Backup Jobs" Margin="4 0 0 4" Style="{StaticResource ResizablePaneStyle}" HeaderPosition="Border" HeaderFontSize="20">
    <Intersoft:UXListBox ItemTemplate="{StaticResource BackupJobsItemTemplate}" ItemsSource="{Binding BackupJobs}" SelectedItem="{Binding SelectedJob, Mode=TwoWay}"/>
</Intersoft:UXResizablePane>

I want show only the collapsed icon and the header text vertically.

Thanks for help.

Michael

Posted: November 24, 2011 11:07 AM

still no feedback...!

Posted: November 11, 2011 3:53 AM

Hi Yudi

Thanks for reply.

How can I use custom buttons?

Michael

Posted: November 4, 2011 4:22 AM

Hi Yudi

The data validation is on serverside (ria service class).

I have by mistake a new thread open. Sorry.
 
Please have a look.
Thanks
 
Regards
Michael
Posted: November 3, 2011 4:43 AM

Hi Yudi

Thanks for sample.

The only difference was that I had not deleted the properties SortDescriptors, PageDescriptor, FilterDescriptors at the UXGridView. Now it works, but without paging, and filtering!

<Intersoft:UXGridView Intersoft:DockPanel.IsFillElement="True" AutoGenerateColumns="true" QueryOperation="Server"
                        GroupFootersVisibility="Visible" GroupByBoxVisibility="Visible" RowHeaderVisibility="Visible"
                        CanUserAddRows="True" CanUserDeleteRows="True" CanUserEditRows="True" CanUserPage="True" PageSize="20" 
                        SelectedItem="{Binding SelectedItem, Mode=TwoWay}" ItemsSource="{Binding Path=Items}"
                        IsBusy="{Binding IsBusy, Mode=TwoWay}" IsRefreshed="{Binding IsRefreshed, Mode=TwoWay}"
                        NewItem="{Binding NewItem, Mode=TwoWay}"
                        ValidateRowCommand="{Binding ValidateRowCommand}" InsertRowCommand="{Binding InsertRowCommand}"
                        DeleteRowCommand="{Binding DeleteRowCommand}" PrepareNewRowCommand="{Binding PrepareNewRowCommand}"
                        UpdateCellCommand="{Binding UpdateCellCommand}" UpdateRowCommand="{Binding UpdateRowCommand}"
                        SaveChangesCommand="{Binding SaveChangesCommand}" RejectRowCommand="{Binding RejectRowCommand}"
                        RejectChangesCommand="{Binding RejectChangesCommand}" HasChanges="{Binding HasChanges}"
                        AutoEditOperation="{Binding AutoEditOperation}">
    
<!--SortDescriptors="{Binding QueryDescriptor.SortDescriptors, Mode=TwoWay}"
PageDescriptor="{Binding QueryDescriptor.PageDescriptor}"
FilterDescriptors="{Binding QueryDescriptor.FilterDescriptors, Mode=TwoWay}"-->

Perhaps it is easier to define the sorting in the constructor. Just yet, the question is why the query twice running.

Regards

Michael

Posted: November 2, 2011 1:08 PM

still no feedback?

Posted: November 2, 2011 4:16 AM

Hi Handy

As you've described in this thread. I've saved the style in UXGridViewStyle.xaml (see attached File).

In the UXGridViewStyle.xaml under UXGridViewStyle (line 999) you will find the following line of code:

<Intersoft:UXGridViewContextMenu x:Name="ContextMenu" Style="{StaticResource UXGridViewContextMenuStyle}"/>

In UXGridView I use:

Style="{StaticResource UXGridViewStyle}"

Regards

Michael

Posted: October 25, 2011 4:46 AM

Hi Yudi

Sorting in xaml does not work! I have tested on Products Page (Client UI Sample).  I have added the SortDescriptiors and commented out the GroupDescriptor as follow:

<!--<Intersoft:UXGridView.GroupDescriptors>
    <Intersoft:UXGridViewGroupDescriptor PropertyName="CategoryID"/>
</Intersoft:UXGridView.GroupDescriptors>-->
<Intersoft:UXGridView.SortDescriptions>
    <ComponentModel:SortDescription PropertyName="CategoryID" Direction="Ascending"/>
</Intersoft:UXGridView.SortDescriptions>

In query orderby is not added!

Adding SortDescriptor in the constructor works fine (exept run twice).

Regards

Michael

All times are GMT -5. The time now is 4:37 PM.
Previous Next