Telerik Forums
UI for WPF Forum
1 answer
143 views
Our code used to work before upgrading to March 09. 

  public SearchResultsPage(cRecordIndexObjectList[] recordIndexObjectList) 
        { 
            InitializeComponent(); 
 
            dt = new DataTable(); 
            General.ConvertRecordIndexObjectToTable(recordIndexObjectList, dt,null); 
 
            gvSearchResults.ItemsSource = dt
 
            // Hide the IsBold column 
            GridViewColumn columnBold = gvSearchResults.Columns["IsBold"]; 
            if (columnBold != null) 
                columnBold.IsVisible = false
 
            // Hide the RecordIndexObjectList object 
            GridViewColumn column = gvSearchResults.Columns["RecordIndexObjectList"]; 
            if (column != null) 
                column.IsVisible = false
 
            gvSearchResults.Visibility = Visibility.Visible; 
 
            lblTotal.Content = "Total Records: " + gvSearchResults.Records.Count; 
        } 

None of the columns are there and the count that I used to get on my last line is 0.

Can you please advise?

Nedyalko Nikolov
Telerik team
 answered on 18 Mar 2009
2 answers
120 views
Hello,

After upgrading to the latest version (2009.1.312.35) of the WPF Grid View my custom grid editor controls have stopped working, though they worked fine with the previous version (2008.3.1217.35).  I used ideas from a forum post to create a grid editor control that allows users to type in any value they want in the combo box so they're not restricted to just the values in the list.

Now whenever I double click to edit a cell using my custom editor control, the value gets cleared and the editor does not show up.  I have to click a third time to get the editor to appear and once it does it is blank because the value got cleared.  When I debug I can see that the DataContext is always null whereas with the previous version the DataContext was always populated with the object the row was bound to.

I can reproduce this behaviour in the ForeignKey sample project from the forum post that I linked to earlier by making the following changes.

Changed this:
            comboBoxEditor.GotFocus += ((sender, e) => 
            { 
                PersonType personType = (PersonType)((Field)this.DataContext).Value; 
                comboBoxEditor.SelectedItem = (from PersonType item in comboBoxEditor.Items 
                                               where item.PersonTypeID == personType.PersonTypeID 
                                               select item).FirstOrDefault(); 
            }); 

to this:





            comboBoxEditor.GotFocus += ((sender, e) => 
            { 
                var person = DataContext as Person; 
                if (person != null && person.PersonType != null
                { 
                    comboBoxEditor.SelectedItem = (from PersonType item in comboBoxEditor.Items 
                                                   where item.PersonTypeID == person.PersonType.PersonTypeID 
                                                   select item).FirstOrDefault(); 
                } 
            }); 

Notice how when you double click on a cell in the PersonType column, the value gets cleared.  Once you click a third time the editor will appear. 

(Please note that to get this sample project to work with the latest version of the grid I also had to change the editor settings properties to be regular properties because EditorSettings seems to no longer be a dependency object.)

I hope someone can help me with this problem.

Thanks,

Joel

JP
Top achievements
Rank 1
 answered on 18 Mar 2009
1 answer
96 views
Hi,

I had downloaded the latest DLLs in the RadControls for WPF (Version: 2009.1 312). The existing project has started giving some errors as follows:

1. The property 'IsHierarchyRoot' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'

2. The type 'telerik:GridViewBackground' was not found.

3. The type 'telerik:NavigationPresenter' was not found.

Please Advice. Is there any new DLL that need to be referred?

Regards
Ashish Garg
Hristo Deshev
Telerik team
 answered on 18 Mar 2009
1 answer
50 views
Our MouseLeftButtonDown events no longer fire.  So we changed to MouseLeftButtonUp and that works.  Why doesn't MouseLeftButtonDown work anymore?
Pavel Pavlov
Telerik team
 answered on 17 Mar 2009
3 answers
247 views
Hello!
I use the ASP.NET telerik controls and love them...

However in a new development project at my company, it has been decided to use WPF as both a desktop solution (great! Meant for that!) but also as a "web product". It will be accessible via a public site but also sold for intranet use. It is a HUGE RMS system for the fire industry. Are there any case studies using WPF application run in this way? Over the internet via browser? What are the limitations? I have not been able to find ANY information really on using WPF as a web application.

I know ASP.NET is used for web apps, but in this case, management wants to use WPF. Mainly for the single code base (Desktop/web). However, it does not appear to have been meant for web deployment based on the literature... THoughts?

Thanks
Harold
Vlad
Telerik team
 answered on 17 Mar 2009
1 answer
125 views
I installed RadControls for WPF Q1 2009.  I can't get any tools to post to the Toolbox.  I select RadCarouselPanel on the WPF tab, click OK, but nothing gets added.  I've added Telerik.Windows.Controls as a reference.
Added 3/15.  VS2008SP1 now restarts anytime I try to add a tool.  This seems to be a VS problem.  I've tried "devenv /reset and /safemode w/o success.  I see where this was a problem before SP1.  Any help appreciated; it makes it hard to use RadControls!
Added 3/17.  Toolbox now working see - Can't add items to toolbox in Visual Studio 2008
Hristo Deshev
Telerik team
 answered on 17 Mar 2009
2 answers
144 views
Hi Telerik,

In Q1 2009 when I drop down the list for the StyleManager.Theme in the IDE (Blend AND VS2008) a strange gradiant (purple to blue with a black line under) list appears for the list of themes.

I can get you a screenshot if you need it.

~Mike
Hristo
Telerik team
 answered on 16 Mar 2009
1 answer
286 views
I download and installed the latest 2009 Q1 release and the included demo examples contains a lot of errors:

XmlRepository.cs(119,11): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Employee>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Employee>)' has some invalid arguments
XmlRepository.cs(121,5): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Employee>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Employee>'
XmlRepository.cs(220,14): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Order>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Order>)' has some invalid arguments
XmlRepository.cs(220,46): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Order>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Order>'
Gauge\Gallery\CarDashboard\Example.xaml.cs(96,4): error CS1501: No overload for method 'Begin' takes '0' arguments
Gauge\Gallery\CarDashboard\Example.xaml.cs(104,4): error CS1501: No overload for method 'Stop' takes '0' arguments
Gauge\Gallery\CarDashboard\Example.xaml.cs(116,6): error CS1501: No overload for method 'Begin' takes '0' arguments
Gauge\Gallery\CarDashboard\Example.xaml.cs(133,6): error CS1501: No overload for method 'Begin' takes '0' arguments
Gauge\Gallery\WeatherStation\Example.xaml.cs(125,4): error CS1501: No overload for method 'Begin' takes '0' arguments
GridView\RowPreview\Example.xaml.cs(89,15): error CS0117: 'System.Windows.Media.Animation.Storyboard' does not contain a definition for 'SetTarget'
GridView\RowPreview\Example.xaml.cs(94,4): error CS1501: No overload for method 'Begin' takes '0' arguments
GridView\DataSources\Example.xaml.cs(180,11): error CS1502: The best overloaded method match for 'System.Collections.ObjectModel.ObservableCollection<Telerik.Windows.Examples.Customer>.ObservableCollection(System.Collections.Generic.List<Telerik.Windows.Examples.Customer>)' has some invalid arguments
GridView\DataSources\Example.xaml.cs(180,46): error CS1503: Argument '1': cannot convert from 'System.Collections.Generic.IEnumerable<Telerik.Windows.Examples.Customer>' to 'System.Collections.Generic.List<Telerik.Windows.Examples.Customer>'

my laptop is setup with:
VS2008, .Net 3.5 SP1, XP2Pro

Any solution? Tnx.


Hristo Deshev
Telerik team
 answered on 16 Mar 2009
3 answers
196 views
Is there currently a way to label the series on a pie chart from a data field ?
Giuseppe
Telerik team
 answered on 16 Mar 2009
6 answers
171 views

Hi,

I use VS and Blend to build a wpf application. When using Blend all of a sudden I get the following error message
The name <telerik control tab/grid> does not exist in the namespace "http://schemas.telerik.com/2008/xaml/presentation"'

I have tried Clean, re-referencing, re-build but to no avail. This error is only in design time in Blend.

any advise?


P

Mike
Top achievements
Rank 2
 answered on 13 Mar 2009
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
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?