Telerik Forums
UI for WPF Forum
3 answers
261 views
Whenever I place a RadDocking control in my views (usually UserControl) in order to have RadSplitContainer, RadPane, etc that I can rearrange, tear off etc. I loose the ability to manipulate the view in the Design pane of the designer.  Everything looks fine, I can edit the Xaml to my heart's content, and when I run the application everything works great.

But Clicking anywhere in the Design half of the designer just highlights the rectangle of the entire RadDocking control.  This makes it impossible to click on any child controls.  The focus is normally synchronized between the Xaml and Design halves of the designer, so moving the caret in the Xaml moves the focus in the Design, and vise-versa.  But once a RadDocking is added as a containing control, all that stops working.

I can live without the abilitity to actually change the child controls directly in the Design view because I almost always just directly edit the Xaml.  But the loss of the ability to select and more so the synchronized highlight is really killing my productivity on complex views. Namely because when there are many nested controls and a LOT of Xaml I can't just "jump" to the correct markup by clicking the control, and conversely when I click on Xaml markup I can no longer see in Design exactly which control I'll be effecting with changes.

So is the problem I'm having with the RadDocking and designer interaction a deficiency in the control, the VS2013 designer, or something else?
Georgi
Telerik team
 answered on 30 Sep 2014
2 answers
197 views
Hello,

is there any possibility to limit the usable diagram area to the page size (specified using primitives:BackgroundPageGrid.PageSize)?
At the moment, I have only the unimpressive lines from the BackgroundPageGrid - the user can still move the shapes outside of this area (where they won't be visible when the diagram is used as dashboard in action).

Alex
Alexander
Top achievements
Rank 1
 answered on 30 Sep 2014
4 answers
106 views
Hi I have problem in RadCalendar, when I press left or right, everything forks fine. But When I press up, selected date moves diagonally up, and when I press down selected date moves diagonally down
Kalin
Telerik team
 answered on 30 Sep 2014
0 answers
157 views
Guys, try this diagram puzzle and finish it, dont publish the answers here just say the message at the end .Good luck

[code]http://creately.com/diagram-hack/[/code]
Evan
Top achievements
Rank 1
 asked on 30 Sep 2014
6 answers
383 views
Hello @all,

our problem is the RadTreeView always jumping to the top when wrapped like in the xaml below. It took a long time to find out, but in this way I was able to reproduce it. We disabled the ScrollViewer of the RadPanelBar so we can scroll to certain items in the TreeView in the original context.

Expand the RadPanelBarItem, scroll down, select an item there. Move the GridSplitter or just resize the window and the RadTreeView's ScrollViewer jumps back to the top.
Change the RadTreeView and its items to the standard WPF TreeView and items and it stays scrolled where it is. Unfortunately we would be missing certain features of the RadTreeView we would like to use.

<Grid>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <Controls:RadPanelBar ScrollViewer.HorizontalScrollBarVisibility="Disabled" 
                                      ScrollViewer.VerticalScrollBarVisibility="Disabled">
        <Controls:RadPanelBarItem>
            <Controls:RadTreeView Grid.Column="0" 
                                  HorizontalAlignment="Stretch"
                                  Animation:AnimationManager.IsAnimationEnabled="False">
                <Controls:RadTreeViewItem Header="1">
                    <Controls:RadTreeViewItem Header="2" />
                    <Controls:RadTreeViewItem Header="2" />
                     <!-- Insert items until the vertical scroll bar can scroll down -->
                </Controls:RadTreeViewItem>
            </Controls:RadTreeView>
        </Controls:RadPanelBarItem>
    </Controls:RadPanelBar>
    <GridSplitter Grid.Column="0" Width="3" HorizontalAlignment="Right" />
    <Button Grid.Column="1">Test</Button>
</Grid>


Any ideas how we could fix this?

Kind regards,
M. Lohmann.
Petar Mladenov
Telerik team
 answered on 30 Sep 2014
5 answers
641 views
Dear Concerned

I have checked documentation for Bar code 128 and other barcodes but not able to get how to print it.
I have reached to barcode silveright and WPF . Where it is explained that
Private void Button_Click( object sender, RoutedEventArgs e)
{
   PrintDocument document =  new PrintDocument ();
    document.PrintPage += (s, args) =>
    {
       args.PageVisual = this.radBookItem1;
    };
    document.Print("Silverlight Printing Demo");
};

but not getting "PrintDoument" dll, Also if feasible please provide sample in vb.net

Thanks in Advance.
paul
Top achievements
Rank 1
 answered on 30 Sep 2014
1 answer
191 views
I have ribbon with contextual tabs.

01.<telerik:RadRibbonWindow x:Class="WpfApp.MainWindow"
04.        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
05.        Title="MainWindow" Height="350" Width="525">
06.    <telerik:RadRichTextBoxRibbonUI>
07.        <telerik:RadRibbonTab Header="Tab1">
08.            <telerik:RadRibbonGroup Header="BBB">
09.                <telerik:RadToggleButton Name="ToggleButton" Content="Show" />
10.            </telerik:RadRibbonGroup>
11.        </telerik:RadRibbonTab>
12.         
13.        <telerik:RadRibbonTab ContextualGroupName="TestTab" Header="Tab2">
14.            <telerik:RadRibbonGroup Header="AAA">
15.                <telerik:RadRadioButton Name="TARGET_BUTTON" Content="ClickMe" />
16.            </telerik:RadRibbonGroup>
17.        </telerik:RadRibbonTab>
18.         
19.        <telerik:RadRichTextBoxRibbonUI.ContextualGroups>
20.            <telerik:RadRibbonContextualGroup Header="Test" IsActive="{Binding IsChecked, ElementName=ToggleButton}" Color="BlueViolet" GroupName="TestTab" />
21.        </telerik:RadRichTextBoxRibbonUI.ContextualGroups>
22.    </telerik:RadRichTextBoxRibbonUI>
23.</telerik:RadRibbonWindow>


 I try get access to element with name "TARGET_BUTTON" with UI Automation API.
01.var app = AutomationElement.RootElement.FindFirst(TreeScope.Children, new PropertyCondition(AutomationElement.NameProperty, "My Application"));
02.var allChildren = TreeWalker.RawViewWalker.GetParent(app).FindAll(TreeScope.Descendants, Condition.TrueCondition);
03. 
04.foreach (AutomationElement automationElement in allChildren)
05.{
06.    try
07.    {
08.        if (automationElement.Current.AutomationId == "TARGET_BUTTON")
09.        {
10.            Console.WriteLine("{0} ({1})", automationElement.Current.ClassName, automationElement.Current.AutomationId);
11.        }                  
12.    }
13.    catch { }
14.}

But this code don't find the button.
If I set in line 20 IsActive="true" then I can find the button.
I use last version of UI for WPF.
Kiril Vandov
Telerik team
 answered on 29 Sep 2014
2 answers
218 views
Where should i attach the event to make it work properly?

Now i attach it to a RadPane, but it only works aslong as some objeckt inside the RadPane is focused. If i have the "frame" of the RadPane focused, say after i reposition it, the KeyDown will not fire. 

I have tried to attach the event to almost every object above the RadPane in the hierarchy but no luck so far...

Pseudu:

Grid
  RadDocking
    RadSplitContainer
      RadPaneGroup   <-- Inside here we dynamically add RadPanes
    /RadSplitContainer
  /RadDocking
/Grid



Alek
Telerik team
 answered on 29 Sep 2014
2 answers
511 views
Hi there,

I'm having some strange troubles with the RadGridView. I'm populating the grid dynamically in code behind in the Loaded event because the number of columns needed is not known at design time. So far so good and after the data is loaded the grid looks fine. Column and row virtualization are enabled by default, vertical scrolling works and performance is really good. BUT horizontal scrolling does look really strange. The column headers do not move at all and the visible cells just move out to the left side of the grid while something that looks like empty grid rows moves into view by scrolling further to the right. This happens out of the box before I even start fiddling around with the various properties of the RadGridView.

If I turn off column virtualization part of the issue goes away. Headers still don't move and performance of loading and scrolling becomes really bad because there can be hundreds of columns. I tried to change almost every setting on the grid but I can't seem to get rid of the problem...

Regards,
Marcel
Yoan
Telerik team
 answered on 29 Sep 2014
1 answer
273 views
I'm building a prototype of an application that will utilize offline data from OpenStreetMap.org. So far, I spun up a new WPF project and threw together a quick RadMap using the OSM data provider. The application works but now I want implement a local data source. I downloaded a small dataset from the OSM website. The data is an OSM file and contains XML.

How do I use this file with the RadMap control? I'm new to the RadMap control but have worked with .NET / XML / GIS for years.

Thanks!
Pavel R. Pavlov
Telerik team
 answered on 29 Sep 2014
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?