Telerik Forums
UI for WPF Forum
1 answer
247 views
I try to write a sql editor with the RichTextBox control binding to a sql source. I have write my own TxtFormatProvider to colorize the keyword. It's work fine when the document is import but I don't understand how to invoke the FormatProvider when the text change but user input. I think i need to process all the content of the sql editor to have the right token color.
Mike
Telerik team
 answered on 24 Aug 2011
3 answers
271 views
I'm using a RadCarousel control bound to a collection of custom objects.  What I want to do is have a textblock's text property bound to one of the current top most item's string properties.  So, as the carousel is moved, the text block will automatically update and show the appropriate string value.  If I bind to the RadCarousel's selectedItem property it only shows me the string value when I click on a panel object.  Is there a way to bind to the object that is topmost?
Maya
Telerik team
 answered on 24 Aug 2011
0 answers
107 views
Hi, How do I enable "SelectAll" by default in my grid columns? My scenario is much like Excel and I want all the elements to be "Checked". Please let me know.

Thanks,
Fahad
Fahad
Top achievements
Rank 1
 asked on 24 Aug 2011
2 answers
205 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
105 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
379 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
111 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
384 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
259 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
302 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
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
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?