Telerik Forums
UI for WPF Forum
1 answer
100 views
I have a RadGridView with the EditTriggers set to "CellClick". In a normal scenario, I can click on a cell, edit it and the cell will take up the new value as expected. However, very rarely when I click on a cell, I can edit it but the value doesn't persist. I can't make out a pattern for the issue and it occurs randomly. I am using the 2010.2.0714.35 version of the grid. I would like to know if this is a known issue and if it's been fixed in a later version of the grid.

Some more details:
  1. I can see an icon on the left hand side when I edit a row and it usually goes away when I switch to an another row. The rows with the "locked" cells have this "editing icon" all the time. That is, even if I switch to another row, the icon doesn't go away and I can no longer edit any cells in that row.
  2. If I click on any cell in the rows with this issue, the text in the cell momentarily disappears. I can still enter in new text but of course it doesn't persist. If I move out of the cell, the old value comes back. In a normal cell, when I click on the cell, it will still retain the existing text and I can edit it.
  3. I am not doing anything particularly fancy with the grid. I am hooking into the CellValidating event to convert any newly entered text to lower case (business requirement). Here's the code:
    private void GridView_CellValidating(object sender, Telerik.Windows.Controls.GridViewCellValidatingEventArgs e)
            {          
                if (e.OldValue != e.NewValue)
                {
                    ((System.Windows.Controls.TextBox)(e.EditingElement)).Text = e.NewValue.ToString().ToLower(System.Globalization.CultureInfo.InvariantCulture);
                    IsEdited = true;
                }
            }
  4. This is the markup of the grid:
    <local:EquipmentsGridView x:Name="uxStowList" ListType="StowList" Deleting="OnDelete" SelectionMode="Extended"  CanUserInsertRows="True" ShowInsertRow="True"  ShowGroupPanel="True" telerik:StyleManager.Theme = "Office_Blue"
                                    IsFilteringAllowed="True" AutoExpandGroups="False"
                                        EditTriggers="CellClick" RowLoaded="ListRowLoaded" RowEditEnded="Gridview_RowEditEnded"  ColumnWidthChanged="uxStowList_ColumnWidthChanged" DataLoaded="uxStowList_DataLoaded" HorizontalAlignment="Left" VerticalAlignment="Top">
                                        
                                  <telerik:RadGridView.Columns>
                                           <custom:GridRowNumber Header="#" Width="50" />
                                           <telerik:GridViewColumn>
                                               <telerik:GridViewColumn.CellTemplate>
                                                   <DataTemplate>
                                                       <telerik:RadRibbonButton SmallImage="Resources\CrossIcon.png" Command="telerikGrid:RadGridViewCommands.Delete" CommandParameter="{Binding}" Name="btnDeleteStowList"  Click="btnDeleteStowList_Click" />
                                                   </DataTemplate>
                                               </telerik:GridViewColumn.CellTemplate>
                                           </telerik:GridViewColumn>
                                           <telerikGrid:GridViewSelectColumn></telerikGrid:GridViewSelectColumn>
                                       </telerik:RadGridView.Columns>
                                   </local:EquipmentsGridView>
    EquipmentsGridView is inheriting from RadGridView and the RowEditEnded event isn't doing anything to the grid.

Please let me know if I can provide more information.
Yordanka
Telerik team
 answered on 24 Oct 2011
3 answers
261 views

I am binding programatically to a GridViewComboBoxColumn (see C# below) and I am using the CellTemplate to display a RadComboBox instead of text.  The problem is that I do not know how to set the ItemSource for the RadComboBox in order to make it work.  Thanks in advance for any help!

((GridViewComboBoxColumn)this.RadGridView_TrusteeLedgers.Columns[1]).ItemsSource = trustees;

<telerik:GridViewComboBoxColumn Header="Trustee" DataMemberBinding="{Binding TrusteeID}" SelectedValueMemberPath="TrusteeID" DisplayMemberPath="TrusteeCode" Width="60" Name="Trustee">
    <telerik:GridViewComboBoxColumn.CellTemplate>
        <DataTemplate>
            <telerik:RadComboBox
                    ItemsSource="???"
                    SelectedValuePath="TrusteeID"
                    telerikControls:Theming.Theme="Office_Blue"
                    SelectedValue="{Binding TrusteeID, Mode=TwoWay}"
                    DisplayMemberPath="TrusteeCode" />
        </DataTemplate>
    </telerik:GridViewComboBoxColumn.CellTemplate>
Maya
Telerik team
 answered on 24 Oct 2011
3 answers
122 views
Hello,

I have updated with last release, and I have problems with drag&drop.

I have the following configuration
I drag an elt from a "palette" (in a radpane) to a diagram (in documenthost).
<telerik:RadDocking x:Name="xDocking" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Unloaded="RadDocking_Unloaded"
                            telerik:RadDocking.SerializationTag="xDocking"
                            v6:RadDockingExtensions.RemovePanesWhenClosed="True" v6:RadDockingExtensions.SaveFloatingPane="True">
            <telerik:RadDocking.CompassStyle>
                <Style TargetType="{x:Type telerik:Compass}">
                    <Setter Property="IsCenterIndicatorVisible" Value="True"/>
                </Style>
            </telerik:RadDocking.CompassStyle>
            <telerik:RadDocking.DocumentHost >
                <Grid>
                      <DiagramControl>[... Target of my drop ...] </DiagramControl>
 </Grid>
            </telerik:RadDocking.DocumentHost>
  
            <telerik:RadSplitContainer x:Name="DockLeft" InitialPosition="DockedLeft" Orientation="Vertical" Width="250" telerik:RadDocking.SerializationTag="DockedLeft">
  
                <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200,30"  telerik:RadDocking.SerializationTag="g1" AllowDrop="False">
                    <telerik:RadPane Header="{x:Static v6Properties:Resources.newelement}" CanDockInDocumentHost="False" CanUserClose="False"  CanFloat="False"
                                     ContextMenuTemplate="{x:Null}" telerik:RadDocking.SerializationTag="palette"
                                     AllowDrop="False">
  [.. Control where I select an elt to drop ...]
</telerik:RadPane>
</<telerik:RadPaneGroup>

The drag&drop performed is not made by telerik.
But now, the first drag i make, i obtain the following error :
à Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnGiveFeedbackEventHandler(Object sender, GiveFeedbackEventArgs e) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs:ligne 1700
  Ã  Telerik.Windows.DragDrop.DragDropManager.DelegateHelper.OnGiveFeedback(Object sender, GiveFeedbackEventArgs e) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs:ligne 1779
  Ã  System.Windows.GiveFeedbackEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
  Ã  System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
  Ã  System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  Ã  System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  Ã  System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
  Ã  System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
  Ã  System.Windows.OleDragSource.RaiseGiveFeedbackEvent(GiveFeedbackEventArgs args)
  Ã  System.Windows.OleDragSource.MS.Win32.UnsafeNativeMethods.IOleDropSource.OleGiveFeedback(Int32 effect)
   
  Recherche de la source pour 'c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\DragDropManager\DragDropManager.cs'. Checksum: MD5 {47 7b 42 df ec cf a4 e7 e3 a d3 ef cf 9c e9 b9}

the others drag&drop work but not really as before :

Sometimes, my diagram component doesn't receive the drop event, the drawed cue disappears ???

Have you an idea ?

Probably the diagram component dragdrop is based on microsoft dragdrop, and there's some concurrency...

Aurore

Vlad
Telerik team
 answered on 24 Oct 2011
1 answer
103 views
Hi,

My company is getting ready to release a few projects that use the Telerik controls.  In development however we have used some code shared by an admin on the forums as a code example.  Are there any license restrictions placed on this code?
Vlad
Telerik team
 answered on 24 Oct 2011
3 answers
205 views
Is it possible to give the have the Expression Editor pull properties from multiple object for the fields in the tree view?  Also, is it possible to make the Editor check if child objects of the object it is passed have properties?

Thank you very much
Ron
Top achievements
Rank 1
 answered on 21 Oct 2011
4 answers
132 views
I have a DataTable that is the source for my DataFilter but I need to get the FilteredSource as a DataTable back out. Is there an easy way to accomplish this using the current control?

Thanks,
Shawn
David
Top achievements
Rank 1
 answered on 21 Oct 2011
1 answer
63 views
Dear Telerik team,
I would like to add the ability to select several days of a month as a filter criteria of several components to the RadRibbonView. So, which control would be better to use? A RadCalendar or RadDateTimePicker?
As far as I have understood the docs I need a dropdownbutton or splitbutton, which is built in in the datetimepicker. But do I need a Gallery for popup then as well?

Kind regards,
Hermann
Petar Mladenov
Telerik team
 answered on 21 Oct 2011
1 answer
144 views
I'm using version 2010.2.924.40 of RadGridView. The ColumnWidthChanged event is not firing when the user Dbl-Clicks the header cell splitter. It does fire when the user drags the header cell splitter to resize the column manually.
Tsvyatko
Telerik team
 answered on 21 Oct 2011
5 answers
273 views
I am Using RadColorPicker in our project. But RadColorPicker is not working as Office ColorPicker.

when i am selecting ColorPicker By Default NoColorFeild Selected with Black color.
after that i am selecting any color from Header Pallete or Standard Pallete. Color change as per selection.

when again i am trying to select NoColorFeild or click on 'Automatic', That is not working as Office ColorPicker.

 
Petar Mladenov
Telerik team
 answered on 21 Oct 2011
8 answers
230 views
Howdy,

I have two questions dealing with the UriImageProvider:

1) Are there limits to what size/resolution image you should use with the UriImageProvider? I seem to be unable to load files that have huge resolution (25,200 x 18,000 3.3 MB GIF for example).

2) I need to be able to hide/disable the grey area of the map control when using UriImageProvider. I am allowing users to drag MapPinPoints onto the map, but want to deny them ability to do so outside the bounds of the underlying image. Any ideas how this can be accomplished? I also would like to prevent zooming too high so that the user can no longer see the image (I would hope that I could look at the underlying image, check the resolution, and set the MinZoomLevel of the map control based on it's size).

Thanks,
Seth
Andrey
Telerik team
 answered on 21 Oct 2011
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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?