Telerik Forums
UI for WPF Forum
1 answer
283 views
Hi,

Previously I was using RadGridView with RadDataForm.
When IsSynchronizedWithCurrentItem property setted to True value, this controls working synchronous.

I needed Hierarchical items on some modules and I solved this problem with RadGridView.
But hierarchical data very complex for last user on RadGridView, that's not user-friendly.

I decided on the RadTreeListView after that, and I solved this with hierarchical TreeListView.
But there's a problem, IsSynchronizedWithCurrentItem setted True but RadTreeListView with RadDataForm not working synchronous.

How can solve this problem?

<telerik:RadTreeListView x:Name="mRadTreeListView"
                     IsReadOnly="True"
                     AutoExpandItems="True"
                     AutoGenerateColumns="False"
                     CanUserFreezeColumns="False"
                     ItemsSource="{Binding Items}"
                     IsSynchronizedWithCurrentItem="True"
                     RowIndicatorVisibility="Collapsed"
                     RowDetailsVisibilityMode="Collapsed">
    <telerik:RadTreeListView.ChildTableDefinitions>
        <telerik:TreeListViewTableDefinition ItemsSource="{Binding Children}" />
    </telerik:RadTreeListView.ChildTableDefinitions>
</telerik:RadTreeListView>
<telerik:RadDataForm x:Name="mRadDataForm"
                     ItemsSource="{Binding Items}"
                     VerticalAlignment="Top"
                     LabelPosition="Above"
                     AutoGenerateFields="False"
                     CommandButtonsVisibility="All"
                     AutoCommit="True">
</telerik:RadDataForm>
Vera
Telerik team
 answered on 10 Mar 2014
1 answer
223 views
I am trying to implement one of the screen in my project using RadWindow, and I wanted to do it as a singleton within the entire application.  This RadWindow will be shown as modal from time to time.   I know that using wpf windows, doing this will give you an invalidoperationexception:

win.ShowDialog();
win.Close();
win.ShowDialog();


I see that RadWindow is not derived from Window, so my question is, is it safe for me to do show or reopen the RadWindow even after it has been closed?
Kalin
Telerik team
 answered on 10 Mar 2014
3 answers
201 views
I'm using RadDataForm for the first time and to mr it seems there's an uncommon behavior. I've bound MyRadDataForm.ItemsSource to a property called 'UserList' which is of type 'ObservableCollection<UserViewModel>'. When I load users from database and add them to the ObservableCollection, then UI/RadDataForm gets updated via INotifiyPropertyChanged.

Now I want to refresh the displayed data so I clear the collection (UserList.Clear()), get the users from database again and then re-add those users to the collection (UserList.AddRange(usersFromDatabase). The problem is my UI doesn't get updated anymore. It seems that RadDataForm is only updating one time.
Dimitrina
Telerik team
 answered on 10 Mar 2014
1 answer
137 views
Hi,

Extra X and Y axis lines shows up on RadChart. For fixing this issue we need to write extra code to remove these extra lines.
Please refer document attached for more details.



To solve this issue we need to remove that extra line in code for X axis and Y axis separately.
(Code Snippet Below)

private void
HideUnusedAdditionalAxis()

        {

            FrameworkElement lastAxisObject =
null;

            FrameworkElement
notZeroItemAxisObject = null;

            var axisX2DObjects =
RelationshipSummaryDepositMonthlyBalanceChart.ChildrenOfType<AxisX2D>();

 

            foreach (var axisX2D in
axisX2DObjects)

            {

                axisX2D.Visibility =
System.Windows.Visibility.Hidden;

                lastAxisObject = axisX2D;

                if (axisX2D.Items.Count != 0)

                {

                    notZeroItemAxisObject =
axisX2D;

                }

            }

            if (lastAxisObject != null)

                (notZeroItemAxisObject ??
lastAxisObject).Visibility = System.Windows.Visibility.Visible;

        }

Peshito
Telerik team
 answered on 10 Mar 2014
5 answers
634 views
I'm trying to follow the tutorial here. http://www.telerik.com/help/wpf/radtreeview-styling-and-appearance-styling-radtreeviewitem.html

However, when I did the same thing, I couldn't find the option for editing a copy of the default style. The only option I had is creating an empty one which doesn't include anything thing. I also tried ItemContainerStyle, no luck also.




Did I miss anything?

Rellik
Top achievements
Rank 1
 answered on 10 Mar 2014
1 answer
133 views
Hi,

I have a simple text box where I would like to use a SpellChecker for norwegian language.
Can you give me any guidelines how I can do that?

Thanks
Petya
Telerik team
 answered on 07 Mar 2014
2 answers
160 views
I've just updated to the latest version of the WPF controls, and the little drop down button is not working on the document host in a docking window. The button highlights and clicks, but there's no drop down menu. This used to work, so I'm assuming some default property has been altered - or there's a bug?
Jason
Top achievements
Rank 1
 answered on 07 Mar 2014
8 answers
722 views
I want the value with the formatting characters. I was under the impression that I could bind to the Text property of the RadMaskedTextInput to do just that. However, the data binding doesn't work. It works fine if I bind to the Value property, but I don't get the formatting characters I want.
Petar Mladenov
Telerik team
 answered on 07 Mar 2014
2 answers
102 views
Hi. Please help to find solution. I tried to use following sample application attached here in thread below.
http://www.telerik.com/forums/y-axis-values-on-radcartesianchart-with-zoom
Here I see same issue which I can't resolve in mine application.

To reproduce it please do following:
1. Open sample app.
2. Select with mouse some part of chart, then release mouse.
Now notice values on that Y-axis are changed, but chart line not fit region from top to bottom. There is lot of space to top or bottom, depends on which initial area was selected.
3. Now touch scrollbar and move it a bit. You see that now chart line fit region completely.

Question here. Is there any way to force chart redraw asap after zoomed with mouse, so chart line will fit new Y-axis.

Thanks in advance.
alex.z
Top achievements
Rank 1
 answered on 07 Mar 2014
3 answers
766 views
I am attempting to use  RadPanelBar as accordion panel, where all the items are independently expanded or collapsed.
When I do the data binding though, all the controls are appearing in the header.
After looking around, I understand that I need to use a hierarchical data template. I would greatly appreciate any pointers or sample code in achieving this.
Boris
Telerik team
 answered on 06 Mar 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
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?