Telerik Forums
UI for WPF Forum
5 answers
140 views
To be able to use the RadGridView control in our software, we need to be able to get a Filtered result list from the control. I've tried to see the where I could be able to get such a list while debugging after a gridView.ItemsControl.RecordManager.FilterDescription.PropertyChanged event, but I'm unable to find it.

Could anyone point me in the right direction?

 

Vlad
Telerik team
 answered on 30 Mar 2009
1 answer
116 views
Hi

I have a carousel that is filled with a list of images like this..

Dim MyListOfImages As New List(Of _Images)

 

MyListOfImages.Add( .....



RadCarousel1.ItemsSource = MyListOfImages

But there are no images displayed, only images with the current image path. Why is that, and how do I fix this?

Hristo Deshev
Telerik team
 answered on 27 Mar 2009
3 answers
163 views
Hello,

I have successfully created the guage that I want to use a design-time in XAML. However, I have a need to create the guage at runtime. Everytime that I try to add a RadialScale to a Grid, WPF throws an Exception that says:

The calling thread cannot access this object because a different thread owns it.

What am I doing wrong? Here is my code:

// Setup the grid that the gauge will be defined in
System.Windows.Controls.Grid gaugeGrid = new System.Windows.Controls.Grid();
gaugeGrid.Height = 140;
gaugeGrid.Width = 140;
gaugeGrid.Margin = new Thickness(0, 20, 0, 0);

// Define the radial scale with the Telerik control
RadialScale radialScale = new RadialScale();
radialScale.Min = 40;
radialScale.Max = 60;
radialScale.MinorTicks = 2;
radialScale.MajorTicks = 6;

// Exception gets thrown here
gaugeGrid.Children.Add(radialScale);
Andrey
Telerik team
 answered on 27 Mar 2009
6 answers
825 views
hello,

I have a requirement that the treeView should get sorted according to some parameter.
Is this possible to achieve ?
A code sample would be helpful.

Thanks and regards 
Prash
Top achievements
Rank 1
 answered on 27 Mar 2009
1 answer
106 views
Good Afternoon,

Is it possible to make the Bar Chart a horizontal chart?

If not, does Telerik plan to release one with Q2?

Thank you for your time,

David
Ves
Telerik team
 answered on 26 Mar 2009
1 answer
146 views

I have replaced some TextBox controls with RadMaskedTextBox controls in a few dialogs.

sample:

 

<telerikInput:RadMaskedTextBox Name="somedata" MaskType="Numeric" Mask="" Value="{Binding Source={StaticResource somesource}, Path=somedata}"/> 

 

 

 

After the replacement, the databinding only works for setting the data upon loading. When retrieving the data after closing the dialog, the fields have not changed.

The same databinding using a TextBox works fine.

I have circumvented the problem by manually setting the data upon closing the dialog, but that is obviously not a very good solution.

SomeObject r = (SomeObject)(((ObjectDataProvider)datagrid.Resources["somesource"]).ObjectInstance);  
r.somedata = Convert.ToInt16(this.somedata.Value); 

Any suggestions would be most welcome.

Best regards,
Tomas

 

Bobi
Telerik team
 answered on 26 Mar 2009
0 answers
123 views
Can someone point me to right direction on creating an 3D Carousel in WPF?

thanks,
Ravi
Kamachi
Top achievements
Rank 1
 asked on 26 Mar 2009
1 answer
103 views
When the numeric updown receives focus, I need it to highlight or select the current value to enable the user to type over it.  The normal WPF textbox has a select method that enables this.  Is there a similar method here?  I am using the 2009 Q1 release.

Also the focus method does not put the cursor in the control; it just puts the focus on the container control (UIElement).

Doug
Kaloyan
Telerik team
 answered on 26 Mar 2009
5 answers
130 views
Where can I find documentation on how to use this control?
Bobi
Telerik team
 answered on 26 Mar 2009
2 answers
106 views
Hello,

I have recently run into an issue where an exception gets thrown after reordering the columns in my grid (version 2009.1.312.35).  I have column filtering enabled and have a couple of custom filters applied to the grid, such as a text box for searching the title and description of the objects that are bound to the grid.  Whenever I drag and drop a column header to reorder the columns, I get the following exception.  Is this a bug in the grid or am I doing something wrong in my code?

Here is part of the stack trace.  Please let me know if you need any other information.

2009-03-23 11:40:19,481 [11] ERROR - Unhandled exception.  System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Unable to cast object of type 'IRC.Gear.WorkItemManager.Controls.Filters.TitleDescriptionFilter' to type 'Telerik.Windows.Data.FieldFilterDescription'.
   at Telerik.Windows.Controls.GridView.GridViewDataControl.AssignFilterDescriptionsToControls()
   at Telerik.Windows.Controls.GridView.GridViewItemsControl.ReorderColumns(Int32 oldIndex, Int32 newIndex)
   at Telerik.Windows.Controls.GridView.GridViewItemsControl.ColumnsReorderingRequested(Object sender, RadRoutedEventArgs e)

Thanks,

Joel



JP
Top achievements
Rank 1
 answered on 25 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?