Telerik Forums
UI for WPF Forum
1 answer
288 views
map
Hi,
I'm new to WPF and telerik and tried to download the example demo Bing and openstreetmap providers
when i try to run it i get a lot of errors and this has been happening to me with all the demo examples.

can someone attach a working project for any map. so I can start from there

or what do i have to change to make the code run beside :

<UserControl x:Class="Telerik.Windows.Examples.Map.Shapefile.WorldContinents.Example"
to be :
<UserControl x:Class="my space name"

delete  xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=QuickStart.Common"

I keep getting error in this line only:

<UserControl.Resources>
        <example:ShapefileViewModel x:Key="DataContext" Region="world_continents" />
    </UserControl.Resources>


ShapefileViewModel ??!!!


thank you
Andrey
Telerik team
 answered on 29 Jan 2013
3 answers
140 views
Hello,
WPF controls version: 2012.2.0912.40

I'm attempting to create one (1) scheduleview for multiple employees.  (We're using the Day and Week View Definitions only). The goal is to be able to view different "Work Schedules" of several employees. So if I check the employee's name, the scheduleview should only display that employee's work schedule (i.e,. 8am to 5pm, or 9am to 6pm, etc). I can do this fine in code behind using the ScrollTimeRuler(just as a sample), but we are using MVVM and I do not see a way to call ScrollTimeRuler from my ViewModel.

Is this possible? and/or do you have any suggestions or samples?

Thanks,
Brian Foster
Yana
Telerik team
 answered on 29 Jan 2013
9 answers
885 views
Hello,

I am trying to change the styling of RadPanes. I ultimately want to also change the shape of the tabs, but for now I am just trying to customize the colors of the tabs, text, and border of the pane.

I tried putting a RadDocking with a RadPaneGroup and two RadPanes in Blend. I can see the tabs, but when I click on the RadDocking item in the Objects and Timeline, I only see an option to edit a copy of the Template, not the Style. Using the Object > Edit Style menu only show the Create Empty option enabled.

I would appreciate any help as I won't have any hair left to pull out soon. Thanks.
Masha
Telerik team
 answered on 29 Jan 2013
0 answers
104 views
There is an window with three combo boxes:
<Window ... >
    <StackPanel>
        <telerik:RadAutoCompleteBox/>
          
        <telerik:RadAutoCompleteBox
            x:Name="_combo"
        />
      
        <telerik:RadAutoCompleteBox/>
    </StackPanel>
</Window>

and back code:
public partial class MainWindow : Window
{
    public MainWindow()
    {
        InitializeComponent();
        Loaded += MainWindow_Loaded;   
    }
 
    void MainWindow_Loaded(object sender, RoutedEventArgs e)
    {
        _combo.Focus();
        //_combo.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next)); //(!)         
    }
}



Steps:
1. show window
2. type some text (without tabs)

expected: some text appears in second combo box with name "_combo".
actual: second combo box has focused appearance, but does not accept any input
actual with line (!) uncommented: as expected.

This is strange behavior because, for example, dateTimePicker would work as expected without uncommenting line (!)
Alexus
Top achievements
Rank 1
 asked on 29 Jan 2013
2 answers
219 views
Hello.
Question is "How to tell RadTimePicker to parse input text from CurrentDateTimeText property and refresh SelectedTime property by parsed value".

Background:
My control consists from RadTimePicker and two buttons - accept and cancel.
It works but there is an issue.
If user input "1234" to the picker an then press accept button without pressing enter - there is old value in  SelectedTime property (but  CurrentDateTimeText contains user`s input). 

Thanks.
Alexus
Top achievements
Rank 1
 answered on 29 Jan 2013
2 answers
165 views
I have a RadTreeListView in an MVVM project which I am trying to persist with the IsolatedStorageProvider.  The RadRibbon control save and load routines use a mediator pattern with ICommand and command classes.It only partially works.  I can save and restore column width settings, but IsExpanded and IsSelected cannot be saved and restored.  Also, it will not save and restore columns that are moved.  I save the settings, move a column and then load the settings, expecting the column to return to its original position, but some or all of the data in the columns disappear.  There may be other properties that can be saved or can't be saved, but I don't know what to test for. 
Gk
Top achievements
Rank 1
 answered on 29 Jan 2013
1 answer
330 views
Hello,

I have a problem with WPF Command and I need some Help.
I defined some static RoutedCommand in my App class. My main window is composed of a RadRibbonView and a RadTabControl.
I Populate the TabControl with some classes that inherit from RadTabItem.
 Buttons in the ribbon are bound to my RoutedCommand and I add commandbindings bound to the commands In my RadTabItem children classes.
My TabItem has the Content property set to a UserControl.The buttons works fine while the TabItem header has the focus but if I click on the content of the TabItem (my UC), the button stop calling the CanExecute and Executed callbacks of my TabItem.
I Want the selected TabItem always manage the CanExecute and Execute call for all commands.

How can i handle this ?

Thank you,
Benjamin
Top achievements
Rank 1
 answered on 28 Jan 2013
6 answers
403 views
Hello.

I have some problem. I use ProperyGrid to modify object properies (I have mdi window control. And for selected window I set class A to PropertyGrid.Item in dynamic). In class A I have Prop1 and List1 of suitable values for Prop1. Prop1 is a selected value from List1. How can I display this property in ProperyGrd?

Thanks.
Anton
Top achievements
Rank 1
 answered on 28 Jan 2013
0 answers
162 views
Hi,

there is a bug in implicit expression dark theme for RadPropertyGrid when NestedPropertiesVisibility is set to Visible.

Content template of SelectedField is unreadable, because Foreground and Background are almost the same color (light gray)

Here is simple demonstration:
https://skydrive.live.com/redir?resid=51A46BBA4E9EF07E!1314&authkey=!ALZkP7tJNZg9sUg

Just select a field in propertygrid and move mouse cursor out of the field
Daniel
Top achievements
Rank 1
 asked on 28 Jan 2013
7 answers
444 views
I would like the all the group row in expanded state all the time. How can I change the group row style to hide the expander? May I get a copy of the GroupRow style? I try to get it from Blend, it seems not working for me.

Thanks!
Iden
Top achievements
Rank 1
 answered on 28 Jan 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
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?