Telerik Forums
UI for WPF Forum
3 answers
150 views
I am trying to print a RadGridView control.

I followed the sample provided, creating a new control and I do see pages of data from my grid...  but here's the issue...

It seems like the good layout stuff must not be happening.  My alternating colors don't show up.  The text wrapping is not happening.  My columns are never resized to fit the width of the printed page.

My theory is that because my print grid is not part of the visual tree, it never gets the Loaded event where all of the good stuff must be happening.

Please help if you can :)
-Mike Graham
Maya
Telerik team
 answered on 25 May 2010
1 answer
219 views
I'm trying to use the FilterOperatorConverter class for the Filtering Dialog, and keep getting a Not Implemented exception for the ConvertBack method of the converter.  A quick check with Reflector shows that the FilterOperatorConverter.ConvertBack() method does indeed throw a Not Implemented exception.  Base on the released documentation, the FilterOperatorConverter.ConvertBack() method is documented as able to do the conversion. 

I need to override the template & style for this Filter Popup in the RadGridView.  How would I overide the style and template in the Combobox dropdown of the FilterOperators so that the Text for the selection appears as "Is Equal To" rather than "IsEqualTo"?

Rossen Hristov
Telerik team
 answered on 25 May 2010
3 answers
234 views
When the minimize button is clicked, the RadWindow hides the content within it (See attachment). Is there a way to minimize the window to the taskbar? I'm using Q1 2010, this didn't occur in Q3 2009. Thanks.
Miroslav Nedyalkov
Telerik team
 answered on 25 May 2010
1 answer
143 views

I'm trying to plot a “stepline” chart where AxisX is a DateTime and some points are nulls.
As I didn't find any specific series (I hope you'll address soon), I use LineSeriesDefinizion doubling data point (see code) but:
- null value are treated as 0 (wrong since 0 means 0 value while null means missing value)
- where first value is null, the control throws a NullReferenceException

        public MainWindow()

        {

            InitializeComponent();

            ConfigureChart();

        }

        private void ConfigureChart()

        {

            LineSeriesDefinition lineSeries = new LineSeriesDefinition();

            lineSeries.ShowItemLabels = false;

            lineSeries.ShowPointMarks = false;

            SeriesMapping actualMapping = new SeriesMapping();

            actualMapping.SeriesDefinition = lineSeries;

            actualMapping.LegendLabel = "Data";

            actualMapping.ItemMappings.Add(new ItemMapping("Day", DataPointMember.XValue));

            actualMapping.ItemMappings.Add(new ItemMapping("Value", DataPointMember.YValue));

            radChart.SeriesMappings.Add(actualMapping);

            radChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat = "#VAL{dd-MM-yy}";

            radChart.DefaultView.ChartArea.AxisX.LabelRotationAngle = 45;

            radChart.DefaultView.ChartArea.AxisX.IsDateTime = true;

            radChart.ItemsSource = MyData.GetData();

        }

    }

    class MyData

    {

        public DateTime Day { get; set; }

        public double? Value { get; set; }

        public static List<MyData> GetData()

        {

            DateTime today = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day);

            List<MyData> list = new List<MyData>();

            list.Add(new MyData() { Day = today, Value = null });

            list.Add(new MyData() { Day = today.AddDays(1), Value = 1 });

            list.Add(new MyData() { Day = today.AddDays(1), Value = 2 });

            list.Add(new MyData() { Day = today.AddDays(2), Value = 2 });

            list.Add(new MyData() { Day = today.AddDays(2), Value = 1.5 });

            list.Add(new MyData() { Day = today.AddDays(3), Value = 1.5 });

            return list;

        }

    }


Sincerely
Ivano

 

 

Dwight
Telerik team
 answered on 25 May 2010
1 answer
87 views
http://www.telerik.com/help/wpf/telerik.windows.controls.charting-telerik.windows.controls.charting.axis2d%601-sliderposition.html

"Gets or sets the slider position.    "

WOW... REALLY???

:P

For a product that you are selling for $1k a pop, your documentation leaves much to be desired. :(
Hristo
Telerik team
 answered on 25 May 2010
1 answer
117 views
Hi,
I have the following problem:
I have a GridView with ItemSource bound to a property in view model. View model refreshes the property every 10 seconds, and when this happens all the row details row that were opened, or context menu that was open, closes down.
How can this be avoided?
Vlad
Telerik team
 answered on 25 May 2010
1 answer
75 views
Hello, I have a requirement where a user can click on already selected row to navigate to some other pages of my app. So, SelectedItem would only work the first time if there is no selection yet. I also would like to have the selected item highlighted but at the same time need to intercept a Click and proceed from there on.

I am trying to bind LeftClick mouse action to ICommand on my ViewModel using InputBinding however it seems something else is eating it before I can receive it. RightClick works.

Thanks,

Xoma
Xoma
Top achievements
Rank 1
 answered on 25 May 2010
1 answer
86 views
I don't know if it is a known issue, but when I am opening the Excel-like filtering window and i set my cursor in one of the two textboxes and I press the Tab Key, i get an error.

Is there any possibility to avoid this error? I do not just get this error in my test application, I also get it locally on my WPF Demos application.

I am using RadControls for WPF Q1 2010, released on 09 March 2010
Milan
Telerik team
 answered on 24 May 2010
1 answer
180 views
I want to be able to merge cells in the GridView across rows (Similar to the functionality "Merge cells" in MS Excel). Is this feature supported? If yes, can you provide an example that demonstrates this?
Milan
Telerik team
 answered on 24 May 2010
1 answer
170 views
I have about 2500 rows 10 cols in my grid.

I want the grid to update (without loading all data from scratch) when I update, insert or delete a row in the database.

How do I solv this the best way? I prefere a webservice solution (so I also can use the solution in Silverlight). But if that is not possible direct connect to DB is ok (using SQL2008 Express),

I don't need sorting or grouping the data in Grid. (but could be handy in other projects...)

Any C# is welcome.  Thanks!
Milan
Telerik team
 answered on 24 May 2010
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
Book
FileDialogs
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
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?