Telerik Forums
UI for WPF Forum
0 answers
141 views
I am using a RadTreeListView and MVVM pattern. When I expand new item in my tree some items lost their expanders. 
 private void RadTreeListView_RowLoaded(object sender, RowLoadedEventArgs e)
        {
            TreeListViewRow row = e.Row as TreeListViewRow;

 if (row != null)
            {
                row.IsExpandable = !((TreeNodeViewModel)row.DataContext).IsEmpty;
            }
        }

TreeNodeViewModel - it's an item of tree. 

Konstantin
Top achievements
Rank 1
 asked on 10 Oct 2012
3 answers
700 views
I have been reading through the changes made to the programmatic filtering and have encountered an issue with regards to a checkbox column type within a RadGridView.

I would like to be able to filter the records that are checked but also have that show up in the filter UI.  At this time, I have followed the instructions on how to set the filter, the filter icon highlights and the data is filtered but the appropriate checkbox adjacent to the "False" value in the filter is not checked.

Here is a snippet of the code that resides within the GridLoaded event of my ViewModel.
gridView.FilterDescriptors.SuspendNotifications();
  
GridViewColumn employeeRelatedColumn = gridView.Columns["EmployeeRelatedFlag"];
IColumnFilterDescriptor employeeRelatedFilter = employeeRelatedColumn.ColumnFilterDescriptor;
employeeRelatedFilter.FieldFilter.Filter1.Value = "False";
employeeRelatedFilter.FieldFilter.Filter1.Operator = FilterOperator.IsEqualTo;
  
gridView.FilterDescriptors.ResumeNotifications();
Please advise.
Rossen Hristov
Telerik team
 answered on 10 Oct 2012
1 answer
221 views
Hi,

we use VS2008 and Telerik V2012.2.912.35 and we experiencing HUGE performance problem :(

We have a docking application with a RadRichTextBox and when we load our application, the application take about 10 sec to show up completly... If we replace the RadRichTextBox component by a standard RichTextBox component, the application load instantly....

Here is the RadRichTextBox declaratrion in our XAML file:

<telerik:RadRichTextBox Name="radRichTextPreviousReport" TabIndex="13" Grid.Row="2" IsReadOnly="True" IsSpellCheckingEnabled="False" />

Thank's

Boby
Telerik team
 answered on 10 Oct 2012
4 answers
232 views
I have a number of RadDiagramConnections (as Beziers) in a RadDiagram and need to serialize the individual connection's geometry (the beizer curve).
Basically when the user modifies the look of the bezier I need to store that so next time my model is loaded it will look exactly the same.
I don’t want to use the Diagram’s serialize as the diagram is only a representation of an MVC model.
I also build my own connections from the model but I need to somehow store/restore the bezier curve for each connection.
Help greatly appreciated.


Just a quick update: The user can control the look of the curve by two blue circular elements.  They drag either in any direction and the curve changes. All I really need is a way to get/set these "blue ui elements" and the curve will follow.
Miro Miroslavov
Telerik team
 answered on 10 Oct 2012
2 answers
229 views
Hi,
I want to double click on property name to focused in value of property.
Is it possible?
Maya
Telerik team
 answered on 10 Oct 2012
2 answers
312 views
I have just implemented the RadGridView, which was an upgrade from the standard .net DataGrid.  I have about 100 items in the grid, with about 12 columns and something as simple as a scroll moves very slow.  Scrolling is very jerky, and not smooth.  I also noticed that if I add sorting and grouping, there are random delays as new items are added to the grid.  These delays can be as long as a few seconds even though I have no more than 100 items in my grid.   I have profiled the app, and it says the hottest function call is
Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride
This can be make or break for us as we need a low latency high performance data grid.
Kayode
Top achievements
Rank 1
 answered on 09 Oct 2012
6 answers
194 views
Hello,

I have an object with a nullable int property that I am binding to the PropertyGrid.  If the int property contains a value and I clear it out, it looks like the grid has validation that requires the int to have a value even though it is nullable.  Is it possible to allow the int property to be null?

Thanks,
Blake
Blake
Top achievements
Rank 1
 answered on 09 Oct 2012
2 answers
162 views
I have an MVVM WPF app with a RadTreeListView that is populated via a Generic List<T> using nested sets from a database. Only the first column of the TreeListView gets populated. What class would be appropriate to replace the generic List so that I can pass multiple columns of data to the TreeListView?

I posted this same question, with code, on the WPF Forum of MSDN and was told that my existing approach with List<T> should work with the TreeListView.  I was also told that since the question involves a third party control, i.e., Telerik, I should move the question to the Telerik forum.

My xaml showing the data binding:
<telerik:RadTreeListView.Columns>
  <telerik:GridViewDataColumn DataMemberBinding="{Binding Tag}"
                              Header="Tag"
                              Width="Auto"/>
  <telerik:GridViewDataColumn DataMemberBinding="{Binding Description}"
                              Header="Description"
                              Width="Auto" />
  <telerik:GridViewDataColumn DataMemberBinding="{Binding ImportedEquipmentType}"
                              Header="Imported Equipment Type"
                              Width="Auto"/>       
</telerik:RadTreeListView.Columns>
The "Description" and "Imported Equipment Type" columns do not get populated.

My code for my data class is as follows. My xaml ItemSource is bound to Children:

public class TagItem
{
    public List<TagItem> _children = new List<TagItem>();
    public List<TagItem> Children
    {
        get { return _children; }
    }
    public string EquipmentID { get; set; }
    public string SystemID { get; set; }
    public string Tag { get; set; }
    public string TagNodeText { get; set; }
    public string Tag2 { get; set; }
    public string Description { get; set; }
    public string Description2 { get; set; }
    public string ImportedEquipmentType { get; set; }
    public string ManuallyAdded { get; set; }
    public string ParentID { get; set; }
    public string NodeLeft { get; set; }
    public string NodeRight { get; set; }
    public string Depth { get; set; }
    public string Mpath { get; set; }
}

The constructor for my navigator ViewModel is:
readonly EquipmentListTreeViewModel _equipmentTree;
 
public EquipmentListNavigator()
{
    InitializeComponent();
 
    // Get raw family tree data from a database.
    TagItem rootTagItem = Database.GetEquipmentTree();
 
    // Create UI-friendly wrappers around the
    // raw data objects (i.e. the view-model).
    _equipmentTree = new EquipmentListTreeViewModel(rootTagItem);
 
    // Let the UI bind to the view-model.
    base.DataContext = _equipmentTree;
}

And the service that fills the list:
public static TagItem GetEquipmentTree()
{
    nTI.Tag = "ASSET REGISTER";
    FillTreeView("", nTI);        
    return nTI;
}
 
private static void FillTreeView(string currKeyRoot, TagItem nTI = null)
{
    DataRows.MyRow row = drows.GetNextRow();
    while (row != null)
    {
        if (NodeStartsWith(row.MPath, currKeyRoot))
        {
            TagItem tnChild = new TagItem();
            tnChild.SystemID = row.SystemID;
            tnChild.EquipmentID = row.EquipmentID;
            tnChild.Description = row.Description;
            tnChild.ParentID = row.ParentID;
            tnChild.Mpath = row.MPath;
            tnChild.Depth = row.Depth;
            tnChild.Tag = row.Tag;
            tnChild.Tag2 = row.Tag2;
            tnChild.Description2 = row.Description2;
            tnChild.ImportedEquipmentType = row.ImportedEquipmentType;
            tnChild.ManuallyAdded = row.ManuallyAdded;
            tnChild.NodeLeft = row.NodeLeft;
            tnChild.NodeRight = row.NodeRight;
 
            nTI.Children.Add(tnChild);                   
            FillTreeView(row.MPath, tnChild);
        }
        else
        {
            drows.MovePrev();
            return;
        }
        row = drows.GetNextRow();
    }


All of this works except that the tree is populated only in the "Tag" column. "Description" and "Imported Equipment Type" are blank.
Rob
Top achievements
Rank 1
 answered on 09 Oct 2012
1 answer
108 views
Hi,

we use in our application the Telerik OfficeBlue theme, does anybody know how to to get the OfficeBlue theme for the GridSplitter and RadExpander component???

Both of these components are white (too many shade of white in my RadWindow) actually and the splitter doesn't have the "....." indicator so for a user it's a little bit difficult to find where he havr to achor the splitter to change his window disposition.

Thank's
Tina Stancheva
Telerik team
 answered on 09 Oct 2012
1 answer
176 views
Hi,

we use VS2008 and Telerik V2012.2.912.35 and we have a docking application with 4 pans and when we start to undock a pan, the pan we start to undock start shaking....

When the pan is is floating and we start to dock it, no problem. If we start to undock it again, the pan start shaking again.

One thing to consider, in my XAML is have such kind of binding for each RadPane:
IsHidden="{Binding ElementName=Me, Path=PaneVisibility}

This binding is to hide each RadPanel when I change the Visibility of my main window.

Any thought???

Thank's
Konstantina
Telerik team
 answered on 09 Oct 2012
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?