Telerik Forums
UI for WPF Forum
0 answers
183 views

Hello,

I'm having problem with editing data in my RadGridView. I have it populated with DB items, with some columns editable. After edit is done, other cells are supposed to update. And here everything is working fine, user can edit row, and then, here comes the problem, he needs to leave current ROW in order to trigger RowEditEnded event. After changing it to CellEditEnded I have alot troubles with StackOverflow errors, coz event is triggered repeatedly (and I'm not sure if it works and can't break the infinite trigger). I'm looking for solution to either:

1. Call RowEditEnded event after user is leaving edited cell and navigate to another cell within the same row

2. Handle CellEditEnded event once, just the same as I handle RowEditEnded (I expected them to work in similar way)

Here is code behind example of what I'm trying to do:

 

private void OnEditEnded_OnRowEditEnded(object sender, GridViewRowEditEndedEventArgs e)
        {
            var grid = sender as RadGridView;
 
            if (grid != null)
            {
                var objectFromList = grid.SelectedItem as MyClass;
               
 
                if (objectFromList != null)
                {
// Whole logic here
                }
            }
           }

 

Looking forward for quick answer,

Best Regards

Mateusz
Top achievements
Rank 1
 asked on 22 Jan 2018
2 answers
172 views

Hi,

I'm new to GanttView. I have a collection grouped by some ID as TaskSource. The collection is listed in RadGanttView.Columns. But I don't want the datetime to be displayed in the Grouped Row (Tree Header). How can I achieve this? Please help me on this.

 

Thanks & Regards,

Muhammad Azhar Shah

Azharshah
Top achievements
Rank 1
 answered on 22 Jan 2018
2 answers
148 views
How to get node children count after applying column filter?

I used the following solution for counts, before filtering

http://www.telerik.com/community/forums/wpf/treelist/summing-up-parents-and-children.aspx

Now I am  stuck with counts, after filtering

Can any one help me plz?

Dan
Top achievements
Rank 1
 answered on 21 Jan 2018
2 answers
185 views

when I try and run the demos after latest update (2017.3.1018) I get.

You cannot start application demos - telerik UI for WPF from this location because it is already installed from a different location.

any help would be appreciated

 

Jan
Top achievements
Rank 2
 answered on 20 Jan 2018
1 answer
151 views

Hello,

Attached a simple application that has one pane. 

Upon init, I'm calling to:

mainPane.Content = new UserControl1();

 

Upon 'save' menu item I'm calling to:

FileStream Stream = File.Create("MyApplication.wsp");
Docking.SaveLayout(Stream);
Stream.Close();

 

Upon 'load' menu item I'm calling to:

FileStream Stream = File.Open("MyApplication.wsp", FileMode.Open);
Docking.LoadLayout(Stream);
Stream.Close();

 

But at this point, the pane is displayed exactly in the location where it was when layout was saved.

But it's empty, without its user control.

Can you please help ?

How can I upload full source tree ?

Thank you,

Zvika 

Zvi
Top achievements
Rank 1
 answered on 20 Jan 2018
3 answers
228 views

How can I prevent changing the width of the RadOutlookBar inside a RadPane?

What I did for now is to process SizeChanged event and force the RadOutlookBar's Width property to the Width of its LogicalTreeHelper.GetParent() but it's still possible to have the mouse catch the edge of the RadOutlookBar instead of the RadPane parent's splitter which gives the illusion that the splitter won't move.  Is there a better way to do this?

 

Ahmed
Top achievements
Rank 1
 answered on 19 Jan 2018
1 answer
175 views
How to prevent attach connection to shape, detach connection from shape and delete connection from diagram? I want to make decision on ObservableGraphSourceBase level.
Petar Mladenov
Telerik team
 answered on 19 Jan 2018
1 answer
386 views

So, I just updated my project to 2018.1.116 because it fixed the "OutOfMemoryException" that was being thrown by the PDFViewer.  The latest version has seemed to resolve that issue, but now there's a new issue.  PDFs with images load, display and export just fine, however if you try and print a PDF that contains an image, the images is not printed.

 

You can reproduce this behavior by opening Telerk's WPF Demo application, go to the PDFViewer sample and printed.  The document prints but id did not print the image under "1. Images" on page 2.

 

Anyone else having this issue?

Anna
Telerik team
 answered on 19 Jan 2018
3 answers
262 views

Hi all,

     I read this blog(https://www.telerik.com/blogs/ui-automation-testing-with-uia-verify) about identify Wpf telerik element by uia verify tool. 

     However, I can't find the RadButton and only the text on uia verify tool. Could someone give me hints? Thanks

Yoan
Telerik team
 answered on 19 Jan 2018
7 answers
1.2K+ views

Hi,

I'm trying to use different GroupHeaderTemplates with Converters for the columns in my grid view.  If I apply the template to the entire grid, my converter gets invoked.

           <telerik:RadGridView.GroupHeaderTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />
                </DataTemplate>
            </telerik:RadGridView.GroupHeaderTemplate>

 

If I apply the GroupHeaderTemplates to GridViewDataColumn, my converter gets called unless the column had a cell template.  My converter gets called for the followiing:

 

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

                   <telerik:GridViewDataColumn.GroupHeaderTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" />

                        </DataTemplate>
                    </telerik:GridViewDataColumn.GroupHeaderTemplate>

            </telerik:GridViewDataColumn>

My converter (IsActiveConverter) does NOT get called for the following.

               <telerik:GridViewDataColumn Width="16" SortMemberPath="FontFormat">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <Image x:Name="TypeIcon" Width="12" Height="12" Style="{StaticResource TypeIconStyle}" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                    <telerik:GridViewDataColumn.GroupHeaderTemplate>
                        <DataTemplate>
                            <Image Source="{Binding Group.Key, Converter={StaticResource IsActiveConverter}}" Height="16" Width="16"/>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.GroupHeaderTemplate>
                </telerik:GridViewDataColumn>

 

What am I doing wrong?  Thanks.

 

    
 

Stefan
Telerik team
 answered on 19 Jan 2018
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?