Telerik Forums
UI for WPF Forum
0 answers
74 views

Hi,

I'm using the Outlook Template from Telerik.

What I've done is that I've swapped the current grid with my own item source which list the categories the 1. grid.

What I want to do is upon selecting a row, I want upon choosing a row from the 1.grid to send categoryID parameter to viewmodel, and viewmodel is going to run the sample function which retrieves the data from the database. 

My function is retrieving the data just fine. I just need to find out how to make selected row in grid 1, call on this retrieve data function and update the gridview 2 with new items. If I decide to choose another row in grid 1, it would call on the retrieve data function again with new categoryID as parameter

How can I achieve this?

Khoa
Top achievements
Rank 1
 asked on 26 Oct 2018
5 answers
723 views

Hello

I am in vb.net with wpf, I have an existing radgridview with custom validationDiffProperty. I am using telerik v 2017.3.1018.45

My goal is to add a radgriview row with radcombox (see attach image). I know how to add a radcombobox column in a radgridview, but I don't know how to add a "radcombobox row" in a radgriview.

Could you please help me ?

Regards

Jean-Christophe

 

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 26 Oct 2018
1 answer
127 views
How can I increase a custom Shape area to below? Connection point and connection line should remain in the same position.
Martin Ivanov
Telerik team
 answered on 26 Oct 2018
1 answer
105 views

I have a timebar used to selecting time range. However sometimes when the interval is short and located far to the right, the text showing the selected time is cut off, like this: https://i.gyazo.com/179cc9d932da3bcfa08fe38558cbb0ca.png

How can I prevent this? For example make the label right aligned instead of left aligned if it's too far to the right.

Martin Ivanov
Telerik team
 answered on 26 Oct 2018
16 answers
3.0K+ views
Hi,

I'm trying to find out if you guys make the source code available for download for the WPF Controls Examples. I would do the clickonce app that you guys link to in your help (i.e. http://demos.telerik.com/wpf) but it requires SQL Server Express '08. I don't have that installed nor do I want to install it just to get to your demos...What's my alternative?

Thanks
Martin Ivanov
Telerik team
 answered on 26 Oct 2018
1 answer
167 views

I'm needing the datetimepicker to allow the user to select an option for each second over the day, but when i'm down to just 15 minutes the boxes get too small for being able to see the text. 

I've scrolled view documentation and the forum and can't find any solution.

Vladimir Stoyanov
Telerik team
 answered on 25 Oct 2018
3 answers
1.8K+ views
None of the solutions presented in the following threads works:

https://www.telerik.com/forums/how-to-disable-the-user-input

https://www.telerik.com/forums/disable-input-field-force-user-choose-date-by-click-on-calendar

https://www.telerik.com/forums/how-to-disable-input

The objective in unable the user to type a text and allow him to choose a date only by clicking button.
Dilyan Traykov
Telerik team
 answered on 25 Oct 2018
2 answers
925 views

Hi,

I have a grid with 4 columns. On selecting/changing value for 3rd column(i.e.: NewFamily) I want to programmatically set some value for the combobox in 4th column (selected value as well as list)

Here is the xaml:
        <telerik:RadGridView Grid.Row="0"  x:Name="PartFamilyGrid" AutoGenerateColumns="False" 
                             ColumnWidth="*" MinHeight="150"
                             RowIndicatorVisibility="Collapsed" SelectionChanged="PartFamilyGrid_SelectionChanged"
                             >  
                <telerik1:StyleManager.Theme>
                    <telerik1:VisualStudio2013Theme/>
                </telerik1:StyleManager.Theme>
                <telerik:RadGridView.Columns>
                
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Family}"    IsReadOnly="True" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Part}"      IsReadOnly="True" />

                <telerik:GridViewDataColumn>
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadComboBox ItemsSource ="{Binding NewFamily}" SelectionChanged="NewFamilySelected" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                    <telerik:GridViewDataColumn.Header>New Family</telerik:GridViewDataColumn.Header>
                </telerik:GridViewDataColumn>

                <telerik:GridViewDataColumn>
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadComboBox ItemsSource ="{Binding NewPart}" SelectionChanged="NewPartSelected" />
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
                    <telerik:GridViewDataColumn.Header>New Part</telerik:GridViewDataColumn.Header>
                </telerik:GridViewDataColumn>
                
                
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>

Items of this RadGridView are objects of this class
    public class PartFamilyGridItem : INotifyPropertyChanged
        {
        public string Family
            {
            get; set;
            }
        public string Part
            {
            get; set;
            }
        public List<string> NewFamily
            {
            get; set;
            }
        public List<string> NewPart
            {
            get; set;
            }

        public event PropertyChangedEventHandler PropertyChanged;
        }

In the SelectionChanged event (NewFamilySelected) for the RadComboBox in 3rd column i want to handle this task. But I am not sure how to do it.
Do I need to get the row of the RadComboBox (from 3rd col) for which value is modified, select the RadComboBox from 4th col and finally change the selectedValue?

 

A similar issue is handled here https://www.telerik.com/forums/change-the-cell-content-at-runtime#MtiwER8x9USdCWTtLyu5_A

but I am not getting how to handle it for combobox

maria
Top achievements
Rank 1
 answered on 25 Oct 2018
7 answers
918 views
Hi,
I just started to investigate the gridView control and got stuck in to a problem:
Is it possible to change a specific cell content in a grid view?
I want to with something like this:

radGridView.Rows[radGridView.SelectedRow].Cols["Col_Name"].value =   
MY_NEW_VALUE; 
maria
Top achievements
Rank 1
 answered on 25 Oct 2018
1 answer
197 views

Hello again!

I'd like to create custom class that is RadDiagramConnection and has its full functionality within RadDiagram , but with some additional data ( implementation of additional interface).

When I am creating it via inheriting from RadDiagramConnection ( as it is recommended in Telerik documentation here: https://docs.telerik.com/devtools/wpf/controls/raddiagram/howto/create-custom-connectioncap ).

But when I add it to my RadDiagram, I see nothing. As I know where my LineObject is I can click on it and see 2 ancor-points, but I can not see RadDiagramConnection itself. Picture is attached.

Would you be so kind to tell me how I can implement this thing?

This is my .cs file

public class LineObject : RadDiagramConnection
 {
      
}

This is my Xaml file:

    <telerik:RadDiagram  >
        <telerik:RadDiagramConnection StartPoint="250,250" EndPoint="150,150"
                                          SourceCapType="Arrow1Filled" TargetCapType="Arrow1Filled"
                                          SourceCapSize="20,20" TargetCapSize="20, 20"
                                          StrokeThickness="5" Background="Red"
                                          Stroke="Red"
                                          />
        <imageeditor:LineObject StartPoint="150,250" EndPoint="250,150"
                                          SourceCapType="Arrow1Filled" TargetCapType="Arrow1Filled"
                                          SourceCapSize="20,20" TargetCapSize="20, 20"
                                          StrokeThickness="5" Background="Blue"
                                          Stroke="Blue" />
 
</telerik:RadDiagram>

 

Best regards,
Tatiana

Tatiana
Top achievements
Rank 1
 answered on 24 Oct 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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?