Telerik Forums
UI for WPF Forum
5 answers
127 views
Hello all,
I want to use a WCF Service as Tile Source.
As far as I have seen I can only use the GetTile() method to influence the tile request.
This way I can only change URIs.
Is or will there be any way to have an overidable method which returns image data so that I can fetch the images from my WCF Service?

This is a major point in our decision whether to buy the Telerik components.
Andrey
Telerik team
 answered on 05 Aug 2010
1 answer
114 views
Hi, I use a ListBox inside a RadExpander.

When I use the button a the center of my mouse to mode the scrollbar of the scrollviewer, it doesn't work
when I am into the Listbox. It works well, only when I am outside the ListBox.

Do you have this problem also and do you have a solution ?

Thank you in advance, 
Kiril Stanoev
Telerik team
 answered on 05 Aug 2010
10 answers
158 views
Hi!
I'm new here, and I just wanted to know how to change the "style" of a WPF application(e.g. for windows7, office_blue, ...?) like in demo? I don't need it at runtime.

I've VS2010 with the telerik rad controls for wpf installed(not the trial)

Thank you!
Miroslav
Telerik team
 answered on 05 Aug 2010
1 answer
99 views
Hi,

Is there any feature like "Cells with formulas" in gridview, the detailed information about the feature are listed below.

Cells with formulas - A cell can contain a formula (based in other cells of the same grid) and when a cell is modified, then the formulas are updated with the new information.

Thanks,
-Narendra
Maya
Telerik team
 answered on 05 Aug 2010
3 answers
115 views
I have a TreeView control that is bound to a XML source to populate the Tree about 3 nodes deep. Trying to search the Tree for a specific node or nodes containing that string but I can't seem to get an idea how. Has anyone done this using this control or has an idea how to go about doing it.
Hristo
Telerik team
 answered on 05 Aug 2010
1 answer
98 views
We have this code where we can switch from a pie to a bar.
The problem is: when we use the pie, the colors from the palette are used for each datapoint (4 different colors) and the legend shows the 4 datapoints in the serie.
But, switching to the bar, the colors are not used (we only get one color) and the datapoints (Nr1, Nr2...) don't show up in the legend.

        private BrushCollection _palette;

        public BrushCollection Palette

        {

            get { return _palette;}
            set { _palette = value; }

        }

        private void MakePallette()

        {

            Palette = new BrushCollection

                          {

                            new SolidColorBrush(Color.FromArgb(255, 106, 148, 200)),

                            new SolidColorBrush(Color.FromArgb(255, 238, 141, 61)),

                            new SolidColorBrush(Color.FromArgb(255, 145, 178, 80)),                         

                            new SolidColorBrush(Color.FromArgb(255, 255, 155, 152))

                          };

        }

        private void MakeChart()

        {

            RadChart radChart = new RadChart();s

            DataSeries dataSeries = null;

            MakePallette();

            foreach (Brush item in Palette)

            {

                radChart.PaletteBrushes.Add(item);

            }

           

            switch (ChartName) // determine what kind of data to display

            {

                case "A":

                    {

                        radChart.DefaultView.ChartTitle.Content = "All A";

                        switch (ChartNr)    // determine what kind of rendering (bar, pie...etc)

                        {

                            case 1:

                                dataSeries = new DataSeries { Definition = new PieSeriesDefinition() };

                                break;

                            case 2:

                                dataSeries = new DataSeries { Definition = new BarSeriesDefinition() };

                                break;

                        }

                        // Create a DataPoint

                        DataPoint dataPoint = new DataPoint { YValue = 8, Label = "8", LegendLabel = "Nr 1" };

                        dataSeries.Add(dataPoint);

                        

                        dataPoint = new DataPoint { YValue = 3, Label = "3", LegendLabel = "Nr 2" };

                        dataSeries.Add(dataPoint);

                       

                        dataPoint = new DataPoint { YValue = 10, Label = "10", LegendLabel = "Nr 3" };

                        dataSeries.Add(dataPoint);

                       

                        dataPoint = new DataPoint { YValue = 25, Label = "25", LegendLabel = "Nr 4" };

                        dataSeries.Add(dataPoint);

                    }

                    break;

                case "B":

                    {

                        radChart.DefaultView.ChartTitle.Content = "All B";

                        switch (ChartNr)    // determine what kind of rendering (bar, pie...etc)

                        {

                            case 1:

                                dataSeries = new DataSeries { Definition = new PieSeriesDefinition() };

                                break;

                            case 2:

                                dataSeries = new DataSeries { Definition = new BarSeriesDefinition() };

                                break;

                        }

                        DataPoint dataPoint = new DataPoint { YValue = 36, Label = "36", LegendLabel = "Krediteringer"};

                        dataSeries.Add(dataPoint);

                       

                        dataPoint = new DataPoint { YValue = 14, Label = "14", LegendLabel = "Rettelser"};

                        dataSeries.Add(dataPoint);

                        

                        dataPoint = new DataPoint { YValue = 369, Label = "369", LegendLabel = "Enkeltgebyr"};

                        dataSeries.Add(dataPoint);

                    }

                    break;

            }           

            radChart.DefaultView.ChartLegend.Header = string.Empty;

            radChart.DefaultView.ChartArea.DataSeries.Add(dataSeries);

        }

Sia
Telerik team
 answered on 05 Aug 2010
3 answers
128 views
Hi,

Can you please guide me, how can i print contents of the RadGridView.

Thanks,
-Narendra
Veselin Vasilev
Telerik team
 answered on 05 Aug 2010
1 answer
48 views
Hi,

Is there any functionality on RadGridView which supports searching data for any column (a column, a list of columns or all the columns at the same time)

NOTE: I'm aware of filtering functionality on gridview.

Thanks,
-Narendra
Veselin Vasilev
Telerik team
 answered on 05 Aug 2010
1 answer
542 views
I have the following derivation that includes the customary static constructor.

 

public class CustomRadDatePicker : RadDatePicker

 

 

static CustomRadDatePicker()

 

{

DefaultStyleKeyProperty.OverrideMetadata(

 

typeof(CustomRadDatePicker),

 

 

new FrameworkPropertyMetadata(typeof(CustomRadDatePicker))); // also tried RadDatePicker here

 

}

In the XAML for the controls template I have the following.

 

 

 

<Style TargetType="{x:Type SharedControls:CustomRadDatePicker}">
...

 

 

 

<Setter Property="Template">

 

 

 

 

 

 

<Setter.Value>

 

 

 

 

 

 

<ControlTemplate TargetType="{x:Type SharedControls:CustomRadDatePicker}">

Now when I use the control on a page it does not use the style I have set up but is using the Telerik style.
I have my derived control and its template set up in a WPF custom control library.
Is it allowed to override the Teleric Style?

-eric

 

George
Telerik team
 answered on 05 Aug 2010
1 answer
159 views

 

Hi,

As per my observations on RadTabcontrol, i found tooltip property is there.

Is there any property which i set the style of the tooltip like Background and ForeGround?

Miroslav
Telerik team
 answered on 05 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?