Telerik Forums
UI for WPF Forum
3 answers
438 views
I'm trying to do this:

// Create new pane.
_dockPane = new RadPane { Content = viewModel, Title = title };
_dockPane.IsFloating = true;

However, IsFloating is a read-only property.
So how do I create a pane that is floating on creation and how would I programmatically set the size of the floating window?
 
Does the user have to physically float the window themselves?
Konstantina
Telerik team
 answered on 26 Jan 2011
1 answer
241 views
Hello all!

Whats it's the right method to get All RadPane in RadDocking?.

This is not correct:
foreach (RadSplitContainer iRadSplitContainer in p_RadDocking.Items)
{
    if (iRadSplitContainer.Tag.ToString() == p_SplitContainerName)
    {
        foreach (RadPaneGroup iRadPaneGroup in iRadSplitContainer.Items)
        {
            foreach (RadPane iRadPane in iRadPaneGroup.Items)
            {
                //Do something
            
        }
    }
}

thanks in advance :)
Fernando
Top achievements
Rank 1
 answered on 26 Jan 2011
3 answers
152 views
hi
I want to filter row default is "Contains"
So should I do?
Maya
Telerik team
 answered on 26 Jan 2011
1 answer
174 views
I want to do the localization of WPF controls into the Bosnian language. Is there a list of grouped or resosurs files of all components of the English language, such as a GridView control in the examples.
Example:
                  ResourceGridView.resx
                  ResourceComboBox.resx

which would be the key names and default values (English) as the example for the GridView control:
                  GridViewAlwaysVisibleNewRow - Click here to add new item

Thanks in advance, Ermin!
Maya
Telerik team
 answered on 26 Jan 2011
1 answer
99 views
Is there a built-in-function to rename the Header of a RadPane? What do we have to take account for?
Dani
Telerik team
 answered on 26 Jan 2011
2 answers
446 views
I made the following style

<

 

Style TargetType="{x:Type telerik:GridViewRow}">

 

 

 

<Style.Triggers>

 

 

 

<DataTrigger Binding="{Binding Marked}" Value="True">

 

 

 

<Setter Property="Background" Value="Yellow" />

 

 

 

</DataTrigger>

 

 

 

</Style.Triggers>

 

 

 

</Style>

 



This all works fine but it does not change the background color of the row Indicator how do i make this possible?

Also in my Expression Blend 3 the Edit a Copy for the rowstyle is not avalable so I have nothing to style as a base
Kevin Hendriks
Top achievements
Rank 1
 answered on 26 Jan 2011
5 answers
219 views
I have a couple of layers on my map. One layers contains routes and the other contains random POI's. How can I get the map to choose the best possible center and zoom level based on all the POI's?

Thanks,
Rod
Andrey
Telerik team
 answered on 26 Jan 2011
2 answers
83 views
How do I edit a row when the row details are expanded? I need this functionality, but I'm not sure how to get it to work.

Thanks.
Rayne
Top achievements
Rank 1
 answered on 25 Jan 2011
2 answers
89 views
I'm a neophyte Telerik RadControls user, having only recently gotten a subscription.  One of the primary reasons why we got these controls is because of our need for a date picker control on our WPF apps.  I wrote my own date picker control, which is OK, but it lacks a lot to be desired.  I believe that Telerik's controls will address my control's shortcomings.

Now to explain what it is that I'm trying to accomplish.  My new WPF app is a replacement for an older VB6 app, that is used by our front desk personnel.  They need to enter a lot of data, some of it of type date.  They really hate having to type the "/", for example, when enter dates.  For example, when entering today's date, they're used to typing it into the old VB6 app and my new WPF app (with my custom date picker control) like this: "01202011"  However, when type it in, I've got a mask in place which already has the "/" in there, so it will look like this: "01/20/2011".

So, I wanted to test out Telerik's RadDatePicker control and see how it works.  I quickly got up VS 2010 and created a new WPF app, and placed a RadDatePicker control there with a TextBox after it, so that I could tab off of the date picker control and see what happens. Telerik's RadDatePicker control displays the date it thinks your entering in a tooltip (I guess, nice feature, BTW), and I can see it's not getting the date correct.  For example, when I start entering numbers and the control tells me what it thinks I'm enter in the tooltip, this is what I get (what I enter is on the left, what it think the date is, is on the right):
  • 0 - 1/20/2000
  • 01 - 1/1/2011
  • 012 - 1/12/2011
  • 0120 - 1/20/0120
  • 01202 - 1/20/1202
  • 012020 - Error

I don't get why it's defining the date to be the way it does, and certainly my users won't like it at all.  My guess is that I've got to configure something else to make it work the way my users want it to, only thing is I don't know how.  What am I doing wrong, or leaving out?

Rod
Top achievements
Rank 1
 answered on 25 Jan 2011
3 answers
552 views
I am having two issues with the below user control view that is mostly a RadGridView. The ItemsSource is a CollectionViewSource View. The view is based on an ObservableCollection and filtering is utilized. Everything seems to work for the most part if I host the user control in a regular Microsoft TabControl. If I use a RadTabControl, each tab does not seem to respect the CollectionViewSource.View that it is bound to so on the first tab I might get the data to be expected on the last or vice versa.

EDIT: Just to be clear, each tab item is bound to a different instance of a CollectionViewSource over the same ObservableCollection.

Second, whether I host the control in a TabControl or RadTabControl, if I try to use the UI to group by a column on one tab, the column is grouped on all tabs. If I ungroup a tab, I need to remove the group manually from the other tabs before things return to normal.

Any suggestions for alternatives that might work better together? Why am i getting different results hosting the control in TabControl vs RadTabControl? I tried the telerik QueryableView a bit, but it seems like this is built more for LinqToSQL or ORM.

<

 

 

UserControl x:Class="XXXXXXXXXXX"
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="416" d:DesignWidth="736" xmlns:telerik=http://schemas.telerik.com/2008/xaml/presentation
xmlns:Behaviors="XXXXXXXXXXX">
<UserControl.Resources>
<Style x:Key="RowStyle" TargetType="telerik:GridViewRow" >
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="FontSize" Value="11" />
</Style>
<Style x:Key="HeaderStyle" TargetType="telerik:GridViewHeaderRow">
<Setter Property="FontFamily" Value="Segoe UI" />
<Setter Property="FontSize" Value="11" />
<Setter Property="FontWeight" Value="Bold" />
</Style>
</UserControl.Resources>
<Grid>
<Grid.RowDefinitions >
<RowDefinition Height="*"/>
<RowDefinition Height="40"/>
</Grid.RowDefinitions>
<telerik:RadGridView Name="gridv" Grid.Row="0" ItemsSource="{Binding Path=RecordModels.View}" AutoGenerateColumns="False" CanUserResizeColumns="False"
IsFilteringAllowed="False" IsSynchronizedWithCurrentItem="True" Behaviors:MouseDoubleClickEventBehavior.MouseDoubleClickEvent="{Binding DoubleClickEvent}"
RowStyle="{StaticResource RowStyle}" HeaderRowStyle="{StaticResource HeaderStyle}" SelectionUnit="FullRow">
<telerik:RadGridView.Columns>
<telerik:GridViewImageColumn Width="22" Header="" DataMemberBinding="{Binding IsValid}" />
<telerik:GridViewDataColumn Header="MRN" DataMemberBinding="{Binding MRN}" Width="*" />
<telerik:GridViewDataColumn Header="DOS" DataMemberBinding="{Binding DOS}" Width="*" />
<telerik:GridViewDataColumn Header="Description" DataMemberBinding="{Binding Description}" Width="*" />
<telerik:GridViewDataColumn Header="Provider" DataMemberBinding="{Binding ProviderName}" Width="*" />
<telerik:GridViewDataColumn Header="Start" DataMemberBinding="{Binding StartTime}" Width="*" />
<telerik:GridViewDataColumn Header="Stop" DataMemberBinding="{Binding StopTime}" Width="*" />
<telerik:GridViewDataColumn Header="Contents" DataMemberBinding="{Binding Contents}" Width="*" />
<telerik:GridViewColumn Header="" Width="20">
<telerik:GridViewColumn.CellTemplate>
<DataTemplate>
<telerik:RadButton Content="..." />
</DataTemplate>
</telerik:GridViewColumn.CellTemplate>
</telerik:GridViewColumn>
</telerik:RadGridView.Columns>
</telerik:RadGridView>
<StackPanel Grid.Row="1">
<TextBlock Text="{Binding RecordListSummary}" HorizontalAlignment="Left" Margin="5" />
<TextBlock Text="{Binding CurrentItem.MRN,ElementName=gridv}" />
</StackPanel>
</Grid>
</
UserControl>

 

 

 

 

 

Maya
Telerik team
 answered on 25 Jan 2011
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
VirtualKeyboard
HighlightTextBlock
Security
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?