Telerik Forums
UI for WPF Forum
1 answer
188 views
I have OLAP Cube defined in SQL Server Analysis server and now am trying to connect the RadpIvotGrid (for WPF) and RadPivotFieldList to this Cube. I presume I should create a xmlaDataProvider and then set the connection settings. I cannot seem to get this working nor can I find any detailed instructions. My specific questions are:
1. How do I format the connectionsettings.ServerAddress - do I have to use http: or can I just provide a connection string. Can you provide examples of both of these - my server name is CUBESERVER and its ip address is 192.168.1.117
2. Once I have got a connection I presume I just set the RadPivotGrid and RadPivotFieldList dataprovider to the xmlaDataProvider created in step 1 and 2 above - is this correct:?
3. How then do I specify what fields I want to show in the PivotField List or does it just pick these up from the dataprovider - i.e. the fields in the Cube and what does it pick up - e.g. The measures or the dimensions?
4. Finally do you have any example code (in C#) of connecting to a SQL Server Analysis server and setting the connection etc

I would appreciate your comments - thank you
Rosen Vladimirov
Telerik team
 answered on 02 Jul 2014
1 answer
135 views
Hello!

I am using RadRichTextBox, and in my scenario user can add hyperlinks to RichText to some application entities. Those entities can change their names outside of the richtextbox, so I need to update hyperlink text with corresponding data. But documentation about HyperlinkRangeStart does not give any clues how to update hyperlink text.

Can someone please tell me how can I accomplish my task?

WBR,
Dmitry.
Petya
Telerik team
 answered on 01 Jul 2014
5 answers
140 views
Hey,

I'm creating a proof of concept to test the telerik calendar control. We designed a design for this control but we're having a problem with styling the DayButtonStyle.
We like to change the looks of the buttonchrome in this control because it looks awfull with our design. It is no problem to change this style but when we change the style and we are going to the next month, the days are not refreshing. The days are in the same place as the month before what isn't correct in this new month.

Is there something I am missing? Or is there a solution for this issue? There is not much to find about styling these buttons or issues with it.
Kalin
Telerik team
 answered on 01 Jul 2014
3 answers
360 views
Hi team,
I am currently using 2013.3.1204.40 version of Telerik.(MVVM, WPF application)

I have checkbox column and 5 text boxes in grid.
when the checkbox is checked, i want 3 textboxes in grid to be disabled.
when the checkbox is unchecked, i want 2 other textboxes in grid to be disabled.
 
Can you please help on how to achieve the above functionality.

Thanks,




Dimitrina
Telerik team
 answered on 01 Jul 2014
8 answers
414 views
Hi guys n gals,

I have noticed that if I use SetColumnError on a DataTable with a GridView bound to it (WPF, MVVM) then I don't see the error inidcator appear on the GridView.

Is this intentional?  If so, I find the GridView to be missing some be pretty basic functionality...
Dimitrina
Telerik team
 answered on 01 Jul 2014
1 answer
145 views
Hello,
I have a WPF .NET/4.0 application using RadTileView v4.0.30319.
I want to know how to implement a one click (rather than have the default double-click) open a tile?
Thx
Chris
Milena
Telerik team
 answered on 01 Jul 2014
2 answers
222 views
  •  Hi,,
    Am Using MVVM  ,
    Is It Possible to bind Selected Appointment  from Schedulview to local Variable.

    I try the Following Code ,

    in xaml
     <telerik:RadScheduleView
    Grid.Row="1"
    Name="xRadScheduleView"
    SelectedAppointments="{Binding MyAppointments}" >


    in ViewModel

    private Appointment _MyAppointments;
    publicAppointment  MyAppointments
    {    get { return _MyAppointments; } 
       set    {  if (value  ==  _MyAppointments)
                     return;
         _MyAppointments =value;   
    on propertychanged("MyAppointments");
     }}

    dim DateFrom as datetime= MyAppointments.start();
    dim DateTo as datetime= MyAppointments.End();









Kalin
Telerik team
 answered on 01 Jul 2014
3 answers
231 views
I have a chart which implements a Logarithmic Scale for the Y-Axis as described here:
http://www.telerik.com/help/wpf/radchart-features-axes-logarithmic-scale.html

I some cases, when the IsLogarithmic Property is toggled for Line Series types, the Point Marks become skewed.  The lines themselves seem to be plotted correctly, but the Point Marks will appear in their old positions.  This behavior only occurs for only certain data sets.

Below is an example which demonstrates the problem.

XAML:
<Window x:Class="LogarithmicScale.MainWindow"
        xmlns:telerikChart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"
        xmlns:telerikCharting="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"            
        xmlns:example="clr-namespace:Telerik.Windows.Examples.Chart.LogarithmicScale"
        Title="MainWindow" Height="700" Width="900" WindowStartupLocation="CenterScreen">
 
    <Window.DataContext>
        <example:ExampleViewModel />
    </Window.DataContext>
 
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
 
        <CheckBox x:Name="ToggleLogModeCheckBox" Content="Use Logarithmic Y-Axis"
                  IsChecked="False" Margin="6" Grid.Row="0"
                  Checked="ToggleLogModeCheckBox_Checked"
                  Unchecked="ToggleLogModeCheckBox_Checked" />
 
        <telerikChart:RadChart x:Name="RadChart1" Grid.Row="1" ItemsSource="{Binding Data}">
            <telerikChart:RadChart.DefaultView>
                <telerikCharting:ChartDefaultView>
                    <telerikCharting:ChartDefaultView.ChartArea>
                        <telerikCharting:ChartArea LegendName="PrimaryLegend">
                            <telerikCharting:ChartArea.AxisX>
                                <telerikCharting:AxisX/>
                            </telerikCharting:ChartArea.AxisX>
                            <telerikCharting:ChartArea.AxisY>
                                <telerikCharting:AxisY x:Name="LogAxis"
                                         IsLogarithmic="False"
                                         Title="Total population" />
                            </telerikCharting:ChartArea.AxisY>
                        </telerikCharting:ChartArea>
                    </telerikCharting:ChartDefaultView.ChartArea>
                    <telerikCharting:ChartDefaultView.ChartLegend>
                        <telerikCharting:ChartLegend x:Name="PrimaryLegend"/>
                    </telerikCharting:ChartDefaultView.ChartLegend>
                </telerikCharting:ChartDefaultView>
            </telerikChart:RadChart.DefaultView>
            <telerikChart:RadChart.SeriesMappings>
                <telerikCharting:SeriesMapping CollectionIndex="0">
                    <telerikCharting:SeriesMapping.SeriesDefinition>
                        <telerikCharting:LineSeriesDefinition ShowItemLabels="False" />
                    </telerikCharting:SeriesMapping.SeriesDefinition>
                    <telerikCharting:SeriesMapping.ItemMappings>
                        <telerikCharting:ItemMapping FieldName="Population"
                                      DataPointMember="YValue" />
                        <telerikCharting:ItemMapping FieldName="Time"
                                      DataPointMember="XValue" />
                    </telerikCharting:SeriesMapping.ItemMappings>
                </telerikCharting:SeriesMapping>
                <telerikCharting:SeriesMapping CollectionIndex="1">
                    <telerikCharting:SeriesMapping.SeriesDefinition>
                        <telerikCharting:LineSeriesDefinition ShowItemLabels="False" />
                    </telerikCharting:SeriesMapping.SeriesDefinition>
                    <telerikCharting:SeriesMapping.ItemMappings>
                        <telerikCharting:ItemMapping FieldName="Population"
                                      DataPointMember="YValue" />
                        <telerikCharting:ItemMapping FieldName="Time"
                                      DataPointMember="XValue" />
                    </telerikCharting:SeriesMapping.ItemMappings>
                </telerikCharting:SeriesMapping>
            </telerikChart:RadChart.SeriesMappings>
        </telerikChart:RadChart>
    </Grid>
</Window>


Code Behind:
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
 
namespace LogarithmicScale
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
 
private void ToggleLogModeCheckBox_Checked(object sender, RoutedEventArgs e)
{
  if (this.RadChart1 != null)
  RadChart1.DefaultView.ChartArea.AxisY.IsLogarithmic = (bool)((CheckBox)sender).IsChecked;
}
 
}
}

View Model
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
 
namespace Telerik.Windows.Examples.Chart.LogarithmicScale
{
    public class ExampleViewModel : ViewModelBase
    {
        private List<List<Stats>> data;
        public List<List<Stats>> Data
        {
            get
            {
                return this.data;
            }
            set
            {
                if (this.data != value)
                {
                    this.data = value;
                    this.NotifyPropertyChanged("Data");
                }
            }
        }
 
        public ExampleViewModel()
        {
            List<Stats> list0 = new List<Stats>();
            List<Stats> list1 = new List<Stats>();
            List<List<Stats>> listindex = new List<List<Stats>>();
 
            for (int i = 0; i <= 1000; i++)
                list0.Add(new Stats(i, 1 * i));
 
            for (int i = 0; i <= 1000; i++)
                list1.Add(new Stats(i, i * 10));
 
            listindex.Add(list0);
            listindex.Add(list1);
 
            this.Data = listindex;
        }
    }
 
    public class ViewModelBase : INotifyPropertyChanged, INotifyPropertyChanging
    {
        public event PropertyChangedEventHandler PropertyChanged;
        public event PropertyChangingEventHandler PropertyChanging;
 
        protected void NotifyPropertyChanged(String info)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(info));
            }
        }
 
        protected void NotifyPropertyChanging(String info)
        {
            if (PropertyChanging != null)
            {
                PropertyChanging(this, new PropertyChangingEventArgs(info));
            }
        }
    }
}


Model:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace Telerik.Windows.Examples.Chart.LogarithmicScale
{
    public class Stats
    {
        private int _time;
        public int Time
        {
            get
            {
                return this._time;
            }
            set
            {
                this._time = value;   
            }
        }
 
        private int _population;
        public int Population
        {
            get
            {
                return this._population;
            }
            set
            {
                this._population = value;   
            }
        }
 
        public Stats(int time, int population)
        {
            this.Time = time;
            this.Population = population;
        }
    }
}


Pavel R. Pavlov
Telerik team
 answered on 01 Jul 2014
1 answer
152 views
Hi team,

I've got a problem with the PersistanceManager. I'm using the routines from the demo for saving and loading the layout of the gridview. The data is saved in the isolated storarge. My gridview contains a GridViewToggleRowDetailsColumn.

When I start the application, don't change the layout, save the layout, restart the application and load the layout from the isolated storage the displayindex is deferred. When I remove the GridViewToggleRowDetailsColumn, save and load works fine.

<telerik:GridViewToggleRowDetailsColumn Header="+" HeaderTextAlignment="Center" x:Name="MainToggleColumn"/>

Please take a look at the attached screenshots. The first one (hc_110.jpg) displays the layout before saving. The second one (hc_111.jpg) displays the layout after restarting the application and loading the layout.

Do you have an idea how to find a solution for this?


Best regards


Yoan
Telerik team
 answered on 30 Jun 2014
2 answers
234 views
Hit Telerik,

I have just updated to the latest version of Telerik(from q2 2013 to q2 2014).

But i have a problem with the RadMaskedTextBox. 

All other Telerik controls can be found in the telerik dll's except RadMaskedTextBox. See attached image.

Has RadMaskedTextBox must have been removed???

Best regards,
Jeppe
Unisense
Top achievements
Rank 1
 answered on 30 Jun 2014
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
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?