Telerik Forums
UI for WPF Forum
4 answers
333 views
Hi, is there a way to change the data type returrned by the NumericUpDown's value? I need it to be int, not double, because it's mapped to a database field which has an int type, and I'm getting a conversion error. Thanks.
alex
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 22 Oct 2022
0 answers
254 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
227 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
177 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
261 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
147 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
162 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
237 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
156 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
216 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
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
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?