Telerik Forums
UI for WPF Forum
2 answers
142 views

Curiously; after the last update thad i did, the icon that I configured in the contentImage isn't shown. It has relation with the update or maybe I am configuring something in an erroneous way.

Thank you so much

 

My code: 

Telerik.WinControls.UI.RadDesktopAlert deskp = new Telerik.WinControls.UI.RadDesktopAlert();
deskp.ContentImage = Properties.Resources.alert_danger;
deskp.ThemeName = "TelerikMetroBlue";
deskp.AutoCloseDelay = 6;
deskp.Opacity = (float)1.0;
deskp.PopupAnimationFrames = 20;
deskp.PopupAnimationDirection = (Telerik.WinControls.UI.RadDirection)Enum.Parse(typeof(Telerik.WinControls.UI.RadDirection), "Up");
deskp.FadeAnimationFrames = 20;
deskp.ShowPinButton = false;
deskp.ShowOptionsButton = false;
deskp.CaptionText = "<html><b><span style=\"font-size:14;color:#44224D;\">" + title + "</span></b></html>";
deskp.FixedSize = new System.Drawing.Size(450, 120);


deskp.ContentText = "<html><span style=\"font-size:12;\">" + msg + "</span></html>";
deskp.Show();

wiquezada
Top achievements
Rank 1
 answered on 05 Apr 2018
1 answer
791 views

Hi Team,

 

I am trying to set minheight and maxheight for row while using text wrapping in radgridview.

Please let me know any way to handle rowheight.

 

Thanks,

Amit Kulha

Vladimir Stoyanov
Telerik team
 answered on 05 Apr 2018
11 answers
180 views
Hello, I should introduce Dates values in a pivot, with the possibility to find min and max values. Is it possible? Thanks in advance,
best regards
Kalin
Telerik team
 answered on 05 Apr 2018
1 answer
312 views

Hi Team,

 

I am working on behavior for Radgridview and need help on below query:

- How to create grid Data Control behavior(e.g control grid row height)

 

Thanks,

Amit Kulha

Dilyan Traykov
Telerik team
 answered on 05 Apr 2018
3 answers
423 views
Hello,
I am trying to switch an RadTreeViewItem to EditMode on mouse double click.
When I do that, the content of the textbox is empty, isn't it a bug?
Thanks
Martin Ivanov
Telerik team
 answered on 05 Apr 2018
3 answers
101 views
Hi,
In my project, I can't set all data in ItemsSource.
I want when user filter, I set data to ItemsSource(note: I don't want Telerik to filter current data).

I handle the Filtered event and I set My data to ItemsSource in this function. but Telerik filters new data again.
What am I do to force Telerik don't filtering data by itself?
thanks.
Stefan
Telerik team
 answered on 04 Apr 2018
7 answers
184 views

Hi,

I want to be able to redefine the default style of the RadDatePicker to make it look like the rest of our components.

To do so, I put a RadDatePicker in my application, I clicked on it via the 'Document Outline' and chose Edit template -> Edit a copy. I then noticed that the RadDatePicker was now experiencing an issue when I "zoom out" to the "Decade" view : If I click on the left arrow (-10 years) or the right arrow (+10 years), the header text correctly changes (2000 -> 1990 / 2000 -> 2010) but the displayed years in the "calendar" section of the date picker aren't affected by the change. I get the same problems if you zoom out to the "hundred years" view.

Here is the simplest project I could put together to show the issue : https://drive.google.com/open?id=1d_GcDKeUfdmifYbo6KedukOIKtyHSiVo

Here are some screenshots of the problem : https://drive.google.com/open?id=182PK161CCZc_1k4m9rogxl_lSXIF8Lc1

Here are the repro steps :

1. Create a new project

2. Add 2 RadDatePicker

3. Select one of the two RadDatePicker, Edit template -> Edit a copy

4. Notice described issue

I hope this is enough for you to help me with this issue, I guess it must be something missing in the copied style that breaks this mecanism.

Thank you for your time :)

Louis

 

 

Stefan
Telerik team
 answered on 04 Apr 2018
1 answer
685 views

Hi,

I'm trying to to accomplish the following: whenever a user right clicks whatever data grid, the same context menu should appear.  One of the options in the context menu is the export to Excel.  I'm trying to achieve this by creating a style for the RadGridView.  Here's my xaml:

<Style x:Key="TelerikGridViewContextMenuStyle" TargetType="{x:Type telerik:RadGridView}">
    <Setter Property="ContextMenu">
        <Setter.Value>
            <ContextMenu>
                <MenuItem Header="{bx:LocalizeBinding ExportToExcel, Global=True}" Command="{Binding ExportToExcelCmd}" CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor,  AncestorType={x:Type telerik:RadGridView}}}">
                    <MenuItem.Icon>
                        <Image Source="/Resources/Icons/Excel.png" />
                    </MenuItem.Icon>
                </MenuItem>
            </ContextMenu>
        </Setter.Value>
    </Setter>
</Style>

As you can see, I'm trying to pass the RadGridView as a parameter to the command.  However, in my code, this parameter is always null.  How come ?

 

Hans
Top achievements
Rank 1
Veteran
 answered on 04 Apr 2018
1 answer
188 views

I am trying to use Crosshair behavior on inverse axis on the right (see attached png), horizontal axis is on top.

But the result is that both crosshair labels is not rendered properly.

is there any trick on this?

It is good when i use axis at default locations

Martin Ivanov
Telerik team
 answered on 04 Apr 2018
3 answers
1.0K+ views

By the document, we can bind the pager as below.

<Grid x:Name="LayoutRoot"
        Background="White">   
    <Grid.RowDefinitions>
        <RowDefinition />
        <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <telerik:RadGridView x:Name="radGridView"
                         ItemsSource="{Binding Employees}"
                         AutoGenerateColumns="False">
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" />
            <telerik:GridViewDataColumn DataMemberBinding="{Binding CompanyName}" />
            <telerik:GridViewDataColumn DataMemberBinding="{Binding Title}" />
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>
    <telerik:RadDataPager x:Name="radDataPager"
                          Source="{Binding Items, ElementName=radGridView}"
                          PageSize="5" />

The question is that I can't assign the element name of the RadGridView. So how to bind the element?

Thanks.

Trump
Top achievements
Rank 1
 answered on 03 Apr 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
+? 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?