Telerik Forums
UI for WPF Forum
1 answer
150 views

I try to run this short code sample but I have an error "There is no source code available for the current location". When I press the "start" button of VS2008, I have a box which ask me to point to RadCalendar.cs (???). If I press "cancel" I have the "There is no source code ...." message

Here is my code

<

 

Window x:Class="Window1"

 

 

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

 

 

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

 

 

Title="Window1" Height="299" Width="663" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">

 

 

 

<Grid>

 

 

 

<telerik:RadCalendar x:Name="calendar" IsTodayHighlighted="true"

 

 

SelectionChanged="OnCalendarSelectionChanged" SelectionMode="Extended" Columns="3"

 

 

ViewsHeaderVisibility="Visible" Culture="fr-FR" Margin="0,0,0,79">

 

 

 

</telerik:RadCalendar>

 

 

 

</Grid>

 

</

 

Window>

I have an official version WPF Q1 (14th april).

 

Boyan
Telerik team
 answered on 13 May 2009
1 answer
120 views
I have a WPF application with a Line chart.

I have a bunch of things that I cannot figure out how to do...
(1) When I user selects a particular value (in another control), which can be used to identify a particular data point in my chart, I want to be able to "highlight" that point on my chart. Is it possible to do that?
(2) Is it possible to make the circle which represents each data item bigger?
(3) When I add more data to the dataseries, the distance between two points on the X Axis keeps shrinking. Is it possible to keep that distance constant and scroll horizontally instead?

Any help with this is greatly appreciated.

Thanks,
-Sunandini


Giuseppe
Telerik team
 answered on 13 May 2009
1 answer
221 views
Hi,

As you can see in the code below, I create a RadGauge dynamically in the codebehind. The problem is the needles are not animated if I code like in this way. Do I miss something in the code?

Needle ndl = new Needle();
ndl.Foreground = new SolidColorBrush(Colors.Yellow);
                        ndl.Background = new SolidColorBrush(Colors.Yellow);
                        RadGauge rg = new RadGauge();
                        rg.Height = 100;
                        rg.Width = 100;
                        
                        ndl.IsAnimated = true;
                        ndl.Duration = new Duration(TimeSpan.FromSeconds(2));
                        rsStat.Min = 0;
                        double d = 0;
                        if (Double.TryParse(Value, out d))
                        {
                            rsStat.Label = new LabelProperties();
                            rsStat.Label.Location = ScaleObjectLocation.Inside;
                            rsStat.Label.FontSize = 8;
                            rsStat.Indicators.Add(ndl);
                            rsStat.Max = Math.Pow(10, Math.Ceiling(Math.Log10(d)));
                            ndl.Value = d;
                        }
Andrey
Telerik team
 answered on 12 May 2009
4 answers
224 views
I notice that there is a Windows control in Silverlight. Any liklihood of a similar control in your WPF tools because I need to implement am MDI interface in both silverlight and WPF. Many thanks
Valeri Hristov
Telerik team
 answered on 12 May 2009
3 answers
174 views

Hi,

I have used RadCarouselPanel with Button (Images used in the ex.) control as items as well appllied style to button. The problem is I am not getting scroll effect while clicking on button as demo shows  whereas it shows as Carousel effect on the form.

  <telerik:RadCarouselPanel x:Name="Panel1" VerticalAlignment="Center"
            IsOpacityEnabled="True" IsScalingEnabled="True" IsPathVisible="True"
            PathPadding="50" CanHorizontallyScroll="True" CanVerticallyScroll="True" >
                <Button  Style="{DynamicResource StudyMode}">Menu 1</Button>
                <Button  Style="{DynamicResource StudyMode}">Menu 2</Button>
                <Button  Style="{DynamicResource StudyMode}">Menu 3</Button>
                <Button  Style="{DynamicResource StudyMode}">Menu 4</Button>
                <Button  Style="{DynamicResource StudyMode}">Menu 5</Button>
                <Button  Style="{DynamicResource StudyMode}">Menu 6</Button>
            </telerik:RadCarouselPanel>

I can not understand what is missing. I could not find any method / way to get it work.

Thanks in advance for any help

Punit
Top achievements
Rank 1
 answered on 12 May 2009
1 answer
150 views
Do your chart controls have any export abilities? i.e. PDF, Excel, etc.

I read that charts could be saved as an image. Is it possible to save as a vector graphic?
Vladimir Milev
Telerik team
 answered on 11 May 2009
4 answers
334 views
Hi,


I've got some problems with the GridView style:

1) How can I change the background of a RowIndicator. I tried this but it doesn't works:

 

 

 

 

<Style x:Key="{x:Type telerik:GridViewIndicatorCell}" TargetType="telerik:GridViewIndicatorCell">   
    <Setter Property="Background" Value="{StaticResource GridViewHeaderCellBackgroundBrush}" />   
</Style> 
 
 

 

 

 

 

 

2) How can I change the height of the columns header? This is not working correctly:

 

 

 

 

<Style TargetType="telerik:GridViewHeaderCell">   
    <Setter Property="Height" Value="50" />   
</Style> 
 
 

3) I've tried this:

 

 

 

 

<Style TargetType="{x:Type telerik:GridViewCell}">   
    <Setter Property="OverridesDefaultStyle" Value="False" />   
    <Setter Property="Validation.ErrorTemplate" Value="{x:Null}" />   
    <Style.Triggers>   
        <Trigger Property="Validation.HasError" Value="True">    
            <Setter Property="BorderThickness" Value="1" />    
            <Setter Property="BorderBrush" Value="Red" />   
            <Setter Property="ToolTip" Value="{Binding RelativeSource= {RelativeSource Self},                                                       Path=(Validation.Errors)[0].ErrorContent}" />    
        </Trigger>   
    </Style.Triggers>    
</Style> 
 
 

 

 

 

 

 

 

 

 

but this column doesn't work anymore after that (Cell is empty):

 

 

 

 

<telerik:GridViewColumn>    
<telerik:GridViewColumn.CellStyle>    
<Style TargetType="{x:Type telerik:GridViewCell}">    
    <Setter Property="Template">    
        <Setter.Value>    
            <ControlTemplate TargetType="{x:Type telerik:GridViewCell}">    
                <Border Background="{TemplateBinding Background}"    
                              BorderBrush="{TemplateBinding BorderBrush}"   
                              BorderThickness="{TemplateBinding BorderThickness}">   
                        <Button Style="{StaticResource GridImageButton}"     
                                     Click="Delete_Click">    
                                <Image Source="{StaticResource Delete}" />    
                        </Button>   
                </Border>     
            </ControlTemplate>    
        </Setter.Value>    
    </Setter>    
</Style>    
</telerik:GridViewColumn.CellStyle>    
</telerik:GridViewColumn> 
 

 

 

 

 

 

 

 

 

 

Do you know why?

Thanks,

Xavier.

 

 

 

 

 

 

 

 

 

Steffen
Top achievements
Rank 1
 answered on 11 May 2009
3 answers
244 views
Hi

     I am developing an application in which I require drag drop between two tree. But this is not directly supported in RadTreeView control,so can you suggest me how I can implement it using your RadTreeView control. Please provide me sample code if possible.
I need to implement it in urgent,so please respond it as soon as possible

Thanks in advance
Konstantin Petkov
Telerik team
 answered on 11 May 2009
2 answers
492 views
Can the NumberFormatInfo values (e.g. NumberDecimalDigits) be set in XAML or must they be set in the code behind? The OnLine help only gives examples using code behind.
Greg
Top achievements
Rank 2
 answered on 08 May 2009
1 answer
131 views
Hi,
    I just saw WPF Demo, nice work! By the way, I like the transitions when you click on navigation bar. I am new to WPF, I tried to look into code couldnt figure out how it is done. is there any way you can publish simple code here ? Do Telerik have plan to have transitions in Winforms too?

Thank you
Dwight
Telerik team
 answered on 08 May 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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?