Telerik Forums
UI for WPF Forum
1 answer
74 views
Are documents written by the WPF XamlFormatProvider fully understood by the Silverlight XamlFormatProvider and vice versa? I'm asking because we might need OSX support down the road which we would provide using Silverlight if possible.
Ivailo Karamanolev
Telerik team
 answered on 29 Mar 2011
4 answers
199 views

Hello,

I am currently studying a solution in order to create a 3D menu similar to the menu of the PS3 from Sony.
For this, I use an horizontal RadCarousel to simulate my main menu.
I would like to insert for each item of this horizontal RadCarousel a new RadCarousel but vertically to simulate a sub menu.
Is this possible?

Other difficulties on the RadCarousel :
- How to make the first or the last selected item when I scroll ?
- Is it possible to disable the effect of depth RadCarousel ?

Thanks

huu phuc
Top achievements
Rank 1
 answered on 29 Mar 2011
2 answers
82 views
Can you please tell me the best way to achieve all the following:
1.  combobox in grid
2.  multi-column display in drop down list only
3.  type head in combobox

I tried the GridViewComboColumn but could not get type ahead or multi-column in the drop down list only.  I now have a CellTemplate with a RadCombobox but am having other issues like tab not changing the focus from a regular cell directly to the combobox and the selected row not changing when focus does hit the combobox.

Please help as the current implementation of trying to get an editable combobox in a grid seems very unweildy.

Thank you.
Mohamed
Top achievements
Rank 2
 answered on 29 Mar 2011
1 answer
132 views
When running the demo of the wpf controls and running the map example "First Look". Its possible to pan the map right off the screen.
I have the same issue in my application and I need to stop this from happening.

I see this was a previous issue under Issue ID 3713 - Map: Ability to limit panning and zoom ranges.
This issue has the status of resolved but I don't see what the solution is.

I figured out how to limit zoom ok by using MinZoomLevel and MaxZoomLevel but I see nothing for limiting panning.

I still need a solution for panning?

Please help.

Thanks
Andrey
Telerik team
 answered on 29 Mar 2011
3 answers
82 views
I have setup RadialGauge in xaml like this:
                <telerik:RadGauge x:Name="wciGauge" Width="300" Height="300" HorizontalAlignment="Right" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2"><br>                    <telerik:RadialGauge><br>                        <telerik:RadialScale Min="0" Max="100"><br>                            <telerik:RangeList><br>                                <telerik:RadialRange Name="Green" Min="0" Max="30" StartWidth="0.05" EndWidth="0.05" Location="Inside" Background="Green" BorderBrush="LightGray"/><br>                                <telerik:RadialRange Name="Yellow" Min="30" Max="50" StartWidth="0.05" EndWidth="0.05" Location="Inside" Background="Yellow" BorderBrush="LightGray"/><br>                                <telerik:RadialRange Name="Orange" Min="50" Max="70" StartWidth="0.05" EndWidth="0.05" Location="Inside" Background="Orange" BorderBrush="LightGray"/><br>                                <telerik:RadialRange Name="Red" Min="70" Max="100" StartWidth="0.05" EndWidth="0.05" Location="Inside" Background="Red" BorderBrush="LightGray"/><br>                            </telerik:RangeList><br>                            <telerik:IndicatorList><br>                                <telerik:Needle Name="needleIndicator" Value="{Binding CurrentWci.Score}" /><br>                                <telerik:StateIndicator Name="stateIndicator" Left="0.48" Top="0.60" RelativeWidth="0.1" RelativeHeight="0.1" Value="{Binding CurrentWci.Score}" /><br>                                <telerik:NumericIndicator Name="numericIndicator" Value="{Binding CurrentWci.Score}" Format="{}{0:F0}" FontSize="16" FontFamily="Arial" BorderBrush="Transparent"<br>                                                          Background="Transparent" Foreground="AntiqueWhite" Left="0.3" Top="0.80" RelativeWidth="0.55" RelativeHeight="0.16"><br>                                    <telerik:NumberPosition Background="Transparent" BorderThickness="0" /><br>                                    <telerik:NumberPosition Background="Transparent" BorderThickness="0" /><br>                                    <telerik:NumberPosition Background="Transparent" BorderThickness="0" /><br>                                </telerik:NumericIndicator><br>                            </telerik:IndicatorList><br>                        </telerik:RadialScale><br>                    </telerik:RadialGauge><br>                </telerik:RadGauge><br>

It works well running the application inside VS 2010.  It crashes when I run a ClickOnce version of the application on the same computer.  Exception given Is:
Cannot create instance of 'Needle' defined in assembly 'Telerik.Windows.Controls.Gauge, Version=2010.3.1314.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'. Exception has been thrown by the target of an invocation.  Error at object 'Telerik.Windows.Controls.Gauges.IndicatorList' in markup file.

Nothing in code behind except these using statements:
using Telerik.Windows.Controls;
using Telerik.Windows.Controls.Gauges;

Regards
Arnvid
Andrey
Telerik team
 answered on 29 Mar 2011
1 answer
192 views
Hi Telerik,

It's perfectly possible that my issue is due to not understanding the focus topic, but the general WPF examples I find do not seem to work for me with RadDocking.

Goal / What I try to achieve:
- I wish to be able to double-click a row in a RadGridView, which is inside a RadPane.
- When double-clicking, I wish to open another RadPane, potentially one that's already open and focus a specific control (RadMaskedTextBox) inside the new RadPane.

(Our inspiration is the Error List in Visual Studio - our goal is exactly the same, directing the user to be able to edit a specific, problematic value).

Problem:
The control is not focused, rather the initial window is focused.

What I do:
I use Keyboard.Focus() to focus the RadPane
I use Keyboard.Focus() to focus the specific control.
It's done after the control is loaded and the specific control has .Focusable==.IsVisible==true
Result: System.Windows.Input.Keyboard.FocusedElement shows the desired control.
So far so good!
In the eventhandler OnRowActivated I set e.Handled = true

But when I exit the eventhandler OnRowActivated (that is: after debugging, the app is running again), the Error window has focus, not the one I just gave focus to.

So do my Telerik controls 'draw back' the focus as part of wrapping up the OnRowActivated event handler, or do you have some ideas on what to try out?

Thanks,

Anders, Denmark
Milan
Telerik team
 answered on 29 Mar 2011
1 answer
28 views

 

Hi,
Can we have a Muliple columns under One column?

Vlad
Telerik team
 answered on 29 Mar 2011
1 answer
146 views
I'm developing MVVM application. I bind the DataGrid ItemsSource to a ObservableCollection in the ViewModel code. Every user control (eg. TextBox, Label, etc) in the UI except the DataGrid works fine. When the PropertyChanged event is fired, the value is displayed correctly. But not in the DataGrid, I use TwoWay mode, but it seems that the DataGrid never refresh itself. The DataGrid content is refreshed only when I try to sort any DataGrid column.
Vlad
Telerik team
 answered on 29 Mar 2011
3 answers
138 views
I've got two questions.

1. Is it possible to have a horizontal bar-chart which has a high and low-point (like a candle-stick-chart) ?

2. If yes is it possible to make these bars draggable with mouse or touch-events?
Yavor
Telerik team
 answered on 29 Mar 2011
2 answers
80 views
I am getting this weird object and I cant figure out how to get rif of it. See attached.  When i comment out the grid I dont see it, but wheen I just comment out the columns  and set autogenerate columns i do.  oops.  There are no attachments allowed anymore.  But it looks like a button

<telerik:RadGridView Grid.Column="1" Margin="21,78,65,38" AutoGenerateColumns="False" Name="rgvSellingTitles" CanUserDeleteRows="False" CanUserInsertRows="False" ShowGroupPanel="False" SelectionMode="Multiple"  IsScrolling="True" >
 
    
                <telerik:RadGridView.Columns>
                    <telerik:GridViewSelectColumn  Background="#2000FF00" />
                <telerik:GridViewDataColumn Header="SellingTitleRCId" UniqueName="SellingTitleRCId" DataMemberBinding="{Binding SellingTitleRCId}" IsFilterable="False" IsVisible="False" />
                    <telerik:GridViewDataColumn Header="SellingTitleId" UniqueName="SellingTitleId" DataMemberBinding="{Binding SellingTitleId}" IsFilterable="False" IsVisible="False" />
                    <telerik:GridViewDataColumn Header="EstimateId" UniqueName="EstimateId" DataMemberBinding="{Binding EstimateId}" IsFilterable="False" IsVisible="False" />
                    <telerik:GridViewDataColumn Header="ProgramId" UniqueName="ProgramId" DataMemberBinding="{Binding ProgramId}" IsFilterable="False" IsVisible="False" />
                    <telerik:GridViewDataColumn Header="Year" UniqueName="Year" Background="#2000FF00" DataMemberBinding="{Binding Year}" Width="50" />
                    <telerik:GridViewDataColumn Header="QTR" UniqueName="Quarter" Background="#2000FF00" DataMemberBinding="{Binding Quarter}" Width="50" />
                    <telerik:GridViewDataColumn Header="PP" UniqueName="DM_PricePeriod" Background="#2000FF00" DataMemberBinding="{Binding DM_PricePeriod}" Width="45" />
                    <telerik:GridViewDataColumn Header="External Id" UniqueName="DM_SellingTitle" Background="#2000FF00" DataMemberBinding="{Binding DM_SellingTitle}" Width="150" />
                    <telerik:GridViewDataColumn Header="Dealmaker Title" UniqueName="DM_Title" Background="#2000FF00" DataMemberBinding="{Binding DM_Title}" Width="150" />
                    <telerik:GridViewDataColumn Header="Start" UniqueName="Start" Background="#2000FF00" DataMemberBinding="{Binding DM_SD}" DataFormatString="{}{0:MM/dd/yyyy}" Width="75" />
                <telerik:GridViewDataColumn Header="P1849" UniqueName="DM_PL_A1849" Background="#2000FF00" IsFilterable="False" DataMemberBinding="{Binding DM_PL_A1849}" Width="45" />
                <telerik:GridViewDataColumn Header="P1849" UniqueName="MAESTRO_PL_A1849"  Background="#200000FF" IsFilterable="False" DataMemberBinding="{Binding MAESTRO_PL_A1849}" Width="45" />
                <telerik:GridViewDataColumn Header="C3 P1849" UniqueName="DM_C3_A1849" Background="#2000FF00" IsFilterable="False" DataMemberBinding="{Binding DM_C3_A1849}" Width="55" />
                <telerik:GridViewDataColumn Header="C3 P1849" UniqueName="MAESTRO_C3_A1849" Background="#200000FF" IsFilterable="False" DataMemberBinding="{Binding MAESTRO_C3_A1849}" Width="55" />
                    <telerik:GridViewDataColumn Header="DEMO_DIFF" UniqueName="DEMO_DIFF" IsFilterable="False" DataMemberBinding="{Binding DemDiff}" IsVisible="False" />
                    <telerik:GridViewDataColumn Header="Day Part" UniqueName="DM_DAYPart" Background="#2000FF00" DataMemberBinding="{Binding DM_DAYPART}" Width="70" />
                    <telerik:GridViewDataColumn Header="End" UniqueName="End" Background="#2000FF00" DataMemberBinding="{Binding DM_ED}" IsVisible="False" />
                    <telerik:GridViewDataColumn Header="Days/Times" UniqueName="DM_DAYS_AND_TIMES" Background="#2000FF00" DataMemberBinding="{Binding DM_DAYS_AND_TIMES}" Width="90" />
 
                    <telerik:GridViewDataColumn Header="Program" UniqueName="Program"  Background="#200000FF" DataMemberBinding="{Binding Program}" Width="150" />
                    <telerik:GridViewDataColumn Header="Time" UniqueName="Time" Background="#200000FF" DataMemberBinding="{Binding Time}" Width="50" />
                    <telerik:GridViewDataColumn Header="DOW" UniqueName="DOW" Background="#200000FF" DataMemberBinding="{Binding Weekdays}" />
                    <telerik:GridViewDataColumn Header="Dur" UniqueName="Duration" Background="#200000FF" DataMemberBinding="{Binding Duration}" Width="40" />
                    <telerik:GridViewDataColumn Header="Estimate" UniqueName="Estimate" Background="#200000FF" DataMemberBinding="{Binding Estimate}" Width="150" />
                    <telerik:GridViewDataColumn Header="Request" UniqueName="Request" Background="#200000FF" DataMemberBinding="{Binding Request}" DataFormatString="{}{0:MM/dd/yyyy}" />
                    <telerik:GridViewDataColumn Header="Exported" UniqueName="Exported" Background="#200000FF" DataMemberBinding="{Binding Exported}" DataFormatString="{}{0:MM/dd/yyyy}" />
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>

John Giblin
Top achievements
Rank 1
 answered on 28 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?