Telerik Forums
UI for WPF Forum
4 answers
76 views
Hi,

I'm using a WeekViewDefinition and I format the columns headers to display only the day of the week. The column representing the current date is sourrounded with a different color and I would like cancel this behaviour to have the style of my column the same as they other columns.

Thank's
Alain
Christie Admin
Top achievements
Rank 1
 answered on 24 Jan 2014
5 answers
842 views
Hello,

is it possible to set and get the following infomation (via viewmodel)?

- position of the scrollviewer
- absolute position of the cursor (e.g. character 1234 and not x and y from the carret)
- selection
- zoom level

King regards,
Philipp
Petya
Telerik team
 answered on 24 Jan 2014
1 answer
117 views
Hi,

I would like to know if it's possible to force the days of the week in different language?

Thank's
Alain
Kalin
Telerik team
 answered on 24 Jan 2014
1 answer
119 views
Hi,

The below is the feature I am looking for in my WPF application,
- Upon grouping the RadGridView, I want to append the Column Header and the Column Data , in that column.
- This has to be repeated down all the levels , when a grouping is made for further columns.

kindly refer attached screen
if i am not clear in my explanation, kindly let me know.

Your support is highly appreciated.
Yoan
Telerik team
 answered on 24 Jan 2014
3 answers
836 views
Hi everyone,

I am developing a WPF application in my company.
I use RadControls for WPF Q3 2013 trial version.

I have written a sample project.
The MainWindow contains a Button and I have written an handler to the Button's Click event.

Here is the MainWindow's code-behind :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Telerik.Windows.Controls;
 
namespace MainWindowInBackground
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
 
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            RadWindow l_hostWindow = new RadWindow()
            {
                Owner = System.Windows.Application.Current.MainWindow,
                WindowStartupLocation = WindowStartupLocation.CenterOwner,
                Content = "Test"
            };
 
            l_hostWindow.Show();
 
            MessageBox.Show("MessageBox", "MessageBox", MessageBoxButton.OK, MessageBoxImage.Information, MessageBoxResult.OK);
        }
    }
}

The attached picture 1.png shows the application before closing the RadWindow.
The attached picture 2.png shows the application after closing the RadWindow.
The main window has been automatically put in background - behind all other running applications's window - after closing the RadWindow.
Why ?
Kalin
Telerik team
 answered on 24 Jan 2014
2 answers
127 views
I have a project where the heat map exactly meets my needs, but I need to be able to display a tooltip with custom formatted text, including units and some other information included with the data point.

How would you style the tooltip format in xaml and/or code behind?

Robert Smallwood
Top achievements
Rank 1
 answered on 24 Jan 2014
0 answers
137 views
Hi, I am binding a Dataset to a RadGridView, but I am getting some strange behaviors. I already try to bind the dataset, datatable or default table view. Same Result.
Other problem is when my datatable has no rows (only columns defined). Nothing is displayed, even the column itself.

I had attached some images to show what´s happen.

Thanks
James
Top achievements
Rank 1
 asked on 24 Jan 2014
0 answers
209 views
I have a RadGridView where on of the columns is a GridViewComboBoxColumn.

How do I sort the Items inside the the RadComboBoxs alphabetically?


Assume I have three cities: Manchester, Zurich and Aberdeen. I want my RadComboboxes to display alpabetically

Aberdeen
Manchester
Zurich


The underlying data is rather big: There are some ten-thousands of grid-rows and the items inside the RadComboBoxes can also be some ten-thousands (RadCombox items are city names). Thanks to virtualization the performance is actually very good.

I don't want to sort each single ComboBox, since this might slow down the Grid considerably. 
I found documentation and some forum posts about SortingState, but that was not helpful for my problem.
Peter
Top achievements
Rank 1
 asked on 24 Jan 2014
3 answers
164 views

I try to use the PdfViewer in an addin (using the .net managed addin framework), hosted in a winform host application. When I open a pdf file I get this exception:

   at Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.Utils.Helper.get_Dispatcher() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\Core\FormatProviders\Pdf\Utils\Helper.cs:line 25

   at Telerik.Windows.Documents.Fixed.FixedDocumentStreamSource.<>c__DisplayClass8.<LoadDocument>b__6() in c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\Fixed\FixedDocumentStreamSource.cs:line 180

   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

I suspect the helper class is using Application.Current.Dispatcher. Application.Current is null in our environment.

Is there a work around for this problem so I can use the viewer in an addin?

Thank you,

Fonger.

Petya
Telerik team
 answered on 24 Jan 2014
1 answer
195 views
Hi.
I have a problem setting minimum or maximum values for a RadSlider I need to generate by c# code inside a propertygrid with the help of FrameworkElementFactory.

Value binding and setting the grid column work perfectly but I am not able to set min or max slider value (and tickfrequency, too - are they readonly?).

What do I do wrong here? Or is there a better way to add properties like a radslider control inside a radpropertygrid on the fly?

Lars

Here is a code snipet:
FrameworkElementFactory slider = new FrameworkElementFactory(typeof(RadSlider));
slider.SetBinding(RadSlider.ValueProperty, new Binding(path) { Mode = BindingMode.TwoWay });
slider.SetValue(RadSlider.MinimumProperty, 0);
slider.SetValue(RadSlider.MaximumProperty, 100);
slider.SetValue(Grid.ColumnProperty, 1);
Lars
Top achievements
Rank 1
 answered on 24 Jan 2014
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?