Telerik Forums
UI for WPF Forum
1 answer
109 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
152 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
70 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
99 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
753 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
208 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
258 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
208 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
419 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
1 answer
168 views
Hi,
I am adding/removing the columns of the grid dynamically.I have too many columns which i can add dynamically. When i add the columns and a horizontal scrollbar appears, i am not able to resize the columns of the grid. Currently I am using 2011.1.315.40 version of Telerik Gridview.I have taken the column width as "*"
Please help.
Really
Top achievements
Rank 1
 answered on 27 Sep 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?