Telerik Forums
UI for WPF Forum
1 answer
222 views
Hi,

I created a rad window. Its canMove property is true, but i can't move it. Only after i minimize it i can mover it.
I first open RadGridView and then open a RadWindow

            RadWindow window = new RadWindow();
            window.Height = 300;
            window.Width = 300;
            window.CanMove = true;
            window.Header = "ofer test";
            window.WindowState = WindowState.Maximized;
            window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            window.Show();

Thanks,
Ofer
Miroslav Nedyalkov
Telerik team
 answered on 20 Nov 2009
1 answer
102 views
When setting the RowDetailsTemplate to a control that will display some details form the selected row, and having RowDetailsVisibilityMode="VisibleWhenSelected" works great.  The only issue is that the only way to hide the details is to CTRL-Click the selected row and it goes away.  The user would expect that a click would hide it just as a click made it visible.  Maybe I didn't set some property right or something but it seemed rather straight forward, and used an article from Telerik showing how to do this.

Is there any workaround for this issue, the users are complaining that once they see what they wanted they would like to go away with a simple click.  This request seems reasonable, and how it should work out of the box.

Rossen Hristov
Telerik team
 answered on 20 Nov 2009
6 answers
97 views
I updated Telerik to 2009 Q3 and I saw really bad performance in debug (nearly unusable). If we compile in release it's fast as with Q2 in debug.

Are you already aware of this issue ?

Kind regards,

Ivan
Vlad
Telerik team
 answered on 20 Nov 2009
1 answer
146 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
224 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
84 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
274 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
83 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
130 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
68 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
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
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Iron
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
Iron
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?