Telerik Forums
UI for WPF Forum
1 answer
67 views

We have noticed with your chart control that when we set it so that the point labels are showing it makes the opacity of the series definition read only. Is there a way to disable this behavior or work around it so that we can change the opacity in this case? Currently we turn the opacity to 50% for all other series when the user hover’s the mouse over one of the series items in the legend. If the point labels are on and the opacity locked we are unable to do this. Any help on this matter would be greatly appreciated.

 

Thanks in advance

MacKenzie

Dwight
Telerik team
 answered on 21 May 2010
3 answers
403 views
Hi.
I'm using the RadCarousel Control.
I have a List<BitmapImage> and when I add a BitmapImage to this list, I add a Image, with the BitmapImage as source to the RadCarousel.Items

But, instead of showing the actual image. It's showing a dot.

I've tryed to attach a sample project that reproduces my problem but I couldn't.
So follows my code:

XAML:
<Window x:Class="radcarouseltest.MainWindow" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Title="MainWindow" Height="350" Width="525" 
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    <StackPanel> 
        <telerik:RadCarousel Name="carousel" FlowDirection="LeftToRight" VerticalAlignment="Center"  
                             HorizontalAlignment="Center" HorizontalScrollBarVisibility="Disabled"  /> 
        <Button Content="LoadImages" Click="Button_Click" /> 
    </StackPanel> 
</Window> 
 

CS:
using System; 
using System.Collections.Generic; 
using System.Windows; 
using System.Windows.Controls; 
using System.Windows.Media.Imaging; 
using Microsoft.Win32; 
 
namespace radcarouseltest 
    /// <summary> 
    /// Interaction logic for MainWindow.xaml 
    /// </summary> 
    public partial class MainWindow : Window 
    { 
        private const String ExtensionFilter = "(*.jpg)|*.jpg|(*.gif)|*.gif|(*.png)|*.png|(*.tif)|*.tif|(*.tiff)|*.tiff"
        private List<BitmapImage> imageList; 
        public MainWindow() 
        { 
            InitializeComponent(); 
            imageList = new List<BitmapImage>(); 
        } 
 
        private void Button_Click(object sender, RoutedEventArgs e) 
        { 
            OpenFileDialog dialog = new OpenFileDialog { RestoreDirectory = true, Filter = ExtensionFilter, Multiselect = true }; 
            if (dialog.ShowDialog() == true
            { 
                foreach (string fileName in dialog.FileNames) 
                { 
                    BitmapImage myImage = new BitmapImage(new Uri(fileName, UriKind.Relative)); 
                    imageList.Add(myImage); 
                    updateCarousel(); 
                    carousel.SelectedItem = carousel.Items[imageList.Count -1 ]; 
                     
                } 
            } 
        } 
 
        private void updateCarousel() 
        { 
            carousel.Items.Clear(); 
            foreach (BitmapImage img in imageList) 
            { 
                Image myImage = new Image(); 
                myImage.Source = img; 
 
                carousel.Items.Add(myImage); 
            } 
        } 
    } 
 

Thanks
Maya
Telerik team
 answered on 21 May 2010
1 answer
192 views
In the Docking/Compass/Programming of the wpf demos, there is a dropdown list of themes, such as Vista and Windows7.
I was trying to find the Windows7 theme file and customize it, but I couldn't find the theme files. Where are the theme files located?
The source code file doesn't include the code for the theme dropdown button. Where is the source code of the dropdown theme button.
Pana
Telerik team
 answered on 21 May 2010
1 answer
120 views
Hello,

How do I disable busy cursor when sorting datagrid.

Thanks,

Xoma
Pavel Pavlov
Telerik team
 answered on 21 May 2010
9 answers
366 views
Hi,
  I noticed RadWindod has methods to display alerts (RadWindow.Alert) and confirmations (RadWindow.Confirm)
How can I show an Information dialog that has just an OK button and shows the proper Information icon?
Think of messages like "The operation completed fine" or "Your file has been saved"...

Thanks,
  Alessandro
Konstantina
Telerik team
 answered on 21 May 2010
1 answer
99 views
Today I upgraded using
RadControls_for_WPF_2010_1_0422_DEV.msi 

I copied the Demos folder to my D: drive so I could make changes without elevated rights.  VS2010 did its upgrade but when I built the solution I got 333 errors.  To make sure I didn't mess up I carefully copied the Demos to D:\Telerik 2\Demos and tried again.  333 errors the 2nd time too.  The errors started similar to the first three VS2008 error in this post, 2nd definitions of _EmployeeID etc.  Altova DiffDog confirmed a new file, "Northwind1.designer.cs".

<?xml version="1.0" encoding="UTF-8"?> 
<!-- Differencing export generated by Altova® DiffDog® version 2010 rel. 3 (x64) Enterprise Edition - for more information please visit www.altova.com --> 
<diff_result> 
    <diff_info comparison_mode="text_or_xml"
        <source_left name="C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos" uri="file:///C:/Program%20Files%20(x86)/Telerik/RadControls%20for%20WPF%20Q1%202010/Demos"/> 
        <source_right name="D:\Telerik 2\Demos" uri="file:///D:/Telerik%202/Demos"/> 
    </diff_info> 
    <file_diff location=""
        <changed_content> 
            <file name="app.config"/> 
            <file name="Examples_WPF.CS.csproj"/> 
            <file name="Telerik.Windows.Examples.exe.config"/> 
        </changed_content> 
        <right_content> 
            <file name="Examples_WPF.CS.5.0.ReSharper.user"/> 
            <file name="Examples_WPF.CS.csproj.user"/> 
            <file name="Examples_WPF.CS.sln"/> 
            <file name="Northwind1.designer.cs"/>  <!--  ############ Here  --> 
            <file name="Telerik.Windows.Examples.vshost.exe"/> 
            <file name="Telerik.Windows.Examples.vshost.exe.config"/> 
            <file name="UpgradeLog.XML"/> 
        </right_content> 
    </file_diff> 
</diff_result> 


DiffDog found how the new, unwanted file is inserted in the .csproj beginning on line 3026.

    <text_diff left_location="2434" right_location="3026"
        <right_content> 
            <line>    &lt;Compile Include=&quot;Northwind1.designer.cs&quot;&gt;</line> 
            <line>      &lt;AutoGen&gt;True&lt;/AutoGen&gt;</line> 
            <line>      &lt;DesignTime&gt;True&lt;/DesignTime&gt;</line> 
            <line>      &lt;DependentUpon&gt;Northwind.dbml&lt;/DependentUpon&gt;</line> 
            <line>    &lt;/Compile&gt;</line> 
        </right_content> 
    </text_diff> 

The minimal instructions in the pinned, sealed top post How to Compile WPF Examples in VS 2010 apparently don't work for this release.  Neither PowerGREP nor VS2010 could find the string to change.

Find all "Global.Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString", Match case, Whole word, Subfolders, Find Results 1, "Entire Solution" 
  Matching lines: 0    Matching files: 0    Total files searched: 1105 
 

PowerGREP for "NorthwindConnectionString"  
 
     C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\app.config 
  6   <add name="Telerik.Windows.Examples.Properties.Settings.NorthwindConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\DataSources\Northwind.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/> 
 
      C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\DatabaseRepository.cs 
 18   this.dataContext = new NorthwindDataContext(Settings.Default.NorthwindConnectionString); 
 53   DataContext db = new DataContext(Settings.Default.NorthwindConnectionString); 
 60   DataContext db = new DataContext(Settings.Default.NorthwindConnectionString); 
 
       C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\DatabaseRepository.vb 
 15    Me.dataContext = New NorthwindDataContext(Settings.[Default].NorthwindConnectionString) 
 46    Dim db As New DataContext(Settings.[Default].NorthwindConnectionString) 
 53    Dim db As New DataContext(Settings.[Default].NorthwindConnectionString) 
 
 
       C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\Northwind.dbml 
  3    <Connection Mode="AppSettings" ConnectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=
               C:\_projects\wpf\Development\WPF\DataSources\Northwind.mdf;Integrated Security=True;User Instance=True"  
               SettingsObjectName="Telerik.Windows.Examples.Properties.Settings" SettingsPropertyName="NorthwindConnectionString1"  
               Provider="System.Data.SqlClient" /> 
 
        C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\Telerik.Windows.Examples.exe.config 
  6     <add name="Telerik.Windows.Examples.Properties.Settings.NorthwindConnectionString" connectionString= 
              "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\DataSources\Northwind.mdf;Integrated Security=True;
               User Instance=True" providerName="System.Data.SqlClient"/> 
 
        C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\DataSources\NWindDataSet.Designer.cs 
 5107   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 5353   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 5593   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 5894   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6198   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6456   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6705   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6982   this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 
        C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\DataSources\NWindDataSet.Designer.vb 
 4955   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 5203   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 5463   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 5779   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 6082   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 6338   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 6604   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 6872   Me._connection.ConnectionString = Global.Telerik.Windows.Examples.Properties.Settings.[Default].NorthwindConnectionString 
 
         C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\DataSources\NWindDataSet.xsd 
    7    <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="NorthwindConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Public" Name="NorthwindConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Telerik.Windows.Examples.Properties.Settings.GlobalReference.Default.NorthwindConnectionString" Provider="System.Data.SqlClient" /> 
   12    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectName="dbo.BigOrders" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
   44    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectName="dbo.[Order Details]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
   76    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectName="dbo.Customers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
  122    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectName="dbo.Orders" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
  172    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectName="dbo.Invoices" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
  210    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectName="dbo.Categories" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
  240    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
  293    <DbSource ConnectionRef="NorthwindConnectionString (Settings)" DbObjectName="dbo.AddressBook" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill"
 
         C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\DataSources\NWindDataSet1.Designer.cs 
 5110    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 5356    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 5596    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 5897    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6201    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6459    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6708    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 6985    this._connection.ConnectionString = global::Telerik.Windows.Examples.Properties.Settings.Default.NorthwindConnectionString; 
 
       C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\GridView\WPF\Performance\ServerSide\Example.xaml.cs 
 50    context = new NorthwindDataContext(Settings.Default.NorthwindConnectionString); 
 
       C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\GridView\WPF\Performance\ServerSide\Example.xaml.vb 
 43    context = New NorthwindDataContext(Settings.[Default].NorthwindConnectionString) 
 
       C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\Properties\Settings.Designer.cs 
 31    public string NorthwindConnectionString { 
 33            return ((string)(this["NorthwindConnectionString"])); 
 42    public string NorthwindConnectionString1 { 
 44            return ((string)(this["NorthwindConnectionString1"])); 
 
       C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\Properties\Settings.Designer.vb 
 31    Public ReadOnly Property NorthwindConnectionString() As String 
 33            Return DirectCast((Me("NorthwindConnectionString")), String) 
 41    Public ReadOnly Property NorthwindConnectionString1() As String 
 43            Return DirectCast((Me("NorthwindConnectionString1")), String) 
 
       C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2010\Demos\Properties\Settings.settings 
  5    <Setting Name="NorthwindConnectionString" Type="(Connection string)" Scope="Application"
 13    <Setting Name="NorthwindConnectionString1" Type="(Connection string)" Scope="Application"
 
TOTAL:    56 matches in 14 files  (4014 other files without matches are not listed) 
 

It took me a long time to decide I had not made a mistake.  I would prefer to download a VS2010 set of Demos, rather than convert a VS2080 solution.

Thanks.

Mark









Veselin Vasilev
Telerik team
 answered on 21 May 2010
1 answer
84 views
Hi,

I have a Grid which is bound to an observable collection. The first column is a Combobox. Based on the selection in the first column, I need to change the values of the remaining columns in the same row. I tried to modified the Observable collection but the text of remaining columns are not getting changed. But if I click on each of the remaining columns, text is getting updated. Please help.

Thanks and Regards,
Norbert John
Pavel Pavlov
Telerik team
 answered on 21 May 2010
1 answer
55 views
Hi team,

Do we have same Pallette  that is same as MS word Pallette  (for referance please look at attachment) in Rad Color Picker?

If not Can you provide any similar kind of demo application to create Custom Pallette   kind of thing.


Miro Miroslavov
Telerik team
 answered on 21 May 2010
1 answer
157 views
Hi,

my grid has an item source which is an observable list of a objects, each of which consist of  a date and 5 numbers. For each row, I want to highlight the higest number in that row by making it bold.

Any pointers on how I would do this?

thanks,
Jas
Milan
Telerik team
 answered on 21 May 2010
4 answers
417 views
How do I get the GridViewRowItem object of the selected row in the RadGrid SelectionChanged event?


Jeffrey Lewis
Top achievements
Rank 1
 answered on 21 May 2010
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?