Telerik Forums
UI for WPF Forum
8 answers
957 views

Hello,

I'm using your RadGridView with the DataLoadMode on Async. What I've noticed is that the DataLoadMode cause the filters etc to be really unstable. However, the DataLoadMode on async makes the application really good, as it doesn't hang up the UI thread. But this won't work as long as it 

Right now I'm using the your RadGridView and search bar from the Outlook Template (found here: https://docs.telerik.com/devtools/winforms/visual-studio-integration/visual-studio-templates) . I'm working with large data sets, so upon search and loading of data, it freezes the UI Thread.  

I'm wondering how can I make the filtering and search etc to have the same async behavior as the dataloadmode async?

 

I also noticed that after using the search bar, the busyindicator for like data loading when I click on a button to show data e.g. etc stops working. 

Martin Ivanov
Telerik team
 answered on 14 Feb 2019
1 answer
139 views

Good day.

When you try to enter a emoji using the Windows touch keyboard in the RadWatermarkTextBox or RadComboBox, the application crashes.

System.ArgumentException: 'The surrogate pair is invalid. Missing a low surrogate character.'

Please help solve this problem.

Thank you

Kalin
Telerik team
 answered on 13 Feb 2019
1 answer
95 views

Hi,

when the pdfviewer is in textselection mode I am not able to select a full word when it ends with a punctuation mark like comma, dot or similar. The last character of the word will not be marked.

Any hints?

 

Thanks

Arndt

Tanya
Telerik team
 answered on 13 Feb 2019
2 answers
85 views
Ok, I'm new to using Telerik controls. I'm making some changes to an existing WPF app that uses the RadScheduleView control. I can't see to find detailed class reference information for this class. I'm kinda used to MSDN where I can look up a class and find a list of all the properties, methods, constructors, events, etc. All I managed to find are some tutorials, demos, examples and other docs that appear to be geared more towards marketing than being useful to a developer (https://docs.telerik.com/devtools/wpf/controls/radscheduleview/overview). I must be missing the obvious link but I just can't find a full class reference. Can anyone point me in the right direction please? Thanks.
Michael
Top achievements
Rank 1
 answered on 13 Feb 2019
5 answers
910 views
Hi,

I want to scroll through the Diagram using MouseScroll and do the zoom operation by holding CTRL key and use mouse scroll up/down. By default MouseScroll  does the zoom operations. I want to perform zooming by holding a CTRL modifier and MouseScroll. Is this possible?

Regards,
Vladimir Stoyanov
Telerik team
 answered on 13 Feb 2019
2 answers
421 views
I have a GridView in a WPF page. I've got the "Click here to add new item" row to appear in the grid, but when I click anywhere in the row, nothing happens. I cannot get the new row to appear. I've got "ShowInsertRow" and "CanUserInsertRow" both set to True. Am I missing something? Is there something else I have to do to make the new line appear?

Here's my XAML for the control, Thanks for your help.:

<telerik:RadGridView Name="rgvParameters" Grid.Column="1" HorizontalAlignment="Left" Margin="134,476,0,0" VerticalAlignment="Top" Height="171" Width="496" ItemsSource="{Binding}" IsFilteringAllowed="False" ShowGroupPanel="False" AutoGenerateColumns="False" SelectionUnit="Cell" ShowInsertRow="True" ActionOnLostFocus="None" CanUserInsertRows="True" CanUserReorderColumns="False" CanUserSortGroups="False" CanUserDeleteRows="False" SelectionChanged="rgvParameters_SelectionChanged">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn Name="rgcParameterID" DataMemberBinding="{Binding [ParameterID]}" Width="0" MaxWidth="0" MinWidth="0" />

                            <telerik:GridViewDataColumn Name="rgcApplicationID" DataMemberBinding="{Binding [ApplicationID]}" Width="0" MaxWidth="0" MinWidth="0" />
                            <telerik:GridViewDataColumn Name="rgcParameterName" DataMemberBinding="{Binding [ParameterName]}" 
                                Header="Key" />
                            <telerik:GridViewDataColumn Name="rgcParameterValue" DataMemberBinding="{Binding [ParameterValue]}"
                                Header="Value" />
                        </telerik:RadGridView.Columns>
                    </telerik:RadGridView>


Edit: One thing I just noticed. If I bring up the page and immediately click the new row, the new row line does appear. If I populate the grid with current data from the database with this line of code, the insert new row command no longer works:

rgvParameters.ItemsSource = businessRules.GetParameters(dsApp.Tables[0].Rows[0]["ApplicationID"].ToString()); 

Why does setting the ItemSource value invalidate the user's abiity to add a new record to the grid?
Wilfred
Top achievements
Rank 1
 answered on 12 Feb 2019
0 answers
124 views

     Hello, 

Im using RadTabControl for my project and everything is working fine with validations

Im using the same viewmodel for all tabs 

and I want to highlight the tab that has errors

Is it possible ?

 

thanks alot

moe
Top achievements
Rank 1
 asked on 12 Feb 2019
1 answer
34 views

Hi Team,

Is it possible to search fields in the RadPivotFieldList and filter the same? We have many fields that are populated in the RadPivotFieldList and it is difficult to navigate to a particular field in the list.

Regards,

Swapnil

Dinko | Tech Support Engineer
Telerik team
 answered on 12 Feb 2019
3 answers
233 views

Hello,

I can't open this pdf with PdfDocumentSource

>> https://    ufile.io/    rkqtk

Here the full error : 

System.IndexOutOfRangeException: Index was outside the bounds of the array.<br>   at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfReader.Parsers.PdfParser.TryReadIndirectObject(Int64 offset, Boolean isEncrypted, IndirectObjectOld& indirectObject)<br>   at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfReader.Parsers.PdfParser.ReadCrossReferenceStream(Int64 offset, CrossReferenceStreamOld& stream, Byte[]& data)<br>   at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfReader.Parsers.PdfParser.InitTrailerAndCrossReferenceStream(Int64 offset)<br>   at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfReader.Parsers.PdfParser.ReadCrossReferenceCollection(Int64 offset)<br>   at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfReader.Parsers.PdfParser.InitializeCrossReferences()<br>   at Telerik.Windows.Documents.Fixed.FormatProviders.Old.Pdf.PdfReader.PdfContentManager..ctor(PdfFormatProvider provider, Stream stream)<br>   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider.Import()<br>   at Telerik.Windows.Documents.Fixed.PdfDocumentSource.CreateDocumentFromStreamOverride(Stream stream, FormatProviderSettings settings)<br>   at Telerik.Windows.Documents.Fixed.FixedDocumentStreamSource.CreateDocumentFromStream(Stream stream, FormatProviderSettings settings)

 

Thanks for your help :)

JC
Top achievements
Rank 1
 answered on 11 Feb 2019
1 answer
196 views
I was wondering if I would be able to use the spreadsheet to satisfy the following requirements:
1. Data should be shown to the user in a 2D control, with a finite amount of columns and rows
2. The user should be able to add columns or rows to the control to the beginning, middle of the sheet
3. The user should be able to copy data from the control to excel
4. The user should be able to copy data from excel to the control.
5. The user should be able to mark any row or column as a "header" (Just allows for different formatting and input)
6. The user should be able to save this data from the control to a database and retrieve it at a later date, where each cell will be given a unique id.
7. The user should be able to apply steps 1-6 without overwriting the cell id for any existing cell.

From what I've seen the RadSpreadsheet does everything perfectly other than keeping track of properties on the cell, such as a unique id. I see that I can programmatically set the data with a class that implements ICellValue, but as soon as the user starts typing in the cell that data is overridden to become another type of CellValue, such as TextCellValue or NumericCellValue. Is there a way to force each cell to map to a custom ICellValue?

I see there are events for the WorkbookChanging, WorkbookChanged, and CommandExecuting but they don't really tell you what is changing to override the action. Perhaps using the history to keep track of what data was mutated can help to go back and set Id's on the cells which need an Id. 

The reason why the Id is so important is because, for good or bad, once persisted other tables can reference that cell ID and make calculations based off the value of the cell. So if I modify the table to add new rows or columns to the table, or modify the contents of the cell, the ids need to be tracked.
Boby
Telerik team
 answered on 11 Feb 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?