Telerik Forums
UI for WPF Forum
3 answers
186 views
Hi,

Is possible to set manually the columns width?
Look this example, all columns is overlappeds!

<telerik:RadCartesianChart>
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeContinuousAxis MaximumTicks="5" PlotMode="OnTicksPadded"/>
            </telerik:RadCartesianChart.HorizontalAxis>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis/>
            </telerik:RadCartesianChart.VerticalAxis>
            <telerik:BarSeries Name="mS">
 
            </telerik:BarSeries>
            <telerik:RadCartesianChart.Behaviors>
                
                <telerik:ChartPanAndZoomBehavior/>
            </telerik:RadCartesianChart.Behaviors>
        </telerik:RadCartesianChart>
public MainWindow()
        {
            InitializeComponent();
 
            for (int i = 0; i < 100;i++ )
                mS.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint() { Category = System.DateTime.Today.AddDays(i), Value = 5 });
             
        }
Petar Kirov
Telerik team
 answered on 11 Jul 2013
1 answer
408 views
I've placed a masked numeric input control onto a user control we're working on. When I run the app I get the following error:

System.Windows.Markup.XamlParseException occurred
  HResult=-2146233087
  Message='Set property 'Telerik.Windows.Controls.RadMaskedInputBase.FormatString' threw an exception.' Line number '291' and line position '48'.
  Source=PresentationFramework
  LineNumber=291
  LinePosition=48
  StackTrace:
       at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
  InnerException: System.FormatException
       HResult=-2146233033
       Message=Format specifier was invalid.

I'm sure I've done something wrong, but am not sure what. Here's what the XAML looks like right now:

<telerik:RadMaskedNumericInput x:Name="txtClientNumber" FormatString="D6" MinWidth="80" Margin="3,0"
                               VerticalContentAlignment="Center" FontSize="15"
                               Value="{Binding ClientNumber, UpdateSourceTrigger=PropertyChanged}" Mask="#6" />

What we're trying to do is have the user enter a 6 digit integer value. The data type is an int (in C#), and SQL Server data type is also an int. So, what's the error of my ways?
Petar Mladenov
Telerik team
 answered on 11 Jul 2013
3 answers
121 views
Hi,

Is it possible to have child tasks display in the grid on the GanttView with different columns/headers than the parent task, whilst still displaying normally on the time line portion of the control?

thanks
Ventzi
Telerik team
 answered on 11 Jul 2013
3 answers
449 views
Hi, 

I have binded a collection of my custom objects which can be grouped according to one of its properties to the itemssource, i want to display the suggestion dropdown list as group in DropDownItemTemplate (as attached image can show) 

1) Display a group title followed by the members belong to that group
2) Group title is not selectable 
3) highlight a text that typed in the search box 

Any help or direction is much appreciated!

thanks 
wsw
fitz
Top achievements
Rank 1
 answered on 11 Jul 2013
1 answer
123 views
Hi,

I ask if is possible to obtain this scenario:

1) A ChartPanAndZoomBehavior with zoom bar enabled and zoom mouse drag rectangle disabled
2) Allow mouse drag rectangle for points selection

Thank's
marc.
Rosko
Telerik team
 answered on 11 Jul 2013
1 answer
276 views
Hi. Trying to figure out the best way to have a RadListBox which supports internal reordering, and dragging in from an external source (files from Explorer). I'm a bit confused by the available parts: ListBoxDragDropBehavior, DragDropManager, DataConverter and the various events directly on RadListBox.

What SHOULD I do?
George
Telerik team
 answered on 10 Jul 2013
3 answers
73 views
Hi,

I have a RadDaraFilter that has been bounded to a RadDataGrid.
The columns of table are (Name, LName, Tel) in SQL, So, the radDatafilter has been shown ("Name, LName, Tel").

How I could change the field of radDataFilter from "Name" to "Person's Name" or from "LName" to "Last Name", Please?
Thanks

Dimitrina
Telerik team
 answered on 10 Jul 2013
3 answers
159 views
Hi There,

I have the following two requirements:

1. Wanted to add help as a menu item to RadContextMenu item this will be a default menu item, i wanted to do it using a style/controltemplate.

2. wanted to enable Radcontextmenu by default so help will display on all controls when ever user right clicks on any control.

can you please tell me how i can do this?

Thanks in advance.

Regards,
Srinivas.
Rosen Vladimirov
Telerik team
 answered on 10 Jul 2013
2 answers
122 views
Hi.
I have 7 items in my carouselPanel. It begins to 'carouse' in the middle, so the first item is items[4].
How can i change that, it will always scroll from right to left, with first item, and do something like:
[] -> [] -> [] -> [] -> [] - last item, rewind and again

Regards
Paweł
Top achievements
Rank 1
 answered on 10 Jul 2013
1 answer
922 views
hi, I've new to telerik for WPF. Now i am going to develop a multi-touch campus map for guiding.
My code for the image as follows, but error is"Could not find a part of the path 'D:\campus_floorplan;component\images\directory_level1.png'."
Code:
private void get(int i)
        {
            
           
                ImageBrush b = new ImageBrush();

                switch (i)
                {
                   

                    case 1:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level1.png", UriKind.Relative));
                            b.Stretch = Stretch.Uniform;
                            this.Background = b;
                        };
                        break;
                    case 2:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level2.png", UriKind.Relative));
                            b.Stretch = Stretch.Fill;
                            this.Background = b;
                        };
                        break;
                    case 3:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level3.png", UriKind.Relative));
                            b.Stretch = Stretch.Fill;
                            this.Background = b;
                        };
                        break;
                    case 4:
                        {
                            b.ImageSource = new BitmapImage(new Uri("/campus_floorplan;component/images/directory_level4.png", UriKind.Relative));
                            b.Stretch = Stretch.Fill;
                            this.Background = b;

                        };
                        break;
}
            }
 private void level1_touchdown(object sender, TouchEventArgs e)
        {
            radMap.Visibility = Visibility.Collapsed;
            this.get(1);

        }
  So how to get the correct path for image??
Hope you can help me.
Thank you very much.
 
        
Anna
Telerik team
 answered on 10 Jul 2013
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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?