Telerik Forums
UI for WPF Forum
1 answer
98 views
Good day,

I would like to know if the WPF grid control will support these features in its first release:

1- Working in a totally unbound mode (ie: AddRows, AddColumns, SetValue (row, column), etc).

2- Support joining cells to make up a seamless "bigger cell" (for example, to make multiple columns spawning headers, etc). (ex: http://cid-9eeb57eb098c0598.skydrive.live.com/self.aspx/Images/JoinedCells.JPG)

3- Locking rows and columns for scrolling.

Thank-you :)
Hristo Deshev
Telerik team
 answered on 17 Jul 2008
4 answers
113 views
Hi,

I have a controltemplate on a column.
<ControlTemplate x:Key="ComboBoxColumnTemplateReportService" TargetType="{x:Type Telerik:GridViewCell}">  
            <StackPanel Orientation="Horizontal">  
                    <ComboBox Width="150" Height="Auto" VerticalAlignment="Center" Margin="0,0,0,0" x:Name="dtcReportService" DataContext="{StaticResource objectDataProviderReportServices}" ItemsSource="{Binding}" DisplayMemberPath="Name"  /> 
                    <ComboBox Width="150" Height="Auto" VerticalAlignment="Center" Margin="8,0,0,0" x:Name="dtcPrinter" DataContext="{Binding Path=SelectedItem.Printers, ElementName=dtcReportService, Mode=Default}" ItemsSource="{Binding}" DisplayMemberPath="Name" /> 
                    <ComboBox Width="150" Height="Auto" VerticalAlignment="Center" Margin="8,0,0,0" x:Name="dtcPrinterTray" DataContext="{Binding Path=SelectedItem.PrinterTrays, ElementName=dtcPrinter, Mode=Default}" ItemsSource="{Binding}" DisplayMemberPath="Description" /> 
            </StackPanel> 
        </ControlTemplate> 

Now i want to access the template while looping my rows so i can get the selected values from my comboboxes (per row).

How can i do this?

Regards
NS
Top achievements
Rank 1
 answered on 15 Jul 2008
2 answers
94 views

The ItemSource of my RadCarousel is a datatable (which is capable of databinding according to MS).  I've added a TextBox control to my XAML definition for the ControlTemplate for the CarouselDataRecordPresenter as per the following code:

<

StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
    
<TextBox Text="{Binding Path=Fields[Answer].Value, Mode=TwoWay,
        
UpdateSourceTrigger=PropertyChanged}" FontSize="12" Foreground="Black"
        
Width="216" />
</StackPanel>

The carousel is displaying the values from the DataTable fine, but the TextBox.Text is not successfully updating the DataTable's "Answer" column.

Note that I have specified TwoWay binding (should not be necessary because that is the default mode for the TextBox control) as well as the UpdateSourceTrigger property of the binding (just to test).

This is a really annoying problem!  Now I have to try to programatically determine what the TextBox.Text value is and manually update the datasource.  Any direction on where to start doing so would be most helpful.

Milan
Telerik team
 answered on 14 Jul 2008
3 answers
112 views
As far as I can determine, the RadCarousel control does not work in WPF Browser applications.  I started my current project as a WPF Browser app and after hours of not being able to get RadCarousel to work, I copied & pasted my XAML and C# code into a WPF application and it worked just fine.

Can you confirm that this is a problem, and whether it is expected to be addressed before release?
Craig Cote
Top achievements
Rank 2
 answered on 12 Jul 2008
3 answers
118 views
Copied from my XAML code:

<

Style TargetType="{x:Type Telerik:CarouselItem}">
    <Setter Property="Template" >
        <Setter.Value>
            <ControlTemplate TargetType="{x:Type Telerik:CarouselItem}">
                <Grid ClipToBounds="False" Height="175" Width="350" >

Strangely, the Width property on the last line does make my carousel items wider/narrower, but the Height property does not.  Is this an issue (and thus subject to being fixed) or is it broken by design?

Craig Cote
Top achievements
Rank 2
 answered on 11 Jul 2008
1 answer
112 views
Not sure where to file this bug report, but when changing the ItemsSource property of the grid we sometimes get

{System.NullReferenceException: Object reference not set to an instance of an object. 
   at Telerik.Windows.Controls.UI.DistinctFilterControl.PopulateDistinctValues() 
   at Telerik.Windows.Controls.UI.DistinctFilterControl.<DistinctFilterControl_Loaded>b__0()} 

we have IsFilteringAllowed set to False if that helps.




Many thanks,

Will Holley
Hristo Deshev
Telerik team
 answered on 10 Jul 2008
6 answers
214 views
The current SortingRequested event only fires when the field being sorted implenents IComparable (seemly making the custom sort behaviour irrelevant?). In order to work around this (we want to sort at the database) I tried subclassing GridViewDataColumn so I could override CanSort() to remove this constraint. However, CanSort is not a virtual method so this doesn't work.

Do you have any suggestions to work around this behaviour? Adding a dummy IComparable implmentation to all of our entities is not really a good solution for us.

Many thanks,

Will Holley
Will
Top achievements
Rank 1
 answered on 09 Jul 2008
5 answers
141 views
Hi Guys - congratulations on Beta 2 - it's a big step forward and seems to fix most of the issues we encountered in the first release!

Just a couple of issues that have come up for us with the new release:

 1. Is it possible to turn off the filtering feature?
 2. The autofit column algorithm does not include the header text (we would expect it to)
 3. When adding field descriptions dynamically and refreshing the data, we get:

{System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.UI.DistinctFilterControl.PopulateDistinctValues()
   at Telerik.Windows.Controls.UI.DistinctFilterControl.<DistinctFilterControl_Loaded>b__0()}

Any help with these would be much appreciated,

Will Holley
Hristo Deshev
Telerik team
 answered on 08 Jul 2008
4 answers
270 views
It would be useful to be able to bind commands to LeftMouseClick (using RadGridView.InputBindings). For example,

<UI:RadGridView.InputBindings> 
     <MouseBinding Command="{x:Static Entity:EntityCommands.EditCommand}" MouseAction="LeftDoubleClick"/> 
</UI:RadGridView.InputBindings> 


However, it appears that this is not supported, even when the fields are set to readonly.

If I change the above snippet to use MiddleClick, the command is fired.

Is this a bug or intended behaviour?

Many thanks,
 
Will Holley
Will
Top achievements
Rank 1
 answered on 07 Jul 2008
3 answers
95 views
Hi Telerik Team.

Thanks for the filtering functionality in Beta 2

2 questions

1: is it possible to switch off filtering on a specific column. i haven't been able to find a property to set on the column only on the entire grid.?

2: use of the Simple theme which is provided in your examples. I believe the easiest way to set the Theme property on the grid must be Telerik:Theming.Theme="Simple"
but "Simple" is not part of the values to choose. I have added the Reference "Telerik.Windows.Controls.UI.Simple" to the project. but still its not able to set. what am i doing wrong.



Hristo Deshev
Telerik team
 answered on 07 Jul 2008
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
Book
FileDialogs
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
Rating
SplashScreen
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?