Telerik Forums
UI for WPF Forum
1 answer
94 views
I need to find a way to make the needle of a radial gauge pass over the numeric indicator, much as the needle of a car passes over the odometer.  Currently the needle is covered by the numeric indicator when it passes.  I am somewhat new to WPF and this may be something that is easy to do but I have not yet found out how to make this happen.  Any help would be greatly appreciated.

Thanks in advance,

James
James
Top achievements
Rank 1
 answered on 02 Mar 2012
1 answer
121 views
Hi

I have a sample solution, in which I've created a clean RadRibbonWindow that has a RadRibbonView, with a single Backstage item and a single RadRibbonTab. I've set the Backstage to be open on start.
When the window is maximised and the Backstage is open, I can not move my window by grabbing the Title bar with the mouse and dragging it around (it automatically maximises on the current screen). This only seems to be an issue in the latest Telerik control set (Version=2012.1.215.40).
If I revert to the previous versions of the Telerik dlls, ( Version=2011.3.1220.40) it works fine:

<Reference Include="Telerik.Windows.Controls, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Navigation, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.RibbonView, Version=2012.1.215.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <!--<Reference Include="Telerik.Windows.Controls, Version=2011.3.1220.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.Navigation, Version=2011.3.1220.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />
    <Reference Include="Telerik.Windows.Controls.RibbonView, Version=2011.3.1220.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL" />-->

I have a clean sample solution to illustrate this issue. Please advise as to how I can upload this to an administrator.
Petar Mladenov
Telerik team
 answered on 02 Mar 2012
8 answers
507 views
Hi,

I have a TreeView in my WPF application. Items are allowed to be dragged within the same TreeView. However, while dragging the item, the TreeView does not automatically scroll vertically when mouse approaches top or bottom borders. 

I want a similar behavior like in Windows Explorer. When dragging a folder/file if the mouse approaches the border it performs automatic scroll. Otherwise it would be impossible to operate if you have large number of nodes in the tree.

Thank you,
Ruben.
Mike
Top achievements
Rank 1
 answered on 02 Mar 2012
3 answers
206 views
Sorry posted this twice!!
Hi,
I have a radtileview with a small number of tiles and I am attempting to loop through the tiles and maximse each one in turn form code behind. I get the  'Object reference not set to an instance of an object.' error when maximise is called. Can you put me right with this.
Regards,
Joe

The Code:

 

For I As Integer = 0 To Me.RadTileView1.Items.Count - 1

Dim item As RadTileViewItem = TryCast(Me.RadTileView1.Items(6), RadTileViewItem)

item.TileState =

 

TileViewItemState.Maximized

Thread.Sleep(5000)

Next


Tina Stancheva
Telerik team
 answered on 02 Mar 2012
1 answer
93 views
Hi:

I'm trying to create a calculated column or row to a radgridview. but the data is too much. how can i do it???
Vlad
Telerik team
 answered on 02 Mar 2012
3 answers
136 views
If i try to add one new element to the RadGridView with filter set for one or more columns and defaults for new item correspond to filtered elements , the new element isn't diplayed and can't be edited ....
There is a way to edit new item with filters activated ?

Thanks in advance
Florian
Top achievements
Rank 1
 answered on 02 Mar 2012
1 answer
109 views
Hi.

<

telerik:RadGridView.RowDetailsTemplate>

<DataTemplate>

     <telerik:RadGridView Margin="4,5,5,4" ShowColumnFooters="False" ShowGroupPanel="False" AutoGenerateColumns="False" ShowInsertRow="False" ItemsSource="{Binding IoTerminals}">

     <telerik:RadGridView.Columns>

         <telerik:GridViewDataColumn Header="Name" DataMemberBinding="{Binding Name}"/>

        <telerik:GridViewCheckBoxColumn Header="Simulated" DataMemberBinding="{Binding Simulated}"/>

         <telerik:GridViewCheckBoxColumn Header="Sim is possible" DataMemberBinding="{Binding SimPossible}" />

    </telerik:RadGridView.Columns>

    </telerik:RadGridView>

</DataTemplate>

</telerik:RadGridView.RowDetailsTemplate>

(Edit: I have made two edits on this post to try to make the above xaml look approachable, but to little avail)

The two Checkbox columns shows up empty. In the debugger I see that the property "SimPossible" is executed correctly and that it return "true". The "Name" column shows the correct value (boolean True).
If I change AutoGenerateColumns to True, then the additional generated columns shows correct value (and checked status).
No binding error is displayed in the debugger output window.

Is there any further parameterization necessary to map boolean "True" to display checked status? Do I need a value converter?

As you can see, this is in the rowdetails section of another GridView (in case that is relevant).

(New Info : Replacing the GridViewCheckBoxColumn with regular GridViewDataColumn is displayed correctly)

I use Q1 2012.

 

Dimitrina
Telerik team
 answered on 02 Mar 2012
0 answers
137 views
I am using RadTreeListView control to display data as a hierarchical view. I am binding my entity collection to the control using ItemSource, and my entity collection is of type ObservableCollection<T>. Whenever some data is changed in the source collection, i am performing an ItemSource again on the control. This is leading to losing all the expand/collapse state of the control. Thats is, as soon as I bind the new data (ItemSource), it updated the data but closes the expand/collapse state. How can I maintain the expand/collapse state of control even after ItemSource.
Bhaskar Khaund
Top achievements
Rank 1
 asked on 02 Mar 2012
0 answers
146 views
Hello,

I have a radgridview which i have bind to an ObservableCollection<objects>.
Now i want to insert a new row. I Have the following columns - Countryid | CountryName | Currency.

For the countryid and name i just type in some value in the cell...as for the Currency...i get the value from lookup.

When i double click on the cell Currency - i have a Search screen from which i select the currency.

Now the issue is that on closing the search screen , i can't return the value to the cell Currency.

Does anyone know how we can do this ?
i was trying to set the value of current cell but it did nt work.
gvcountries.Currentcell.Value = "text";

Please giv some hints on how i could tackle this.

Regards
Shaimaa
Shaimaa
Top achievements
Rank 1
 asked on 02 Mar 2012
4 answers
324 views
When binding the RadListBox, the list items have a gray foreground color on load. It is only until I mouse over each item that they turn to black. After the mouse over it is working fine.

My Listbox is:
<telerik:RadListBox x:Name="lb1" Width="116" HorizontalAlignment="Left" IsEnabled="True" telerik:StyleManager.Theme="Windows7" ItemsSource="{Binding}">
               <telerik:RadListBox.ItemTemplate>
                   <StaticResource ResourceKey="Template1"/>
               </telerik:RadListBox.ItemTemplate>
           </telerik:RadListBox>

DataTemplate:
<Grid.Resources>
                <DataTemplate x:Key="Template1">
                    <WrapPanel>
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="20"/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>
                            <TextBlock Grid.Column="0" Text="{Binding Path=A1}"/>
                            <TextBlock Grid.Column="1" Text="{Binding Path=B1}" Margin="4,0,0,0"/>
                        </Grid>
                    </WrapPanel>
                </DataTemplate>
            </Grid.Resources>

Boyan
Telerik team
 answered on 02 Mar 2012
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
PersistenceFramework
DataPager
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?