Telerik Forums
UI for WPF Forum
4 answers
303 views

I already set PasswordBox properties:

<telerik:RadPasswordBox Password="111111" WatermarkContent="password"
   ShowPasswordButtonVisibility="Auto"
   WatermarkBehavior="HideOnTextEntered"
   HorizontalAlignment="Center"  Background="Transparent"  Height="30" Width="280" Grid.Column="1" Grid.Row="4" Name="txtPassword" >
    <telerik:RadPasswordBox.Effect>
         <DropShadowEffect Color="Gray"  Opacity=".50"  ShadowDepth="4" />
     </telerik:RadPasswordBox.Effect>
</telerik:RadPasswordBox>
when it runs,first I delete the password, it shows WatermarkContent, but then ,I input the password,it shows as plaintext ,not security, and overlap with the WatermarkContent,see the file "input show.png",  get txtPassword value(use "txtPassword.Password") is "",   how can I solve this?
Dinko | Tech Support Engineer
Telerik team
 answered on 27 Feb 2019
6 answers
341 views
I have not found this neither in docs, nor in samples, but sales page says - this is supported. So how do I create such a diagrams?
Martin Ivanov
Telerik team
 answered on 27 Feb 2019
5 answers
174 views
If I have a cell in the last visible column selected, but there are hidden column (IsVisible=False) columns after it, pressing the right arrow key confuses things.Basically, it will jump to the next control in the window, which in my case is a tab control containing the grid. So what happens is the user pressing the arrow repeatedly to get to the end, and then when it hits the end it jumps up into the tab control which starts switching which tab they are on.
Vladimir Stoyanov
Telerik team
 answered on 27 Feb 2019
5 answers
321 views

Hello,

setting the TodayButtonVisibility of the RadDatePicker to Visible seems to hide the close button of the control.  Is there a way to have both buttons visible ?

Regards,
Hans

Martin Ivanov
Telerik team
 answered on 27 Feb 2019
1 answer
210 views

Hi

We are splitting a single data set between 2 radgridviews and separating the data using programmatic column filters. If column filtering is enabled, the distinct values will display all the values, even the ones that are being filtered out. so...

Is it possible to remove or control what distinct values the user can see?

Thanks!

Vladimir Stoyanov
Telerik team
 answered on 27 Feb 2019
1 answer
105 views
Using the Office 2013 theme, it is difficult for users to resize the window because there is no (or very little) area to grab the right edge to get the resize cursor, when at the part of the window where the ribbon is located. Anywhere below the ribbon seems to be fine, but along the edge of the ribbon is the problem. Other themes also seem to be ok. Is there any way to fix or workaround this? Hopefully without copying the entire template for the ribbon and/or ribbon window?
Martin Ivanov
Telerik team
 answered on 25 Feb 2019
11 answers
530 views
Hello,
I would like to know if there is a simple way to have a RadConfirm window with three buttons like Yes, No and Cancel.

Thank you for advance.
Dinko | Tech Support Engineer
Telerik team
 answered on 25 Feb 2019
2 answers
280 views
I've created a style by using the VS Blend and have set some properties to add red coloring.  I'm looking to turn off the blue background highlighting when the dropdown is open.  Can you point me to where in the style this property would be?  See image.  Thanks.
Vladimir Stoyanov
Telerik team
 answered on 25 Feb 2019
1 answer
286 views

When I change column header from longer to shorter one, the width not change

 

here is demo:

first a BindingData to transfer Header property to GridViewColumn Header property:

sealed class BindingData : Freezable
{
    protected override Freezable CreateInstanceCore()
    {
        return new BindingData { Data = this.Data };
    }
 
    public object Data
    {
        get { return (object)this.GetValue(DataProperty); }
        set { this.SetValue(DataProperty, value); }
    }
 
    public static readonly DependencyProperty DataProperty =
        DependencyProperty.Register(
            "Data",
            typeof(object),
            typeof(BindingData));
}

 

ViewModel:

sealed class ViewModel : ViewModelBase
{
    private string header = "";
    public string Header
    {
        get { return this.header; }
        set
        {
            if (this.header != value)
            {
                this.header = value;
                NotifyPropertyChanged("Header");
            }
        }
    }
 
    public IEnumerable<string> HeaderSource
    {
        get
        {
            return Enumerable.Range(1, 3)
                .Select(item => "Header " + item)
                .Concat(Enumerable.Range(3, 5)
                    .Select(item => "Very Very Very Long Header " + item));
        }
    }
 
    public IEnumerable<string> RowSource
    {
        get
        {
            return Enumerable.Range(1, 16)
                .Select(item => "Data " + item);
        }
    }
}

 

View:

<StackPanel>
    <StackPanel.Resources>
        <local:BindingData
            x:Key="HeaderBindingData"
            Data="{Binding Header}"
            />
    </StackPanel.Resources>
     
    <ComboBox
        ItemsSource="{Binding HeaderSource}"
        SelectedValue="{Binding Header, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
        />
     
    <telerik:RadGridView ItemsSource="{Binding RowSource}">
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn
                DataMemberBinding="{Binding}"
                Header="{Binding Data, Source={StaticResource HeaderBindingData}}"
                />
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>
</StackPanel>

 

Telerik.Windows.Controls.GridView.dll version is under 2014.2

Martin Ivanov
Telerik team
 answered on 25 Feb 2019
1 answer
762 views

Hello,

I am trying to create a way to move rows up or down depending on user selection from the Context Menu.

Here are my XAML and C# code, and for some reason (still trying to figure out), the IndexOf is returning -1 =>

 

<telerik:RadGridView x:Name="gridView1" Grid.Row ="1" AutoGenerateColumns="False" Margin="0,5,0,10" FontSize="12" Deleted="OnDeletedIO" Deleting="OnDeletingIO" telerik:StyleManager.Theme="Summer" DataGridCell.GotFocus="DataGrid_CellGotFocus">
                        <telerik:RadGridView.ContextMenu>
                            <ContextMenu >
                                <MenuItem Header="MoveUp"  Click="MoveUp_click"/>
                            </ContextMenu>
                        </telerik:RadGridView.ContextMenu>
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding name}" Header="Name" IsReadOnly="False"/>
                            <telerik:GridViewComboBoxColumn x:Name="ComboGroup" DataMemberBinding="{Binding group}"  Header="Group"/>
                            <telerik:GridViewComboBoxColumn x:Name="ComboRTU" DataMemberBinding="{Binding rtu}"  Header="RTUs"/>
                            <telerik:GridViewComboBoxColumn x:Name="ComboOP" DataMemberBinding="{Binding op}"  Header="Operation"/>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding addr}" Header="Address"/>
                            <telerik:GridViewComboBoxColumn x:Name="ComboTypes2" DataMemberBinding="{Binding dataType}"  Header="Data Type"/>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding swapByte}" Header="Byte&#x0a;Swapping"
                            IsReadOnly="True">
                                
                            </telerik:GridViewDataColumn>

                        </telerik:RadGridView.Columns>
                    </telerik:RadGridView>
Dinko | Tech Support Engineer
Telerik team
 answered on 25 Feb 2019
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?