Telerik Forums
UI for WPF Forum
2 answers
177 views
Hi,
I'm using the RadTreeView, and in cases that the items of the tree are not inside the visible area,
I'm not able to make the tree scroll to the item I want.
Any idea?
Merav
Top achievements
Rank 1
 answered on 24 Aug 2011
1 answer
81 views
I have a situation where I have added a new pane to the docking control, since the software has been released.  Anyone who has used the software before I added this new pane has a file with the saved layout information.  When the software is loaded, it uses the layout file to format the dock panel. 

I'm having an issue allowing the user to display the new pane that I added.  Since it was created after the layout file was saved, it's data is not included within it.  How do I add new panes to the dock after an "out of date" layout file is loaded?
Konstantina
Telerik team
 answered on 24 Aug 2011
3 answers
314 views
How can I remove the grid lines from my RadGrid Footer and make the content be seen from the left part of the footer?


See the highlighted image on the file i'll be sharing/attaching... please help...
http://www4.picturepush.com/photo/a/6383082/img/6383082.png


Thanks

Y
Vanya Pavlova
Telerik team
 answered on 24 Aug 2011
2 answers
100 views
Hi,

with release Q2 2011 it is not possible to reorder the columns of a RadGridView with drag&drop. The drop adorner is not shown.
With release Q3 2010 this works perfectly. Are there any modifications I have to make in my code?

Best regards

Uli
Uli
Top achievements
Rank 1
 answered on 24 Aug 2011
5 answers
336 views
We recently "upgraded" to WPF 3.5 Q1 2011.  We have a RadGridView with grouping that cuts off the last detail row in each group.  In most cases only a few pixels of the last row in each group are visible.  This used to work in previous release and latest hotfixes did not help. 

Here is our XAML:
<tel:RadGridView x:Name="ListsGV" Grid.Row="2" ItemsSource="{Binding EditFormViewModelCollection}"
        IsReadOnly="True" SelectedItem="{Binding CurrentEditFormViewModel}"
        PreviewMouseDoubleClick="gridView_PreviewMouseDoubleClick"
        HeaderRowStyle="{StaticResource HeaderStyle}"
        CanUserSortColumns="False">
 
  <prism:CommandBehaviorCollection.Behaviors>
    <prism:BehaviorBinding Event="MouseDoubleClick" Command="{Binding TableSelectedDoubleClickCommand}" CommandParameter="{Binding ElementName=ListsGV, Path=CurrentItem}" />
  </prism:CommandBehaviorCollection.Behaviors>
 
  <tel:RadGridView.GroupDescriptors>
    <tel:GroupDescriptor Member="CurrentList.SystemModule" />
  </tel:RadGridView.GroupDescriptors>
  <tel:RadGridView.GroupHeaderTemplate>
    <DataTemplate>
      <TextBlock Text="{Binding Header.Description}" Margin="1,0,0,0" />
    </DataTemplate>
  </tel:RadGridView.GroupHeaderTemplate>
 
  <tel:RadGridView.Columns>
    <tel:GridViewDataColumn Header="Description" DataMemberBinding="{Binding CurrentList.Description}"
        HeaderCellStyle="{StaticResource HeaderCell}" MinWidth="300" />
    <tel:GridViewDataColumn Header="Shared Operations" DataMemberBinding="{Binding CurrentList.SharedOperation}"
        HeaderCellStyle="{StaticResource HeaderCell}" Width="*"/>
  </tel:RadGridView.Columns>
</tel:RadGridView>
Craig
Top achievements
Rank 1
 answered on 23 Aug 2011
2 answers
203 views
Hi there,
 
Question 1) Is it possible for the ScheduleView to group resources as the following?
 
Rooms
   -  Room 101
   -  Room 102
   -  ...
   -  Room 106
 ----------------------------------
 Reservations
   -  Reservation Z8329
   -  Reservation Z8342
   -  ...
   -  ...
   -  Reservation Z8451
 
Question 2) Is it possible to have different vertical scroll bar for different resource type BUT share the same horizontal scroll?
 
Please review the screenshot for more detailed drawing.
http://www.telerik.com/ClientsFiles/294371_ScheduleView.jpg
JiFong Chen
Top achievements
Rank 1
 answered on 23 Aug 2011
4 answers
269 views
Hi,
I have a problem with RadPaneGroup. I want to create RadPanes dynamically via a binding on ItemsSource of RadPaneGroup. The list for the binding is a ObservableCollection<RadPane>. Everything works as expected until it want to close these RadPanes and click on the "x"-button. The program crashes instantly with the following exception:
"Operation is not valid while ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead."

We use version 2011.1.315.35 of the Telerik components.

Viewmodel base:
public class ViewModelBase : INotifyPropertyChanged
{
  public String DisplayName { get; set; }
 
  protected void RaisePropertyChanged(string propertyName)
  {
    if (PropertyChanged != null)
    {
      PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    }
  }
 
  public event PropertyChangedEventHandler PropertyChanged;
}

Viewmodel:
public class TestViewModel : Model.ViewModelBase
{
  private ObservableCollection<RadPane> m_PaneList = new ObservableCollection<RadPane>();
 
  public ObservableCollection<RadPane> PaneList
  {
    get { return m_PaneList; }
    set
    {
      m_PaneList = value;
      RaisePropertyChanged("PaneList");
    }
  }
}

Docking definition in XAML:
<telerik:RadDocking Grid.Row="1" HasDocumentHost="True" HorizontalAlignment="Stretch" Name="radDocking1" VerticalAlignment="Stretch">
  <telerik:RadSplitContainer>
    <telerik:RadPaneGroup Name="radPaneGroup1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding Path=PaneList}">
    </telerik:RadPaneGroup>
  </telerik:RadSplitContainer>
</telerik:RadDocking>

Creation of the RadPanes:
TestViewModel testViewModel = this.DataContext as TestViewModel;
RadPane pane = new RadPane {Header = "Test"};
if (testViewModel != null)
{
  testViewModel.PaneList.Add(pane);
}
 
Am I doing anything wrong here?
Muhammad Irfan
Top achievements
Rank 1
 answered on 23 Aug 2011
5 answers
259 views
I am finding that the content of the RadDataForm control (using the Metro theme) is small. When I say "the content" I mean the fields within the RadDataForm control.

When the basic layout is used, all controls are the same size. If I add for example FontSize="16" to the RadDataForm control, I get different sizes in the rendered controls. For example:

* The DateTime field is 6 pixels taller than the ComboBox
* The regular TextBox field is 3 pixels taller than the ComboBox

Also, the RadDataForm header seems to get bolded when the font size is increased. Finally, is there a way to establish the space between the labels (on the left) and the controls (on the right)?

Thanks in advance, Marcelo.
Vanya Pavlova
Telerik team
 answered on 23 Aug 2011
1 answer
222 views
Hello,

I need to be able to update a GridViewComboBoxColumn's ItemsSource when it drops down. How can I capture the drop down event of the GridViewComboBoxColumn? An example would be appreciated.

G

p.s. I am NOT using MVVM. I am binding the GridViewComboBoxColumn using ItemsSource of a List<int>.
Maya
Telerik team
 answered on 23 Aug 2011
1 answer
177 views
Hi,

We are using the wpf RadRichText control in our project.
We have a grid control and one of the column is the rich text control and since we added the control we facing
a memory problems our application memory continue grow and it seems that the control don't free up memory.
here is the code:
<telerikRTF:RtfDataProvider SetupDocument="RtfDataProvider_SetupDocument"
                                    Rtf="{Binding ElementName=rtfControl, Path=RichText,Mode= TwoWay}"
                                    UpdateSourceTrigger="PropertyChanged"
                                    RichTextBox="{Binding ElementName=rtfControlMain}"/>
 
        <telerik:RadRichTextBox x:Name="rtfControlMain"
                                ToolTip="{Binding ElementName=rtfControl,Path=Text,Mode=OneWay}"
                                IsReadOnly="{Binding ElementName=rtfControl,Path=IsReadOnly}"
                                FontFamily="Segoe UI" FontSize="11" DocumentInheritsDefaultStyleSettings="True" Grid.Row="2"  Loaded="rtfMain_Loaded">
            <telerik:RadRichTextBox.IsSelectionMiniToolBarEnabled>
                <MultiBinding Converter="{StaticResource booleanLogicalNORConverter}" >
                    <MultiBinding.Bindings>
                        <Binding ElementName="rtfControl" Path="IsReadOnly"/>
                        <Binding ElementName="rtfControl" Path="IsToolBarVisible"/>
                    </MultiBinding.Bindings>
                </MultiBinding>
            </telerik:RadRichTextBox.IsSelectionMiniToolBarEnabled>
            <telerik:RadRichTextBox.Resources>
                <Style TargetType="TextBlock" />
            </telerik:RadRichTextBox.Resources>
        </telerik:RadRichTextBox>
Iva Toteva
Telerik team
 answered on 23 Aug 2011
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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?