Telerik Forums
UI for WPF Forum
3 answers
137 views

Hi,

We had a RadGrid on a form and we are changing cell background of cells manually depending on values in the cells. ANd it works fine but when we scroll down and then back to up then applied colors are meshed up and applied incorrectly
We are using 2011.2.920.40 version of WPF controls.

Thanks

Maya
Telerik team
 answered on 06 Aug 2012
0 answers
106 views
Hi every body
 

I'm trying to use RadPropertyGrid in my wpf application. and I can use it but I can't make a property have a brows button like visual studio property pane. Hove can I make it?
Ahad
Top achievements
Rank 1
 asked on 06 Aug 2012
0 answers
466 views
I'm working on a radgridview and I want the user to be able to have an option to show or hide the columns of the grid withing the application. Is there any property that I can set to true that would do this? If not,  Would the best way to implement this be a context menu? I have no room for a checkbox in the application or anything like that. Any code or suggestions would help. Here is the code I currently have to build the grid in the xaml. I am working in C# WPF.
<telerik:RadGridView Name="ExceptionsListBox" 
                                     IsReadOnly="True"
                                     ReorderColumnsMode="Interactive"
                                     UseLayoutRounding="False"
                                     EnableRowVirtualization="True"
                                     AutoGenerateColumns="False" 
                                     RowIndicatorVisibility="Collapsed"
                                     Background="#FF202020"
                                     RowHeight="20"
                                     GroupPanelBackground="#FF202020"
                                     GroupPanelForeground="white" 
                                     telerik:StyleManager.Theme="Expression_Dark" Grouped="ExceptionsListBox_Grouped">
                    <telerik:RadGridView.Columns>
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Key}"
                                                    Header="Type"/>
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding TypeText}"
                                                    Header="Error" />
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Message}"
                                                    Header="Error Message" />
                    </telerik:RadGridView.Columns>
                    <telerik:RadGridView.Resources>
                        <Style TargetType="telerik:GridViewHeaderRow">
                            <Setter Property="MinHeight" Value="15" />
                        </Style>
                        <Style TargetType="telerik:GridViewGroupPanel">
                            <Setter Property="MinHeight" Value="10" />
                            <Setter Property="Height" Value="10" />
                        </Style>
                          
                    </telerik:RadGridView.Resources>
                </telerik:RadGridView>
 
Tyler
Top achievements
Rank 1
 asked on 06 Aug 2012
1 answer
346 views

Hi Team Telerik,

My Code to list spell Check Suggestions in the Context Menu upon right clicking on the wrongly added text in the RichTextBox is n't working any more.
Actually what I did is :-

1. Enabled Richtextbox spell check property.
2) Enabled Richtextbox ContextMenu Enabled Property
3) Read * .tdf file as stream and load dictionary directly from the tdf stream

                               Private Sub LoadDictionary(ByVal tdfFileStream As Stream)

                                              Dim dictionary As New RadDictionary()

                                              dictionary.Load(tdfFileStream)

CType(Me.radRichTextBox.SpellChecker, DocumentSpellChecker).AddDictionary(dictionary, CultureInfo.CurrentCulture)

                               End Sub

RadRichtextBox property IsContextMenuEnabled is set to True ,but it is not working.

Is there any property to show
spell Check Suggestions apart from customizing the Context menu ?
Will it show the spell Check Suggestions in the Context Menu by adding the Reference to
Telerik.Windows.Documents.Proofing.Dictionaries.En-US.dll assembly by default ?

Does anyone have any suggestions why this may be?

Thank you for your time,

Lakshmi

Iva Toteva
Telerik team
 answered on 06 Aug 2012
11 answers
342 views
I am using WPF MVVM and having some trouble dragging an image from my application to the desktop. Any time I drag outside of the application the DragStatus becomes DragStatus.Cancel.

What am I doing wrong? I can post the relative code if this is not a simple thing.
Nick
Telerik team
 answered on 06 Aug 2012
0 answers
105 views
Hi,

Can I disable sorting on Group Header?
I want this sorting feature only on Columns not on the Grouped headers. How can i achieve this?
Balaji
Top achievements
Rank 1
 asked on 06 Aug 2012
6 answers
271 views
Have a PersonInCharge of List type Person in my ViewModel which bind to a GridView.

A comboboxcolumn in the grid, with ItemsSource of a PeopleList of List type Person

the grid shows well, but when i select different items in the combobox, it always return to the original value.

also the > in the grid leftmost column is always on row 1 instead of the highlighted row

anything wrong?


<telerik:RadGridView x:Name="PersonInCharge" Margin="5,5,5,0" Height="100" ShowGroupPanel="False" AutoGenerateColumns="False"
                 ItemsSource="{Binding Path=PersonInCharge}" CanUserInsertRows="True">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewComboBoxColumn x:Name="cbPersonInCharge"  Header="Person In Charge" UniqueName="PersonInCharge" EditTriggers="CellClick"
                                                             
                                                            ItemsSource="{Binding Path=PeopleList}"     DataMemberBinding="{Binding Person}"
                                                            SelectedValueMemberPath= "PeopleList/Person.ID}"   >                                                       
                        <telerik:GridViewComboBoxColumn.EditorStyle>
 
                        </telerik:GridViewComboBoxColumn.EditorStyle>
                        <telerik:GridViewComboBoxColumn.CellTemplate>
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock Text="{Binding Path=FirstName}" />
                                    <TextBlock Text="{Binding Path=LastName}"/>                            
                                </StackPanel>
                            </DataTemplate>
                        </telerik:GridViewComboBoxColumn.CellTemplate>
 
                        <telerik:GridViewComboBoxColumn.ItemTemplate  >
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock Text="{Binding Path=FirstName}" />
                                    <TextBlock Text="{Binding Path=LastName}"/>
                                </StackPanel>
                            </DataTemplate>
                        </telerik:GridViewComboBoxColumn.ItemTemplate>
                    </telerik:GridViewComboBoxColumn>
Neogeo
Top achievements
Rank 1
 answered on 06 Aug 2012
3 answers
234 views
Hello,

I have set up an editable column, with separate templates for view and edit defined.

<telerik:GridViewDataColumn Name="TargetPercentOfAccountMarketValue" Header="% Of Total"  
 Width="75" HeaderCellStyle="{StaticResource columnHeaderStyle}"                                            
CellStyle="{StaticResource whatIfCell}"
                                            
DisplayIndex="8" EditTriggers="CellClick,TextInput"
                                            
IsReadOnlyBinding="{Binding NodeType, Converter={StaticResource nodeTypeToIsReadOnlyConverter}}"
                                            
ColumnGroupName="WhatIfAllocation">
                    
<
telerik:GridViewDataColumn.CellTemplate>                        
<
DataTemplate>                            
<
TextBlock Text="{Binding Node.TargetPercentOfAccountMarketValue, StringFormat={}{0:P1}}"                                       
Foreground="{Binding Node.TargetPercentOfAccountMarketValue, Converter={StaticResource negativeColorFormatter}, UpdateSourceTrigger=PropertyChanged}">
                            
</
TextBlock>                       
</
DataTemplate>                    
</
telerik:GridViewDataColumn.CellTemplate>                    
<
telerik:GridViewDataColumn.CellEditTemplate>                        
<
DataTemplate>                            
<
TextBox BorderBrush="Transparent" BorderThickness="1"
Text="{Binding Node.TargetPercentOfAccountMarketValue, Converter={StaticResource StringToPercentageConverter}, StringFormat={}{0:N2}}"  Background="Transparent"                                     
Foreground="{Binding Node.TargetPercentOfAccountMarketValue, Converter={StaticResource negativeColorFormatter}}"/><
br>                       
</
DataTemplate>                  
</
telerik:GridViewDataColumn.CellEditTemplate>                
</
telerik:GridViewDataColumn>

The reason for the two separate templates is that I need the values formatted differently for viewing and editing.
I can enter into edit mode, i.e. I see the blinking cursor, but I cannot enter any values; backspace works strangely enough, so I can delete any existing value but when I try and enter it fails.

I'd like to know what is wrong with a column setup in this manner.

Thank You

Hasanain

Vlad
Telerik team
 answered on 06 Aug 2012
2 answers
158 views
Hi,
I am using 2011 Q3 SP1 ver GridView.
In this Grid i have a column called Status. and it is binded with type of Enum values.
And the sorting should be based on this Status column. (The order what we have in Enum Declaration)
So as binded enum type to datacolumn it is working fine even when I group by Status (Sorting wise)
One more thing is I am using CellTemplate to display the image at row level.
My Problem is
When I group By Status column, as I used Enum Value as DataMemberBinding,  Enum Type name is  coming as Group Header name.
So I have to show this Group Header names should be human readable.

If I am trying to update the groupheadertemplate with humanreadable text, then again i am facing the issue with sorting when grouping done.

Please help me in this regard.
Balaji
Top achievements
Rank 1
 answered on 06 Aug 2012
1 answer
121 views
hi,

is it possbile to add a busyindicator for each group in gridview rows? And how?

thanksbest
regards
rene
Vlad
Telerik team
 answered on 06 Aug 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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?