Telerik Forums
UI for WPF Forum
1 answer
182 views
If the text inside the tiles is wider than the tile itself, how do you get the text to word wrap?
Arthur Vanderbilt
Top achievements
Rank 1
 answered on 19 Nov 2009
1 answer
243 views
I think there is a bug with RadTimePicker or at least I don't understand why this does not work:

 

 

<Telerik:RadTimePicker

 

 

StartTime="0:0:0"

 

 

EndTime="0:10:0"

 

 

TimeInterval="0:0:10"

 

 

/>

 

>

 



My feeling is that seconds are not taken into account

Thanks
Kaloyan
Telerik team
 answered on 19 Nov 2009
1 answer
113 views
I have the following scenario: (NOTE: this is just a simplified example of my data schema)

I have a list of Orders. Each Order has a list of OrderDetails. Each OrderDetail has a type. I want to display a grid that shows for each order each OrderDetail.Type as a column.

So you have what would look like this: (Keep in mind that there are other detailtypes that are not used e.g. Type 2, 4, 5 and that new detailtypes can be created)
Order1
     -> Detail1.Type = "Type 1"   Detail1.Value = "Value for Detail 1 Type 1"
     -> Detail2.Type = "Type 3"   Detail2.Value = "Value for Detail 2 Type 3"
     -> Detail3.Type = "Type 6"   Detail3.Value = "Value for Detail 3 Type 6"
Order2
     -> Detail1.Type = "Type 1"   Detail1.Value = "Value for Detail 1 Type 1"
     -> Detail2.Type = "Type 6"   Detail2.Value = "Value for Detail 2 Type 6"
Order 3
     -> Detail1.Type = "Type 3"   Detail1.Value = "Value for Detail 1 Type 3"


I want to show a column for each detail type used in any orderdetail for any order. Also, there is no fixed list of these types because new orderdetail types can be added. So basically I am showing my orderDetail values horizontally instead of vertically and I create a column for each detailtype that exists in any orderdetail of an order even though some orders will not necessarily have a orderdetail with one of the types.
NOTE: A type can only be in one orderdetail per order.

And my resulting Grid should look like this:

Order  |                 Type 1                 |                 Type 3                 |                 Type 6                 |
   1           Value for Detail 1 Type 1         Value for Detail 2 Type 3           Value for Detail 3 Type 6
   2           Value for Detail 1 Type 1                                                        Value for Detail 2 Type 6
   3                                                        Value for Detail 1 Type 3


I have gone so far as creating a Dictionary of <Order, OrderDetail> and placed null in the OrderDetail value if it does not have a value for a type but I cannot figure out how to display this in a grid without programatically creating the grid.

Any ideas would be appreciated.

Thanks,
Pavel Pavlov
Telerik team
 answered on 19 Nov 2009
5 answers
298 views
Using RadGridView Q3 release.

I have a RadGridView in my main window. There is a datatrigger implemented to change the row's color to red when an "IsModified" property is set. This works well when the grid loads, but I have not been able to accomplish this from a window owned by the main window.

I have tried the following:
 ((Owner as MainPricingWindow).grdSearchResults.SelectedItem 
                
as SecurityVO).IsModified = true;

 

 

 

That sets the property appropriately, but doesn't change the grid row style in the owner window. The ItemsSource of the grid is an ObservableCollection and the object (SecurityVO) implements INotifyPropertyChanged. The IsModified property calls raises the PropertyChanged event. All this seems to happen normally when the grid is loaded with some rows that have IsModified set. It will not change the row when the property is modified from a child window.

One additional thing I should add. The style fo the grid row in question is set via a DataTrigger. So the foreground color of the row is set if a particular property of the SecurityVO is set to true.
 
I guess I'm missing something. Any help would be appreciated.

Thanks.

 

Charles
Top achievements
Rank 2
 answered on 19 Nov 2009
3 answers
99 views
I get an error deploying to the client when a grid has more than 10 columns
xml parser problem i think
works on clients machine when I reduce the columns to less than 10.
Works fine on my dev machine..
Milan
Telerik team
 answered on 19 Nov 2009
1 answer
144 views
I don't see anything in the readme for the Q3 controls, (no breaking changes) about MouseDown in the grid view...
I'd been using a late Beta from late Oct or early Nov witthout issues.

Installed the Q3 as we were heading into user acceptance testing tomorrow, and wanted to be off the beta. As I'd used a late beat, I'd assumed that the only coding changes would be bug fixes, as beta's shouldn't have funcationality changes (that's an alpha for me!!)Now my UI which used MouseDown extensivally is no longer working. Mouse down works for the right mouse still, but not left. No compile error and the MouseLeftButtomDown doesn't work either!!

So how do I capture a simple click event in my UI!! I've only got DoubleClick, but this is WPF, bit winform, and users are used to using just a simple click to perform tasks. I don't want to use any code behind events, and I have this UI pattern in dozens of grids, and to refactor would take too long.

 

<telerik:RadGridView Grid.Column="1"
Grid.Row="1"

 

Grid.ColumnSpan="2"

 

 

 

Name="telerikRadGridView1"

 

 

 

AutoGenerateColumns="False"

 

 

 

IsReadOnly="True"

 

 

 

ItemsSource="{Binding Source={StaticResource BLWeighCarrierList}}"

 

 

 

DataLoaded="telerikRadGridView1_DataLoaded"

 

 

 

MouseLeftButtonDown="telerikRadGridView1_MouseLeftButtonDown"    (Doesn't work)

 

 

 

MouseDown="telerikRadGridView1_MouseDown"                                    (Doesn't work)

 

 

 

MouseDoubleClick="telerikRadGridView1_MouseDoubleClick"                (Don't want to use)

 

 

  

 

 

 

 


I'll go back to the BETA for now.

 

Milan
Telerik team
 answered on 19 Nov 2009
1 answer
87 views
I have 2 data templates that are each bound to a different radPanelBarItem.  They both have checkboxes and I was wanting to change data templates when checked.  For example when I check a checkbox in the second radPanelBarItem it gets moved to the first radPanelBarItem and into its data template, as the data templates are different.  Thanks!


Tihomir Petkov
Telerik team
 answered on 19 Nov 2009
1 answer
131 views
Hi.
I have some trouble with ComboBox. I create window as shown below:

<Window x:Class="WpfApplication3.Window1"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Title="Window1" Height="300" Width="300"

    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

    xmlns:tRB="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.RibbonBar">

        <telerik:RadComboBox Name="cBox"

            IsEditable="True"

            VerticalAlignment="Top">

            <telerik:RadComboBox.Items>

                <telerik:RadComboBoxItem Content="qwer"/>

                <telerik:RadComboBoxItem Content="asdf"/>

            </telerik:RadComboBox.Items>

        </telerik:RadComboBox>

</Window>



After double clicking on text i can't select any control in this window or close it. How can i resolve this problem?
Valeri Hristov
Telerik team
 answered on 19 Nov 2009
1 answer
110 views
hello all,

i am getting this error when i try to group on flds inside a grid. this does not happen always though, its very random but frequent error.
 please can anyone through some light on this.

i am using wpf controls version 2009.2.813.35

regards,
Sandy
Vlad
Telerik team
 answered on 19 Nov 2009
9 answers
442 views
On the RadCarousel how do i programatically set the item centered in the RadCarousel as the selected item?

I am having an issue where you key over to the next item and then try to click on the previous item that is still selected.  The item does not move via mouse click because it is already selected.


Thanks
capsule
Top achievements
Rank 1
 answered on 18 Nov 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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?