Telerik Forums
UI for WPF Forum
1 answer
131 views
Hi,

I have assigned the list of items to the ResourceTypesSource with Resources . I can able to see the items what i have initially assigned in the UI.  After i am trying to add/update/remove the ResourceType resources . But it is not getting reflected in the UI. Once i cleared the ResourceTypesSource value and reassigned then i UI showing the items what i have added . Can't we refresh the UI items without clearing the entire ResourceTypesSource

Thanks
Sekar
Yana
Telerik team
 answered on 21 Sep 2012
7 answers
191 views
Hi,

is there any way to avoid moving shapes outside the diagram or to avoid overlapping shapes?

This could be interesting to design layout editors like floorplants, etc

Best Regards,

David
David Navarro
Top achievements
Rank 1
 answered on 21 Sep 2012
9 answers
468 views
Hello Telerik Forum!

I am having some strange issues with the DataFormComboBoxField.

<telerik:DataFormComboBoxField Grid.Row="2" Grid.Column="1" 
                                                       SelectedValuePath="CategorieId" DisplayMemberPath="Categorie"
                                                       ItemsSource="{Binding Categories, Source={StaticResource TEST}}"
                                                       DataMemberBinding="{Binding CategorieId, Mode=TwoWay}" />

Me.Personen = New ObservableCollection(Of Personen)()
Me
.Categories = New ObservableCollection(Of PersoonCategorie)


My model is in attachement.

The datacontext of my view is Personen, and a statis resource 'TEST' for Categories

When i edit my form, the combobox loads correctly, also, when i change the value, it makes the changes in my RadGrid also properly.
However, once i end edit mode, and try to save, it gives me a NULL field.

So for some reason, the categorieId field DOES change (visible in my grid), but it makes itself go NULL value.

Any help on this please? I am in a hury to finish this project.

Thank you very much!
Aleks
Top achievements
Rank 1
 answered on 21 Sep 2012
2 answers
139 views
Hi,

We use the RadMap control for displaying aviation routes in our WPF application. When displaying a route from e.g. Paris to New York this work perfectly fine. 

However when displaying a route which crosses the pacific, e.g. from Seattle to Tokyo, we end up with a rahter inlogical view where the polyline disappearts out through the left side of the map and starts again in the right side of the map.

Is it in any way possible to make the RadMap behave like Google Maps, where the map can scroll conitously horizontal? That is, chaning the "center" of the map as one scrolls horizontally. 

The end result should look something like this (Gotta love Google for their "Kayak accross the Pacific ocean" :-)):
 https://maps.google.com/maps?saddr=Seattle&daddr=Tokyo&hl=en&ll=23.885838,-148.886719&spn=107.11446,203.203125&sll=36.315125,-32.871094&sspn=83.931105,158.027344&geocode=FcJp1gIdWVy1-ClVM-iTLBCQVDGa1URpRmUlEA%3BFRCUIAIduoZTCCnnVy7whxtdYDGJG1cii2EBLg&mra=ls&t=m&z=3
Henrik
Top achievements
Rank 1
 answered on 21 Sep 2012
1 answer
221 views
Hi,

We are using the RadGridView so that the users can use the drag and drop function to reorder the column while using it.

As evertytime when the appliation restarted, the column order will be changed back to the what has configured in the markup, and every user has their own prefered column orders,

Is there a way to store the column order in the configuraiton file? so that individual user can save their preferences in the conifuration file, and when the application starts, the column order can be obtained from the configuration file.

Thanks
Dimitrina
Telerik team
 answered on 21 Sep 2012
1 answer
147 views
Hello,

After editing the RadWindow template with the purpose of deleting control boxes, the RadWindow title bar doesn't support the globally applied theme any more. Is there a fix to this?
Greg
Top achievements
Rank 1
 answered on 21 Sep 2012
3 answers
235 views
Hi, I try to customize Window Header and add some  textblock (see atach).

<t:RadWindow.HeaderTemplate>
    <DataTemplate>
        <Grid Margin="10,0">
            <ContentPresenter Content="{Binding}" HorizontalAlignment="Left"/>
            <TextBlock x:Name="txtblk" Text="XAML" Opacity="0.4" FontSize="16" HorizontalAlignment="Right">
                <TextBlock.Triggers>
                    <EventTrigger RoutedEvent="TextBlock.MouseEnter">
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation
                                    Storyboard.TargetName="txtblk"
                                    Storyboard.TargetProperty="(TextBlock.Opacity)"
                                    From="0.4" To="1" Duration="0:0:0.5"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </EventTrigger>
                </TextBlock.Triggers>
            </TextBlock>
        </Grid>
    </DataTemplate>
</t:RadWindow.HeaderTemplate>

But it works when TextBlock FontSize is 20 or more for instance. When I set FontSize to 16, triggers or doubleanimation don't work.
Why?
How to solve this problem?
Thanks.
Georgi
Telerik team
 answered on 21 Sep 2012
1 answer
164 views
Is there a way to tell when the process of selecting a date range is complete with RadCalendar (SelectionMode Extended)? Right now, the SelectionChanged event is firing whenever dates are added or removed from SelectedDates as the user moves the mouse over the calendar, but I would like to do a time intensive process on the selected date range and it would not be appropriate to do so when the user is not finished selecting dates.

I could put some kind of timer on it that would run after a set number of milliseconds, but if the user is still dragging on the calendar this would not work well. I am hoping there is a better solution, maybe I am missing something really obvious. Thanks.

BP

Vladi
Telerik team
 answered on 21 Sep 2012
1 answer
290 views
Hi,

We are using the code below to adjust Header Row and Group Panel height.

<Grid.Resources>

 

 

 

 

<Style TargetType="telerik:GridViewHeaderRow">

 

 

 

 

<Setter Property="MinHeight" Value="25"/>

 

 

 

 

<Setter Property="Height" Value="25" />

 

 

 

 

</Style>

 

 

 

 

<Style TargetType="telerik:GridViewGroupPanel">

 

 

 

 

<Setter Property="MinHeight" Value="25" />

 

 

 

 

<Setter Property="Height" Value="25" />

 

 

 

 

</Style>

 

 

 

 

</Grid.Resources>

 

 

 

 

After upgrading to the latest control version to get the Group Panel height working, the Header Row height started to behave differently then the previous version.

In the previousl version, the Header Row height is redueced by reducing the padding space around the header text.

In the latest verison, the Header Row height is reduced by reducing the padding space only from the bottom of the header text.

Did I miss any thing?

Thanks

 

 

 

Vera
Telerik team
 answered on 21 Sep 2012
2 answers
529 views
Hello,

Why don't you let the SizeToContent property of the RadWindow work even when the Width and Height are set?

You have made the SizeToContent property a bool, but it would've been good if it could use the SizeToContent enumerations, that way even if the window was set to a specified width and height, the window would still auto-resize until the user would manually resize the window by dragging its margins.
The problem with this now is that the user has to specify MinWidth and MinHeight to explicit values instead of using MinWidth=Width and MinHeight=Height when the application loads, so the design-time sizes can't be used any more. Also, MinWidth=Width/MinHeight=Height cause the application to crash if trying to set the minimum value to size that is set to auto.

Also, auto-resize stops working as soon as the MaxWidth and MaxHeight are reached. The Window doesn't contract back any more after content gets smaller.

Are there any fixes to this, or easy alternative solutions?
Greg
Top achievements
Rank 1
 answered on 21 Sep 2012
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?