Telerik Forums
UI for WPF Forum
8 answers
185 views

Hello,
I am using your tileView in my app.
I am using a tile that every item in it is itself a tileView of user controls.
I am having an exception when I switch the itemsource of the outer tile (which effects the inner ones as well as they are binded to it).
The big tile's itemsource is binded to a treeview's itemsource. 
Whenever there is a change in the treeview's collection (the tree has checkboxes the decide which tiles will be visible) I am updating the binding manually (getting the binding expression and updating).
In a converter I convert the collection (a ListCollectionView of the viewmodel class of the user controls, filtered into groups) that I got from the tree to a collection that contains only the groups that are checked in the checkboxes (the groups are the outer tileItems). 
In the converter I copy the collection and delete only the groups that are unchecked (not supposed to be visible).
The user controls within each group are binded to a boolean property that tells the visibility of the items (with a converter).
The problem is that sometimes when I update the binding, I get notification of a tilePositionChanged of the inner tileView (that contains the user controls). 
The position that I get is -1, and that value does not come from my viewmodel (I checked).
Than I get an exception thrown because the tileView tries to put an item's column property to -1.
This does not happen every time, only when checking or unchecking an item and than I refresh the binding of the bigger TileView(which the inner ones are binded to).

I hope you have enough data.
unfortunately i can't attach the code.

Thank you in advanced,
Tamir.

Zarko
Telerik team
 answered on 09 Apr 2014
3 answers
227 views
I'm using WPF/MVVM

For all parent rows that have Employees.Count > 0, I need to have the row details expanded. Can you tell me how to do this. Again, I'm using MVVM and NOT using events. This needs to be done with binding.

Thanks
Yoan
Telerik team
 answered on 09 Apr 2014
1 answer
96 views
Hi all,
I currently have a problem with applying Style for TextBlock when TextBlock is in RadDocking control. I have a simple example below.

- The app will use Windows8Theme

public App()
{
    StyleManager.ApplicationTheme = new Windows8Theme();
}

The TextBlock is set with FontWeight Bold.

<telerik:RadDocking Grid.Row="1" HasDocumentHost="False">
    <telerik:RadSplitContainer Orientation="Horizontal">
        <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 200">
            <telerik:RadPane PaneHeaderVisibility="Collapsed">
                <Grid>
                    <TextBlock FontWeight="Bold" Margin="50" Foreground="Green" Text="HIHI" />
                </Grid>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>

In the designer it was correctly displayed

http://i.imgur.com/dRAuixu.png

But in runtime it was not

http://i.imgur.com/F1Cchw1.png

I think that setting ApplicationTheme in App() has overwritten the Style of TextBlock.

Question: What should I do to keep FontWeight of TextBlock from overwriting by StyleManager?

Vladi
Telerik team
 answered on 09 Apr 2014
1 answer
173 views
Hi,
I am having multiple issues around the mini tool bar, the main issue is that when a user uses the select all command(Ctrl + a) this tool bar doesn't show.
Second issue is the tool bar visibility is very temperament so is there anyway to make it permanently visible when there are selected items - and possibly add the ability to move/dock this.
Any help would be appreciated.
Thanks
-Chris
Petya
Telerik team
 answered on 09 Apr 2014
3 answers
115 views
Hi,

I create a custom data template for my appointments and I always have a vertical white bar at the left of each cell (picture enclosed). I would like to know if it's possible to remove it.

Thank's
Alain
Kalin
Telerik team
 answered on 09 Apr 2014
1 answer
84 views
Hi,

I have a UserControl which contain a RadScheduleView with a WeekViewDefinition. In my control, I would like to have a DependencyProperty to set the number of minutes (int) for the MinorTickLength. I would like to know how I can acheive this.

Thank's
Alain
Kalin
Telerik team
 answered on 09 Apr 2014
3 answers
106 views
Hi Telerik,

I want to adjust all my axis values on a radcartesianchart.

See the attached image "before changing y-axis values.JPG" and "after adjusting the y-axis value.JPG".

These images shows a change in the y-axis which is done by draggin the horizontal line up or down.

Is it possible to do something like this using telerik?

Best regards,
Jeppe
Unisense
Top achievements
Rank 1
 answered on 09 Apr 2014
1 answer
354 views
How to get a selected item of a child treeview programmatically 
Martin Ivanov
Telerik team
 answered on 09 Apr 2014
1 answer
183 views
Hi,

I have this scenario: I want to create from code behind some RadDiagrams, then export every diagram to a single PNG image without open and display the raddiagram.

Below there is my two solutions of code which don't  work. IN particular, the stream is always empty.
1)

        var myGraphSource = new GraphSource(); //this contains a list of shapes and connections
       var diagram = new RadDiagram();
       diagram.GraphSource = myGraphSource ;
        diagram.SelectAll();
         using (var stream = new MemoryStream()) {
                       diagram.ExportToImage(stream, margin: new Thickness(0,0,0,0), backgroundBrush: new SolidColorBrush(Colors.White));
                        image = stream.ToArray();
        }      
2) 


                    var diagramViewModel = new DiagramViewModel(myGraphSource);
                    var diagramView = new DiagramView();
                    diagramView.DataContext = diagramViewModel;
    using (var stream = new MemoryStream()) {
                       diagramView.diagram.ExportToImage(stream, margin: new Thickness(0,0,0,0), backgroundBrush: new SolidColorBrush(Colors.White));
                        image = stream.ToArray();
                    }

In both cases the code doesn't work and in the last scenario, I' ve bounded the GraphSource in the xaml. Is there a way to get my issue????
Thanks

Ciro


     
Martin Ivanov
Telerik team
 answered on 08 Apr 2014
3 answers
99 views

Hi,

I've submitted the following already as a pre-sales question, but I really need support fast so I'm also submitting it to the users.  Please let me know if anyone knows how to fix this bug, or if it's truly something with the Telerik GridView control.

Here's a link (http://1drv.ms/1hm6fJs) to my compressed solution on my OneDrive which I've shared.  The following steps will cause the test program to crash.

1. Run the application.
2. Scroll to the right so the WorldSeriesWins column is visible.
3. Click the filter icon button and set the filter to be "> 27" in the pop-up window
4. Click the "Filter" button and all rows will disappear (as expected) and the grid will scroll the whole way back to the left.
The Filter pop-up windows will still be visible and at this point click the "Clear Filter" button which causes the application to crash.

The bug seems to occur if the column is not visible.  If you were to scroll the scroll bar back to the right so the WorldSeriesWins col was visible and click the "Clear Filter" button it would not crash.

Thanks!

Yordanka
Telerik team
 answered on 08 Apr 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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?