Telerik Forums
UI for WPF Forum
1 answer
234 views
I've a window with a listbox on the left half and a listview on the right half. The DataTemplate of the listview is set to a template which contains a listbox, so for every row of the listview a new listbox is created. Now I want to drag an item from the left half of the window into one of the nested listboxes on the right half. The problem is, that the nested listboxes aren't registered as drop target zones, although the AllowDrop-prop is set to true. If I set the AllowDrop-Property of the listview to true, the DropQuery-Event is raised, but the e.Options.Destination is always the listview, not the listbox inside it.

Any help is appreciated.

Thanks

Patrick


Tina Stancheva
Telerik team
 answered on 05 May 2010
1 answer
116 views
Hi,

In my application, I am showing a GridView with a Child Table.
As there a quite a lot of items in the GridView, I want the row height as low as possible.
When i set the row height in my grid, either by setting the RowStyle or by using a RowStyleSelector, my child table isn't shown anymore when i try to expand it.

Is there any other way of decreasing the rowheight of my GridView but still allow the Child Table to be shown?

Thanks,

Hans
Yordanka
Telerik team
 answered on 05 May 2010
2 answers
96 views
Hello!
Is there the possibility to have the NumericUpDown component having only values that are powers of 10.
Like 0.001; 0.01; 0.1; 1; 10; 100 etc 

Thank you!
Roxana C
RoxanaC
Top achievements
Rank 1
 answered on 05 May 2010
3 answers
169 views
Hello.

I have simple application. In this application is one RadTabControl with twor RadTabItems and in both are RadDockings with one RadPane in each. Here is the code:
<Grid> 
        <telNavigationControls:RadTabControl x:Name="mainTabControl" Grid.Row="0" HorizontalAlignment="Stretch" 
                VerticalAlignment="Stretch" DisplayMemberPath="Content" DropDownDisplayMode="Collapsed" ScrollMode="Viewport"  
                Background="#dde1ea" telControlsControls:StyleManager.Theme="Windows7" SnapsToDevicePixels="True" SelectedIndex="0"
 
            <!--FIRST TAB ITEM--> 
            <telNavigationControls:RadTabItem Header="Tab 1"
                <telNavigationControls:RadTabItem.Content> 
                    <telDockingControls:RadDocking HasDocumentHost="False"
                        <telDockingControls:RadSplitContainer > 
                            <telDockingControls:RadPaneGroup > 
                                <telDockingControls:RadPane Title="Tab1" Style="{StaticResource TelerikRadPaneStyle}"/> 
                            </telDockingControls:RadPaneGroup> 
                        </telDockingControls:RadSplitContainer> 
                    </telDockingControls:RadDocking> 
                </telNavigationControls:RadTabItem.Content> 
            </telNavigationControls:RadTabItem> 
 
            <!--SECOND TAB ITEM--> 
            <telNavigationControls:RadTabItem Header="Tab 2"
                <telNavigationControls:RadTabItem.Content > 
                    <telDockingControls:RadDocking HasDocumentHost="False"
                        <telDockingControls:RadSplitContainer > 
                            <telDockingControls:RadPaneGroup > 
                                <telDockingControls:RadPane Title="Tab2" Style="{StaticResource TelerikRadPaneStyle}"/> 
                            </telDockingControls:RadPaneGroup> 
                        </telDockingControls:RadSplitContainer> 
                    </telDockingControls:RadDocking> 
                </telNavigationControls:RadTabItem.Content> 
            </telNavigationControls:RadTabItem> 
        </telNavigationControls:RadTabControl> 
 
    </Grid> 

On each RadPane is applied simple Style, which changes also the TitleTemplate. Here is it:
 <Style x:Key="TelerikRadPaneStyle" TargetType="{x:Type telDockingControls:RadPane}"
            <Setter Property="CanUserPin" Value="False" /> 
            <Setter Property="CanFloat" Value="True" /> 
            <Setter Property="CanUserClose" Value="False" /> 
            <Setter Property="ContextMenuTemplate"
                <Setter.Value> 
                    <DataTemplate> 
                        <telNavigationControls:RadContextMenu Visibility="Collapsed" /> 
                    </DataTemplate> 
                </Setter.Value> 
            </Setter> 
            <Setter Property="TitleTemplate"
                <Setter.Value> 
                    <DataTemplate > 
                        <Grid > 
                            <Grid.ColumnDefinitions> 
                                <ColumnDefinition Width="Auto" /> 
                            </Grid.ColumnDefinitions> 
                            <Button Grid.Column="0" Width="100" Content="Test Button" HorizontalAlignment="Center"/> 
                        </Grid> 
                    </DataTemplate> 
                </Setter.Value> 
            </Setter> 
        </Style> 

And here is the problem. When I start my application, the first RadPane in first RadTabItem is with applied style, but when I select second RadTabItem, the RadPane in this item is withou applied style.

Can you please tell me where is the problem or what I'm doing wrong ?

Thank You.

Stefan.



Miroslav Nedyalkov
Telerik team
 answered on 05 May 2010
4 answers
217 views
I want to have 2 panes, one larger than the other with a split vertically. I was these panes to be stretched to the size of their container, in this case a grid row. So I have this

        <telerikDocking:RadDocking x:Name="radDocking" Grid.Row="2">
            <telerikDocking:RadSplitContainer InitialPosition="DockedTop" Orientation="Horizontal" VerticalAlignment="Stretch">
                <telerikDocking:RadPaneGroup telerikDocking:ProportionalStackPanel.RelativeSize="200, 200">
                    <telerikDocking:RadPane Header="pane" />
                </telerikDocking:RadPaneGroup>
                <telerikDocking:RadPaneGroup telerikDocking:ProportionalStackPanel.RelativeSize="400, 200">
                    <telerikDocking:RadPane Header="pane" />
                </telerikDocking:RadPaneGroup>
            </telerikDocking:RadSplitContainer>
        </telerikDocking:RadDocking>

However, this doesn't stretch to the grid row height. How can I get this to happen?

Thanks
Miroslav Nedyalkov
Telerik team
 answered on 05 May 2010
1 answer
76 views
I have an MVVM application

View contain:
<telerik:InformationLayer x:Name="informationLayer"  > 
   <Border  
        telerik:MapLayer.Location="{Binding Path=LocationData.CurrentLocation}"  
    Background="#00FFFFFF">..... 

ViewModel contain:
public Location CurrentLocation 
    get 
    { 
         return panel.CurrentLocation; 
    } 
    private set  
    { 
         panel.CurrentLocation = value; 
         OnPropertyChanged("CurrentLocation"); 
    } 

If i start app and change CurrentLocation value binding works normally,
but if before it move map bindnig dies..

???

PS work with RadControls for WPF 2010 1 0422
Andrey
Telerik team
 answered on 05 May 2010
3 answers
209 views
I am looking for a 3D Bar Chart control, where multiple data series can be plotted at a different Z axis value. There is a sample example available on CodeProject: http://www.codeproje...t_control.aspx.

The solution addresses what I need, but I was wondering if Telerik has an equivalent solution (With better look and feel).

I didn't see anything similar to this in the sample browser. I wanted to know if I can achieve something similar from current offering. If not do you plan to add something similar in near future?
Velin
Telerik team
 answered on 05 May 2010
1 answer
232 views
Hello,
      I just recently started using Telerik controls for WPF and to be honest have found the documentation to be quite disorganized. It seems that everything wants to take you back to the demo project, which offers nothing but a sample of what the control CAN do, not how to do it, weird.....anyways, I am trying to do something very simple, which is to change the colors of the bars on a bar graph, or more generally, the colors of the lines on any type of graph. I have the graph working, it is data bound, and it looks great, but the default color of the bars make the graph blend in too much to the rest of the interface. Any suggestions?  It seems like is should be a simple property of the graph, but I cannot find it.
Velin
Telerik team
 answered on 05 May 2010
3 answers
93 views
This seems like a pretty simple request so I am hoping there is an easy way to satisfy it.  Can we easily change the text of the insert new row label?  I believe it starts out as insert new record or something along those lines and we would like to change the text to something else.  Is this easily possible?
Milan
Telerik team
 answered on 05 May 2010
1 answer
118 views
I would like to have an empty, editable row in a telerik grid always available. When the user first selects this empty row or a cell in it, I would like the grid to then add a new row. Could you provide sample code for this? Thank you.
Milan
Telerik team
 answered on 05 May 2010
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?