Telerik Forums
UI for WPF Forum
2 answers
192 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
104 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
376 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
632 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
189 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
214 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
500 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
267 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
5 answers
307 views
Hello,

I'm using your ChartView in combination with a TreeView and selectable series. I have bound the series visibility to a Checked-Property on my series elements. When I check some series they are drawn in the Chart and the axis scales accordingly. But there is one problem: It does only increase the displayed range and there is no change when I disable the series that caused the range-adaption. So I'm looking for a way to tell the Chart that it must auto-range the whole display area so I have the best view on it. I haven't found such a method and the frameworks UpdateLayout(), Arrange() don't work. Is there any way to accomplish that?

Thanks in advance!

Best regards,
Peter Schmidt
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
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?