Telerik Forums
UI for WPF Forum
0 answers
206 views
I have a RadGridview where I select 3 cells and I paste 5 cells copied from excel,notepad,etc., now i have 2 new rows added(empty rows acting as new row). I tried setting insertnewrows=false and also allselectedcells but no use. help would be appreciated.  
Shivam
Top achievements
Rank 1
Iron
 asked on 21 Oct 2022
1 answer
167 views

I want to drag and drop files from a RadGridView to Outlook. Each line in my grid represents an Invoice including PDF file.
My users want to drag items into an Outlook message in order to send the PDF as attachment. (one or more)

I've been trying to search for a way to do it, but I can only find examples to drag-and-drop within the same application.

Martin Ivanov
Telerik team
 answered on 21 Oct 2022
1 answer
125 views

Is there a way to have a custom event on a GridViewHyperlinkColumn and disable the primary default behavior?

Currently I can add a handler to the Hyperlink.Click event, but the control seems to always have the default click event enabled.

For example, if my custom event opens a link, then the above behavior ends up opening duplicate links.

 

Thanks,

Nelson

Stenly
Telerik team
 answered on 19 Oct 2022
1 answer
210 views

Hi,    

I'm trying to create a custom component that inherits from RadGanttView, but I'm not sure what the intended workflow is intended to be. Namely to set my columns, rows, taskssource,... up. Here are the steps that I took:  

1- Create a "CustomGantt.cs" class that inherits from RadGanttView   

2- Create a Generic.xaml file. Within that file, create a style that targets CustomGantt and is based on the default RadGanttViewStyle   

3- Add said Generic.xaml file to my App.Resources   

Now I can add my CustomGantt control to any of my views, and it does display a Gantt as intended, however, this, is not enough as I've yet to define my columns, rows, source,.... But I'm unsure of what the best way to do that is supposed to be. Should I create a ControlTemplate within my Generic.xaml file in which I add a RadGanttView that I can then set up?     

Thanks a lot for your help!

Dilyan Traykov
Telerik team
 answered on 19 Oct 2022
2 answers
114 views

We have a RadGridView which contains a combobox, bound to a collection of custom objects. 

At the moment the full text search does not take the combobox items into consideration when searching.

 

How can i tell the fulltextsearch to search in the title of the, in the combobox chosen, object?

Fabian
Top achievements
Rank 1
Iron
 updated answer on 19 Oct 2022
1 answer
110 views

Hi,
I have a radPane defined as following.

The text is loaded dynamically so i can select a different StringDictionary.
It works perfectly on every string in application and also in this control, but the header is still in the original language (the dictionary is initially loaded and succesively discarded).

You can see the effect on the image attached: the text on the tab is correct, while the text on the header is wrong.

Thank you

Luigi

 

<t:RadPane  
		DataContext="{Binding DataContext, ElementName=radDocking1}"
		IsHidden="{Binding StatoFinestre.FinestreProgetto.DatiHidden, Mode=TwoWay}">
		<t:RadPane.Header>
		   <local:StackPanelText Orientation="Horizontal">
			<Image Source="/Images/Tab Dati_24x24.png" Style="{StaticResource TreeviewImageSize}"/>
			<TextBlock Text="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.TabProjectDatiHeader}}"/>
		  </local:StackPanelText>
		</t:RadPane.Header>
Martin Ivanov
Telerik team
 answered on 18 Oct 2022
1 answer
167 views

Hello,

We have a project that currently uses Telerik 2013. We need to gradually upgrade different screens in the system to use Telerik 2022.

How do you recommend we do that? Can we use Telerik 2013 dlls and Telerik 2022 dlls in the same project?

Thanks in advance.

Paul

Martin Ivanov
Telerik team
 updated answer on 18 Oct 2022
1 answer
102 views

I am looking to mimic Spreadsheet behaviour where a user selects two or more cells in a row and then the user drags to the right to trend and fill in additional values according to the linear trend. 

How could I go about overloading the RadGridView to provide behaviour like this? I have seen posts about using CustomAdorner to give a thick line around the selected cells. What would be required to change the mouse cursor when the "Think" line around the selected cells is hovered over, and capture the dragged-over cells when the user executes the drag operation?

Any help you can provide would be much appreciated.

Martin Ivanov
Telerik team
 answered on 17 Oct 2022
1 answer
159 views

What happens: 

- User inputs some keyword: eg "Yaris"

- User wants to select "Yaris Cross" which is next in list

- User uses Down Arrow to select next item

- Instead the RadComboBox selects the first element in the whole list. 

Expected:

- User inputs some keyword: eg "Yaris"

- User wants to select "Yaris Cross" which is next in list

- User uses Down Arrow to select next item

- Next item in list is highlighted

- User presses ENTER to select element

 

What setting do i need to set ? 

<telerik:RadComboBox x:Name="ModelPicker"
			                     Width="150"
			                     Height="28"
			                     CanAutocompleteSelectItems="False"
			                     DisplayMemberPath="ModelNavn"
			                     IsEditable="True"
			                     IsEnabled="{Binding CanChangeVariant}"
			                     IsSynchronizedWithCurrentItem="False"
			                     ItemsSource="{Binding Source={StaticResource SortedModels}}"
			                     OpenDropDownOnFocus="True"
			                     SelectAllTextEvent="GotFocus"
			                     SelectedItem="{Binding BrandModel.SelectedCarModel}"
			                     StaysOpenOnEdit="True" />


Stenly
Telerik team
 answered on 14 Oct 2022
0 answers
138 views

The bug is only occurring when working with footnotes.

More detailed explanation:

1)  Open Telerik WPF Demos projects for RadRichTextBox

2) Add a footnote, type some text in it

3) Important: scroll the view so the footnote is not visible (maybe to the end of the document)

4) Set mouse cursor at any part of the main document (main text)

5) After this the document is completely blocked for for most of the edit functions:
You can't cut, delete, replace or undo

But you can only type new symbols with a keyboard.

I think that the reason that causes this bug is that the RadRichTextBox's commands stay linked to the footnote, and not to the active document's body. Maybe event ActiveDocumentEditorChanged didn't properly worked, and didn't changed the current context.

Vasily
Top achievements
Rank 1
 updated question on 14 Oct 2022
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
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?