Telerik Forums
UI for WPF Forum
3 answers
136 views
This is my first experience with WPF and Telerik.

When I create an empty WPF project in VS2008, I'm given a Window1.xaml and the outer component is <Window x:Class="..." >

If I'm going to use the Rad controls throughout, should I replace that with telerik:RadWindow? If so, how? When I drag a RadWindow into my current canvas, it is nested. When I run the app, I don't see the RadWindow.

Essentially I'm looking to have a base window for my app that has a RadPanelBar on the left side as the primary menu, and a main content area that will hold multiple windows created dynamically based on menu selections.

I'm not sure what the foundation of a Telerik WPF app should start with.

Thanks,
ms
ManniAT
Top achievements
Rank 2
 answered on 22 Aug 2009
6 answers
992 views
I have a dataset that is  a master/detail, displaying as hierchical data.

The 2 tables are joined on a column called "InvoiceID"

I do not want to show the "InvoiceID" column in the detail data

Without defining every column that should be displayed in xaml, is there a way to specify a column that I want to hide?  Thanks
jas
Top achievements
Rank 1
 answered on 22 Aug 2009
1 answer
91 views
Hi folks -

I am trying to create a multi-ROOM calendar (think mult-day, but instead of say 7 days being displayed, 7 room schedules are displayed).  That is, I would like to have several day calendars displayed side by side, where each is the schedule for a single day's worth of events in a particular room. 

I have placed several one-day views adjacent to each other, but I still have some remaining issues in order to make the full deal.  You can see a picture of where I am at by clicking here: http://bit.ly/13IAYs

1. I would like to remove the forward and back by day arrows and date header information ("wednesday, August 19th, 2009") - just get rid of it completely.  How do I do that?

2. I would like to replace the dates in the day header (highlighted in the picture) with the room names.  How do I customize those?

3. I would like to get rid of the strange anomaly where the day header is bumped over to the right (Circled in red on the picture).  Any ideas what is causing this?

Many thanks
Josh
Teodor
Telerik team
 answered on 21 Aug 2009
9 answers
287 views

Hello!

I am having some problems with the GridViewComboBoxColumn .

GridViewComboBoxColumn supports selectionevent? Cannot seek change event.
 I am necessary, change event.
There is what kind of method?

Pavel Pavlov
Telerik team
 answered on 21 Aug 2009
4 answers
562 views
Hello, I've discovered an issue, and I'd like to see if this is some sort of desired behavior or a bug.  Here's the deal,  I've got a bunch of RadNumericUpDown controls, each lies within a UserControl.  and that UserControl is bould to an object. the RadNumericUpDown XAML looks like this.

        <telerik:RadNumericUpDown Grid.Column="1"  
                                  x:Name="inpPMax" Style="{StaticResource InputNumbers}" 
                                  ValueFormat="Numeric" NumberFormatInfo="{Binding Path=DisplayFormat}" 
                                  IsEnabled="{Binding Path=UserEntered}" 
                                  Minimum="{Binding Path=Minimum}" Maximum="{Binding Path=Maximum}" 
                                  SmallChange=".1" LargeChange="1" GotFocus="inpPMax_GotFocus" ValueChanged="inpPMax_ValueChanged"
            <telerik:RadNumericUpDown.Value> 
                <Binding Path="DisplayValue"  UpdateSourceTrigger="PropertyChanged" ValidatesOnDataErrors="True"/> 
            </telerik:RadNumericUpDown.Value> 
        </telerik:RadNumericUpDown> 
 

and the syle I'm using looks like this
            <Style x:Key="InputNumbers" TargetType="{x:Type telerik:RadNumericUpDown}"
                <Setter Property="Height" Value="25"/> 
                <Setter Property="FontSize" Value="12"/> 
                <Setter Property="Margin" Value="2"/> 
                <Setter Property="HorizontalContentAlignment" Value="Right"/> 
                <Style.Triggers> 
                    <Trigger Property="Validation.HasError" Value="true"
                        <Setter Property="ToolTip"  
                            Value="{Binding RelativeSource={RelativeSource Self},  
                                Path=(Validation.Errors)[0].ErrorContent}"/> 
                    </Trigger> 
                    <Trigger Property="Validation.HasError" Value="false"
                        <Setter Property="ToolTip" Value=""/> 
                    </Trigger> 
                </Style.Triggers> 
            </Style> 
 

The behavior I'm noticing is that when I enter "1000" in the text field, the control resets it back to 0, actually it looks like it sets it back to "000.000".  I thought that it might be doing this because I set the min and max values incorrectly, but when I debug into the "inpPMax_ValueChanged" method, I see that the control's max is set to double.maxvalue, and min is set to double.minvalue which means to me that it should't be failing this test.  I've also tried hard coding these values to 0.0, and 10000 respectively, with the same results.

I've noticed that if I enter 1999 (which is larget then (1000), the control resets the value to "999", to me it seems that the control is only taking the first 3 degits.  One other thing to note is that the binding for NumberFormatInfo looks like this.

        public NumberFormatInfo DisplayFormat 
        { 
            get 
            { 
                var ret = (NumberFormatInfo)CultureInfo.CurrentCulture.NumberFormat.Clone(); 
                ret.NumberDecimalDigits = DecimalPlaces
                return ret; 
            } 
        } 
        protected virtual int DecimalPlaces { get { return 0; } } 
 

This is because some "measurements" require 3 decimal places, while others require 0 and the control just binds to the "measurement"s DisplayFormat property.

it's going to be difficult to send any more code, but I'd greatly appreciate any help here, and I'll send whatever you ask for, if I can't get this to work I'll have to go back to a textbox, and I really don't want to do that.
Hristo Borisov
Telerik team
 answered on 21 Aug 2009
1 answer
117 views
Hello Telerik Team,

I am using the DraggableListBox from the RAD WPF controls set. Now i have requirement of dragging multiple files from the source listbox and drop into destination list box.

How to achive this requirement?

Thanks,
Kranthi


Tihomir Petkov
Telerik team
 answered on 20 Aug 2009
1 answer
149 views
I was looking at the RadProgressBar for WPF demo via FireFox 3.5.2. When you go to the "View Code" and select the code behind file the contents does not change. Works fine from the downloaded copy.
Tihomir Petkov
Telerik team
 answered on 20 Aug 2009
3 answers
150 views
Is possible to bind IQueryable data source to your grid in such way that it loads record from data source in fragment? Now when i bind collection, that implements IQueryable, grid retrievies all record (in my case it takes up to 2 minutes ).
Vlad
Telerik team
 answered on 20 Aug 2009
7 answers
328 views
Hi

I would like to change the WPF Treeview scrollbar colours, editing the template has yielded some minor results, I managed to change the color of the bottom right area to green (where the horizontal and vertical scrollbars would interleave if extended) but I cannot change the main scrollbar colors, I think this would be the Thumb and RepeatButtons and other such scrollbar elements. It is as if values are coerced from some higher priority property, as I can find the elements, but changes are not reflected at design or runtime. Screenshot: http://i30.tinypic.com/x21gld.png


My second request is how to make the drag and drop tooltip appear adjacent (to the right) of the mouse pointer when the operation starts. This was the behaviour I had with an earlier version of Telerik WPF but upgrading to version 2009.2.701.35 seems to have broken this. The issue is that the drag/drop tooltip is appearing about 100 pixels to the right of the mouse pointer, which looks weird.
Any ideas would be helpful. Screenshot: http://i29.tinypic.com/6t3cqt.png

Regards
Miroslav
Telerik team
 answered on 20 Aug 2009
1 answer
195 views
Is there an event that indicates when the value has changed via the spinner not just that the value has changed? I have a situation where a change in the value from the spinner results in rebinding the value which triggers the ValueChanged event which rebinds... A spinner click or something equilivent would solve the issue or even better would be the ability to suppress the value change event when the cause of the change is data binding vs. the UI.
Hristo Borisov
Telerik team
 answered on 20 Aug 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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?