Telerik Forums
UI for WPF Forum
3 answers
167 views
I was happily using the wpf beta 1 and developing a project prototype.  When the beta 2 was released I uninstalled beta 1 and installed beta 2 with the samples. Now when I try to drag a radgridview or gridviewdatacontrol onto the design surface in vs 2008 I get an "object reference not set to an instance of an object" error message.
I'm also getting error messages when i try to run the samples the error messages are
An error has occurred wide establishing a comection to the server. when cornectting to
sQL Server 2005, this failure may be caused by the Fact that under the default setttings
sQL sever does allow remote connections. (provider: Named Pipes Provider, error:
40
- Could not open a comection to SQL Server)

and it appears it is trying to access a non existent instance of SQLExpress.  Can anyone help with these issues?
Thanks for any assistance
Nedyalko Nikolov
Telerik team
 answered on 21 Jul 2008
1 answer
110 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
126 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
108 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
134 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
133 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
122 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
239 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
158 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
297 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
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
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
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?