Telerik Forums
UI for WPF Forum
4 answers
161 views
Hi,

I have a RadPropertyGrid with several lines.
I Looks somehow like this:
<telerik:RadPropertyGrid Item="{Binding TheSetting}" SearchBoxVisibility="Hidden" AutoGeneratePropertyDefinitions="False" SortAndGroupButtonsVisibility="Collapsed" SearchInNestedProperties="False">
    <telerik:RadPropertyGrid.PropertyDefinitions>
        <telerik:PropertyDefinition GroupName="Allgemein" OrderIndex="0" Binding="{Binding BaseSearchPath, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Description="Basispfad zur Suche der CSV Dateien" DisplayName="Basispfad" />
        <telerik:PropertyDefinition GroupName="Allgemein" OrderIndex="1" Binding="{Binding Map_FZeit, ValidatesOnDataErrors=True}" Description="Zuordnung Messwertzeit" DisplayName="Messwertzeit" />
        <telerik:PropertyDefinition GroupName="Allgemein" OrderIndex="2" Binding="{Binding Map_ZNr, ValidatesOnDataErrors=True}" Description="Zuordnung Messwertzeile" DisplayName="Messwertzeilennummer" />


When I select a TextBox with the mouse the row is not selected.
This results in a strange (wrong) look.

Example (for the code above) - I select the "Messwertzeit" Row Header with the mouse.
The Description shows the correct value.
Then I press TAB -
-- First strange thing - the "Basispfad" TextBox (one line above) gets the focus - not the "Messwertzeit" Textbox as expected.
-- Second strange thing - the description pane still shows the "Messwertzeit" description (not the one of "Basispfad" where I'm editing).
-- Third thing (only a problem with the description) - TAB brings me to the next textbox
There is no way (without using the mouse - I tried TAB - shift TAB) to select the "RowHeader" - to get the correct description.

Is this "normal" and desired?
Can I get a description only using the mouse?

Manfred

ManniAT
Top achievements
Rank 2
 answered on 30 Sep 2013
1 answer
84 views
I found an issue with RadDatePicker. The scenario is that When I select invalid date, RadDatePicker throws an Error and when I move to next control, the invalid date along with the error message disappears. I want that invalid date along with the Error to be displayed even after I moved to next control. Is there a solution?
Yana
Telerik team
 answered on 30 Sep 2013
1 answer
120 views
Is there a way to prevent the RadRibbonView Title from overlapping the Min/Max/Close buttons when resizing the application window to a smaller width?  See attached image for the current look.

Thanks,
Dan
Pavel R. Pavlov
Telerik team
 answered on 30 Sep 2013
1 answer
51 views
Hello,

I've applied the Windows8Touch theme from the implicit styles RDs and noticed that when dragging to adjust the beginning of an appointment, the time cue that appears does not change while adjusting the appointment's start time.   The time cue does change when adjusting the appointment's end time.

Please advise.
Masha
Telerik team
 answered on 30 Sep 2013
0 answers
68 views
Hi,

I am trying to implement the cross-reference functionality same in MS word.

But in the RichTextBox, after adding the cross reference, the text not allow to click and redirected to bookmark location.

How to do this task.

Help....

Regards
 Sopan Vaidya
Sopan
Top achievements
Rank 1
 asked on 30 Sep 2013
5 answers
684 views
Been trying for a while to see what slows down the loading of some forms in my application.

Eventually I just decided to make a bunch of radgrids show up in a simple application when i hit a button. I did that because in my initial form I have about 6 radgrids (they have very few rows each) and it bugs me to see how slow it's loading on an old computer.

just so you understand what i did i made a user control with 6 of these inside and when i hit the button it added the control inside the grid of the mainwindow.

   <telerik1:RadGridView ShowGroupPanel="False"  telerik1:TouchManager.IsTouchHitTestVisible="False"  Grid.Column="2" Grid.Row="3" Name="radGridView1" IsEnabled="True" CanUserReorderColumns="False" IsReadOnly="True"<br>                                  RowIndicatorVisibility="Collapsed" DataLoadMode="Asynchronous" <br>                                  AutoGenerateColumns="False" IsFilteringAllowed="False"<br>                                  ItemsSource="{Binding Someth.Oth}"<br>                                  SelectedItem="{Binding OthSel}"<br>                                  CanUserInsertRows="False" CanUserDeleteRows="False" Grid.ColumnSpan="3" Margin="1,1,1,0"><br>            <telerik1:RadGridView.Columns><br>                <telerik1:GridViewDataColumn Header="Nume" DataMemberBinding="{Binding Person.Name}"  <br>                                                         Width="4*" TextWrapping="Wrap" IsReadOnly="True"/><br>                <telerik1:GridViewDataColumn Header="Prenume" DataMemberBinding="{Binding <span style="font-size: 14.44444465637207px;">Person</span><br>.SurName}"  <br>                                                         Width="4*" TextWrapping="Wrap" IsReadOnly="True"/><br>                <telerik1:GridViewDataColumn Header="Legitimatie" DataMemberBinding="{Binding <span style="font-size: 14.44444465637207px;">Person</span><br>.Badge}"  <br>                                                         Width="4*" TextWrapping="Wrap" IsReadOnly="True"/><br>            </telerik1:RadGridView.Columns><br>        </telerik1:RadGridView><br>

anyway, after profiling with redgate i came to see that there was a big chunk used by telerik.windows.input.touch.touchmanager.registertouchableelement. Something about TouchIndicator.

As you can see I already have telerik1:TouchManager.IsTouchHitTestVisible="False" . Did not do a thing.


Basically i do not need touch in my application . At all. If the computer is powerful enough and they want to, sure, I'll enable it for them. But not if it takes so much performance from my app.

Second thing that was showing up in the profile was the GridView.GridViewScrollViewer, the measureoveride. I don't use scroll either but I don't think it's related only to that (right?). As I looked in, most of it was spent on GridViewHeaderRow measureoverride. This is something I could also see with WPFPerf on my application and also in the test. Why is the header so consuming? In my application I don't even show it for some and it still eats up a lot.

Thank you for any input.

Nick
Telerik team
 answered on 30 Sep 2013
1 answer
164 views
Is there a good way to determine if a RadDocument has been changed? I know you do not have a sophisticated compare capability. If you what is your recommendation on determining if the document has been changed.
Petya
Telerik team
 answered on 30 Sep 2013
1 answer
204 views
Hi,

I have a button inside the RadExpander and have the command property as well. However I am getting the error in the output saying the command property is not found in my view model. I have set the relative source to the rad expander as well.

The thing is I have the button inside the Rad Expander header and have the command property and it is working perfectly.

I am using Prism Framework with MEF.

Please see below the code,

<telerik:RadExpander Grid.Row="0" Margin="5" >

<telerik:RadExpander.Header>

<Grid>

<telerik:RadButton Margin="0,0,10,0" Style="{DynamicResource RadImageButton}"

Command="{Binding Path=DataContext.CollapseCommand, RelativeSource={RelativeSource FindAncestor, AncestorType=telerikinput:RadExpander}}"

Visibility="{Binding Converter={StaticResource VisibilityConverter}, Path=IsHeaderExpand}"> 

</telerik:RadButton>

<telerik:RadButton Margin="0,0,10,0" Style="{DynamicResource RadImageButton}"

Command="{Binding Path=DataContext.ExpandCommand,RelativeSource={RelativeSource FindAncestor, AncestorType=telerikinput:RadExpander}}"

Visibility="{Binding Converter={StaticResource VisibilityConverter}, Path=IsCollapse}">

</telerik:RadButton>

<Label Content="Search Criteria" Margin="40,10,0,0" Style="{DynamicResource LabelBoldContentStyle}" HorizontalAlignment="Left"/>

</Grid>

</telerik:RadExpander.Header>


<Grid Margin="5">

<Button Grid.Row="7" Grid.Column="7" Height="28" Width="50" Margin="0,0,46,0"

Content="Search" HorizontalAlignment="Right" FontWeight="Bold"

Command="{Binding Path=DataContext.SearchComamnd, RelativeSource={RelativeSource FindAncestor, AncestorType=telerik:RadExpander}}"/>

</Grid>

Please let me know what I am missing in my code ?

Thnx,
Sivakumar

Pavel R. Pavlov
Telerik team
 answered on 30 Sep 2013
5 answers
169 views
Hi,

I am having a problem with the GridView: if the row is marked invalid because a property is invalid, the user is unable to edit any other cell.

Let's say I have a GridView that is letting me edit a class called Person that has 3 properties
  • Name: the person's name
  • Type: which allows the user to choose between Child or Adult
  • Age: that is validated according to the Person type (child is allowed to be between 1 - 19, adult is allowed to be between 19-120)

Now, let's say the user adds a new Person and enters a name, selects child as the person type by accident and enters an age of 30. Because the Person is actually not a child, the age property becomes invalid and the row is set to invalid.

At this point the user is not able to change the Type to Adult because they cannot leave the age field.

This is particularly a problem if the user attempts to save a person without entering an age or type because the row becomes invalid, the type is not selected and the field that the user is stuck in is the Age field. They cannot edit the type column and so the age is always going to be invalid.

How do I get around this?

Thank you,

-Rebecca

Dimitrina
Telerik team
 answered on 30 Sep 2013
3 answers
348 views
Please forgive my lack of understanding on how the Persistence Framework functions.

I have an application where I allow users to set what columns on a Grid View are visible or hidden.  When they close the application, I want to save their preferences.  When they open the application, I want to reload their preferences from the last time they used the program. 

This seems like a good job for Persistence Framework.  I began by looking at this WPF online help example:http://www.telerik.com/help/wpf/persistence-framework-getting-started.html

The code that saves my Grid View layout as a stream seems to be working, however, I'm having trouble reloading the layout once the application has been closed and re-opened.  When I re-open the application my Stream object is nothing, so the PersistenceManager.Load method throws an error.  I don't understand how to retrieve my saved Grid View Layout.

Can you describe how Persistence Framework functions, and help me understand how I retrieve and apply my saved Grid View layout?

Any assistance is greatly appreciated.  Thank you.
Dimitrina
Telerik team
 answered on 30 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?