Telerik Forums
UI for WPF Forum
4 answers
819 views

Any ideas how I can create a small floating window (modal) over and existing WPF window?

I want to show a digital clock on the window/form at all times.

 

thanks in advance

Jonathan
Top achievements
Rank 1
Iron
Veteran
 answered on 26 Jun 2015
2 answers
130 views
How can I change font size for Telerik RadScheduleView's date at the upper tab/menu (don't know how to name it)? I want to make the size of type bigger. There is a lot information about styling appointments on the Telerik website but nothing about styling that menu. The text I need to change font size for is highlited on the image.
Maxim
Top achievements
Rank 1
 answered on 26 Jun 2015
2 answers
129 views

Hi, 

I have a one problem with panes in RadPaneGroup. I have one RadPaneGroup and three Panes in it. It is necessary to provide this features:

- move pane in RadPaneGroup (like Tabs in TabControl) - reordering;

- drag pane into separate window.

 

I can drad panes, it is no problem, but how can I move panes without drag pan from group?

I hope it problem have solution. 

DANIIl
Top achievements
Rank 1
 answered on 26 Jun 2015
6 answers
254 views
In the documentation all custom connectors are added in code behind http://docs.telerik.com/devtools/wpf/controls/raddiagram/features/custom-connectors.html

I have also seen custom connectors added to individual raddiagramshape in xaml as :-

<telerik:RadDiagramShape Content="2"
                         Position="300 100"
                         UseDefaultConnectors="False">
    <telerik:RadDiagramShape.Connectors>
        <telerik:RadDiagramConnector Name="TopLeft"
                                     Offset="1 0.33" />      
    </telerik:RadDiagramShape.Connectors>
</telerik:RadDiagramShape>

However I use MVVM model and a shape style selector and do not have direct access. I cannot set 'Connectors' in a style using 'Settter Property=' because the connectors collection only has a get accessor. 

Is there a way to add custom connectors to a raddiagramshape in the XAML style?


telerik:RadDiagramShape Content="2"
                         Position="300 100"
                         UseDefaultConnectors="False">
    <telerik:RadDiagramShape.Connectors>
        <telerik:RadDiagramConnector Name="Left"
                                     Tag="Connector 1"
                                     Offset="0 0.5" />
        <telerik:RadDiagramConnector Name="Top"
                                     Tag="Connector 2"
                                     Offset="0.5 0" />
        <telerik:RadDiagramConnector Name="Right"
                                     Tag="Connector 3"
                                     Offset="1 0.5" />
        <telerik:RadDiagramConnector Name="Bottom"
                                     Tag="Connector 4"
                                     Offset="0.5 1" />
        <telerik:RadDiagramConnector Name="Auto"
                                     Tag="Connector 5"
                                     Offset="0.5 0.5" />
    </telerik:RadDiagramShape.Connectors>
</telerik:RadDiagramShape>
<telerik:RadDiagramShape Content="2"
                         Position="300 100"
                         UseDefaultConnectors="False">
    <telerik:RadDiagramShape.Connectors>
        <telerik:RadDiagramConnector Name="Left"
                                     Tag="Connector 1"
                                     Offset="0 0.5" />
        <telerik:RadDiagramConnector Name="Top"
                                     Tag="Connector 2"
                                     Offset="0.5 0" />
        <telerik:RadDiagramConnector Name="Right"
                                     Tag="Connector 3"
                                     Offset="1 0.5" />
        <telerik:RadDiagramConnector Name="Bottom"
                                     Tag="Connector 4"
                                     Offset="0.5 1" />
        <telerik:RadDiagramConnector Name="Auto"
                                     Tag="Connector 5"
                                     Offset="0.5 0.5" />
    </telerik:RadDiagramShape.Connectors>
</telerik:RadDiagramShape>
<telerik:RadDiagramShape Content="2"
                         Position="300 100"
                         UseDefaultConnectors="False">
    <telerik:RadDiagramShape.Connectors>
        <telerik:RadDiagramConnector Name="Left"
                                     Tag="Connector 1"
                                     Offset="0 0.5" />
        <telerik:RadDiagramConnector Name="Top"
                                     Tag="Connector 2"
                                     Offset="0.5 0" />
        <telerik:RadDiagramConnector Name="Right"
                                     Tag="Connector 3"
                                     Offset="1 0.5" />
        <telerik:RadDiagramConnector Name="Bottom"
                                     Tag="Connector 4"
                                     Offset="0.5 1" />
        <telerik:RadDiagramConnector Name="Auto"
                                     Tag="Connector 5"
                                     Offset="0.5 0.5" />
    </telerik:RadDiagramShape.Connectors>
</telerik:RadDiagramShape>
Jakub
Top achievements
Rank 1
 answered on 26 Jun 2015
8 answers
202 views
Hey guys,

So I have the 2013 Q3 version of WPF controls. What I'm trying to do at this point is to use the Telerik.VisualStudio.TestTools.UITest.Extension.ExtensionsCore.dll so that I can access more properties in my radcontrols for CodedUI tests. I have followed the steps on the following web page: http://www.telerik.com/help/wpf/coded-ui-support.html. This seems to work fine for RadButtons and a couple other simple controls however when I try to select a cell in a RadGridView I get the following error in the CodedUI Builder tool:

"you do not have sufficient privileges to access the information about this control or the control is part of the recorder process"

Of course I googled the issue and found that this problem typically comes from not running your application AND Visual Studio as administrator. So I restarted VS and ran it as Administrator and I also opened up my application as Administrator but it continues to have this error. The odd thing is that I can definitely access RadButtons and other controls, just not a RadGridView. According to the web page above, RadGridView is definitely a supported control so that should work and this article http://blogs.msdn.com/b/visualstudioalm/archive/2011/10/28/coded-ui-test-extension-for-3rd-party-controls-the-basics-explained.aspx also indicates that RadGridView is supported in CodedUI Tests.

I'm running: 
  • Windows 8.1
  • Visual Studio 2012 Ultimate Update 4
  • WPF project in .Net 4.5
  • Telerik Rad Controls for WPF Q3 2013 (4.5)

Can anyone help?
Ivan Ivanov
Telerik team
 answered on 26 Jun 2015
6 answers
237 views
I see that this same question was asked in March 2013 and the response there was that this would be in an upcoming release.  As far as I can see in the latest WPF Demo , this is not available.

The scenario is simple.  I am using the GridView to implement a logsheet type application.  So I have some kind of time going down the left hand side of the grid (hourly or daily etc) and then columns similar to the "Merged Column Headers" demo.

But now some users might want to see the columns and rows switched, meaning that the date now runs across the top of the Grid as column headers and the grouped/merged column headers become row headers.

Is this possible?  If not when will it be available because this is like standard functionality that any grid should have.  The availability of this functionality will determine if we continue with our license.

Thanx.
Ivan Ivanov
Telerik team
 answered on 26 Jun 2015
3 answers
77 views

Hi,

 i use the RadDocking Control with "Windows8Touch" Theme. After a move a Pane and Drop it somehwere else,
the theme is reseted. How can i save the theme during moving the Pane?

 

Thanks

Best Regards

M

Nasko
Telerik team
 answered on 25 Jun 2015
1 answer
86 views

Hi all,

 I am trying to implement a feature whereby the user will drag an item from one list box and when they dump it into the other, before it is dumped, they will get a dialog which will ask them to set one of the properties of the item they wish to transfer. I am currently trying to abuse a dataconverter but it doesn't seem to be working.

 Thanks,

 Julian

Nasko
Telerik team
 answered on 25 Jun 2015
1 answer
751 views

Hi,

I'm really pulling my hair with this one, so any help I can get would be greatly appreciated!

Here is the thing... I am using MVVM and I need to create a grid with (to start with) one row and a variable number of columns. The name of the columns are based on property values in an object (see "ProductVariantFacade" below), so I need to set the name of the columns after the grid has been initialized. So I started out using an ObservableCollection<ProductVariantFacade> in my view model, like so:

public ObservableCollection<ProductVariantFacade> ProductVariantFacades { get; set; }

Where ProductVariantFacade looks like this:

public class ProductVariantFacade : FacadeBase
    {
        public ProductVariantFacade()
        {
            Data = new List<ProductVariantData>();
        }
 
        private string rowName;
        public string RowName
        {
            get { return rowName; }
            set
            {
                if (value != rowName)
                {
                    rowName = value;
                    OnPropertyChanged("RowName");
                }
            }
        }
 
        public List<ProductVariantData> Data { get; set; }
 
        public void AddData(string headerName, string value)
        {
            Data.Add(new ProductVariantData { HeaderName = headerName, Value = value });
        }
    }
 
    public class ProductVariantData : FacadeBase
    {
        private string value;
        public string Value
        {
            get { return this.value; }
            set
            {
                if (value != this.value)
                {
                    this.value = value;
                    OnPropertyChanged("Value");
                }
            }
        }
 
        private string headerName;
        public string HeaderName
        {
            get { return headerName; }
            set
            {
                if (value != headerName)
                {
                    headerName = value;
                    OnPropertyChanged("HeaderName");
                }
            }
        }
    }

The inherited FacadeBase implements INotifyPropertyChanged. Then my RadGridView's columns are set up as so:

<telerik:RadGridView Name="VariantDetailsGrid"
                                 AutoGenerateColumns="False"
                                 Height="130"
                                 IsReadOnly="False"
                                 ItemsSource="{Binding ProductVariantFacades, Mode=TwoWay}"
                                 >
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding RowName}" Header="" DataType="{x:Type sys:String}"/>
                     
                    <telerik:GridViewDataColumn DataMemberBinding="{Binding Data[0].Value}" DataType="{x:Type sys:String}">
                        <telerik:GridViewDataColumn.Header>
                            <TextBlock Text="{Binding ProductVariantFacades[0].Data[0].HeaderName, Mode=TwoWay, Source={StaticResource ProductViewModel}}" />
                        </telerik:GridViewDataColumn.Header>
                    </telerik:GridViewDataColumn>
<telerik:RadGridView.Columns>
</telerik:RadGridView>

I was hoping that when I set my ObservableCollection ProductVariantFacades in my view model, the name of the column (the header) would be updated as well. That is, when the ProductVariantFacades[0].Data[0].HeaderName is set to a value. But for some reason this doesn't work. If I via a Button change the value of e.g. ProductVariantFacades[0].Data[0].Value it gets updated in the grid. But the header does not get updated when I change it. Any idea as to why?

Could it have anything to do with that the DataContext of TextBlock is not the same as for the rest of the view? E.g. not the same as the DataContext that the Data[0].Value is "connected" to?

Please help, thanks!

Stefan
Telerik team
 answered on 25 Jun 2015
2 answers
118 views

Hello!

Is there a possibility to show alerts without show-duration - so the user have to close it manually?

thx

Ludwig
Top achievements
Rank 1
 answered on 25 Jun 2015
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?