Telerik Forums
UI for WPF Forum
1 answer
149 views
Hi,
   Do you have any example for Half Circle Gauges with Numeric Indicator?
   I can't find one. 
   When tried to do it myself, the digits overrides the arrow indicator. It doesn't look nice.
   Any examples? Any ideas?

Guy.
Andrey
Telerik team
 answered on 27 Aug 2010
2 answers
158 views
Hello,

I have a RadGridView with six columns defined and where the first column is a checkbox. When inserting a new row in this grid the checkbox is checked and one set of column are mandatory to set values. The user can uncheck this checkbox which results in a different set of columns are mandatory to set values. However the cell validation is not updated in the GUI until I leave the tabcontrol och returns to it.

Any ideas how to solve this?

Best regards / Anna

Rudis
Top achievements
Rank 1
 answered on 27 Aug 2010
1 answer
99 views
Hello, 
 
 I have a telerik grid(Grid A) which is binding with the Observablecollection<parentbusinessobject>. and it contains a rowdetails template of another telerik grid(Grid B). Also inner grid(Grid B) is binding to the Observablecollection<childbusinessobject>.

I have added a button as cell template in the inner grid row (Grid B) as user click the button will add the particular item in to the shopping basket.  

It is working fine with mouse click event and I want to reach the same functionality using the keyboard events (F4) as well. 

Thanking You
 
Milan
Telerik team
 answered on 27 Aug 2010
2 answers
83 views
Hello,

I have a radgridview with a gridviewcombobox column which is bound to a collection. So all the rows in that particular column will show the entries in the collection. In the first row of that column, I want to filter the collection. i.e for the first row i want to display only 'yes' in the combobox were as in the rest of the rows I want to display 'yes','no','none'. Is there any way to filter only certain rows in a bound gridviewcombobox column.

Please help.


Thanks in Advance,
Norbert John
Norbert John
Top achievements
Rank 1
 answered on 27 Aug 2010
4 answers
298 views
Hello All,

I am sure this was answered already, but I cannot seem to find it using any of my searches.

We have a RadGridView with quite a bit of data.  We are filtering on a column, but all of the unique values in that column do not show up in the filter list to select them.  The list seems to just stop and not display anything else after a certain point.

Is there a limitation on the number of items that appear in this list?  If so, what is the count and how can we turn off this list if the count is greater than the max.  (using a style preferably).

We are using Q1 2010 SP2 of the controls.

Thanks in advance,
Chris
Chris Andrews
Top achievements
Rank 1
 answered on 26 Aug 2010
1 answer
77 views
Hi there!

I'm searching for a way to make a treeView with two types os objects:

A. 
  |_ D.
  |     |_F.
  |     |_3
  |_ E.
  |_ 1
  |_ 2
B.
C.

Character are Files Type (Keys), and numbers as objects (Values)
I can't find a way to mix up the two types in the same Hineritance.
If someone have a solution? Please tell me.

Best Regards

Valerio
Miroslav
Telerik team
 answered on 26 Aug 2010
3 answers
395 views
Hi.
There's a way to Bind the LoadOnDemand Event to a Command in a MVVM Pattern.
I'm using Galasoft MVVM Light in my application and I load the data from WCF services. All is ok, but now I've to manage the LoadOnDemand Event without breaking the MVVM pattern.

I've tryied using the EventToCommand of Galasoft and its works fine. This is the XAML code
<UserControl 
  x:Class="FB_BridgeArchive.View.JobsView"
  xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
  xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF4"
  xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"
  mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="400"
  DataContext="{Binding Jobs, Source={StaticResource Locator}}">
  
  <UserControl.Resources>
    <DataTemplate x:Key="CategoryTemplate">
      <TextBlock Text="{Binding Description}" />
    </DataTemplate>
    <HierarchicalDataTemplate x:Key="LevelTemplate" ItemsSource="{Binding Categories}" ItemTemplate="{StaticResource CategoryTemplate}">
      <TextBlock Text="{Binding Description}" />
    </HierarchicalDataTemplate>
    <HierarchicalDataTemplate x:Key="TeacherTemplate" ItemsSource="{Binding Levels}" ItemTemplate="{StaticResource LevelTemplate}">
      <TextBlock Text="{Binding Name}" />
    </HierarchicalDataTemplate>
  </UserControl.Resources>
    
  <StackPanel Orientation="Vertical">
    <telerik:RadTreeView x:Name="jobTreeView" Margin="8" ExpanderStyle="{StaticResource ExpanderStyle}"
                         IsLoadOnDemandEnabled="True" IsExpandOnSingleClickEnabled="True"
                         ItemTemplate="{StaticResource TeacherTemplate}" ItemsSource="{Binding Path=Ds.Teachers}">
    <i:Interaction.Triggers>
      <i:EventTrigger EventName="LoadOnDemand">
        <cmd:EventToCommand PassEventArgsToCommand="True" Command="{Binding LoadOnDemand}" />
      </i:EventTrigger>
    </i:Interaction.Triggers>
  </telerik:RadTreeView>
  </StackPanel>
</UserControl>
As you can see I call the LoadOnDemand Command in my ViewModel.
Now, in the ViewModel I've the followind method to handle the LoadOnDemand:
private void HandleLoadOnDemand(RadRoutedEventArgs e)
{
  RadTreeViewItem item = e.OriginalSource as RadTreeViewItem;
  if (item.Item.GetType() == typeof(WcfTeacher))
  {
    Ds.LoadLevels(item.Item as WcfTeacher);
  }
  else if (item.Item.GetType() == typeof(WcfLevel))
  {
    Ds.LoadCategories(item.Item as WcfLevel);
  }
  else
    item.IsLoadOnDemandEnabled = false;
}
It works, but with a problem.
When you click on an item, the method is called and the items are loaded, but you don't see them on the TreeView. You need to click on the item one more time in order to see the item expanded.
Why? 
I've forgotten something, or there's some other problems?
Maybe it's the wrong way to bind the LoadOnDemand event, but there's a better way? 

Thanks a lot and regards.
Andrea
Miroslav
Telerik team
 answered on 26 Aug 2010
1 answer
84 views
Hello,

Can you tell me what events do occur when I use the needle interactive within a gauge?

David Groenewegen
Andrey
Telerik team
 answered on 26 Aug 2010
1 answer
196 views
What is the best way to bind the items of a carousel to a column (images that are of type byte[]) of a gridView which is itself bound to a database table.  I ultimately want to populate the carousel with only the images from the selected rows in the gridView.  Any pointers would be appreciated.

Thanks,
Nate
Maya
Telerik team
 answered on 26 Aug 2010
1 answer
378 views
i have this grid

 

 

<telerik:RadGridView x:Name="grid" ItemsSource="{Binding Path(ns:class.property)}"

 

 

 

SelectionMode="Single"

 

 

 

ShowGroupPanel="False" AutoGenerateColumns="False" CanUserDeleteRows="False" CanUserFreezeColumns="False" CanUserInsertRows="False" CanUserReorderColumns="False" CanUserResizeColumns="False"

 

 

 

RowIndicatorVisibility="Collapsed" Controls:StyleManager.Theme="Office_Black" EnableColumnVirtualization="False" EnableRowVirtualization="False" IsFilteringAllowed="False" Controls:RadControl.Theme="Office_Black" ReorderColumnsMode="None"
/>

now when i try to change selected item from code like this:

grid.SelectedItem = Collection[0];

the grid.SelectedItem stays null
even though Collection[0] is not null

i tried to call OnApplyTemplate before assignment but it didn't helped

i tried to do it with two way data binding and it didn't helped too

what can cause this?
and how can i solve it?

thanks

 

 

igal a
Top achievements
Rank 1
 answered on 26 Aug 2010
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
SplashScreen
Rating
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?