Telerik Forums
UI for WPF Forum
1 answer
86 views
Hi,

When a RadPane is in autohide state and we take mouse pointer over the autohide area, it slides out and overlaps other windows.
It happens even when our application is not active, and some other application is active. I think it is heppening just because RadPane is hosted inside FakePopupWindow and when it slides out and it remains always on Top.

I want that when application is inactive and I take mouse over the autohide area, it should not slides out the RadPane.
Please look into the problem and suggest me some effective solution.

I have attached the screenshot of the scenario.
Nitin
Top achievements
Rank 1
 answered on 24 Nov 2010
2 answers
93 views
Hi,

Is it possible to alter default timeline direction in case of vertical TimelineView orientation? I need to display later dates higher than earlier.

Thanks,
Anatoly
anatoly
Top achievements
Rank 1
 answered on 24 Nov 2010
5 answers
384 views

 I have a GridView with a Nullable(DateTime) column (Inactive Date).  I want the grid to open with a default filter of records where the InactiveDate has no value.  How can I do this?  I have tried something like below but keep getting an error that String cannot be converted to a DateTime value.  I've tried Value="", Value=" ", Value="Nothing"....can't get it to work.

<telerik:RadGridView ItemsSource="{Binding Items}" AutoGenerateColumns="False" Name="datagrid" DataLoaded="datagrid_DataLoaded" >
  <telerik:RadGridView.FilterDescriptors>
    <telerik:FilterDescriptor Member="InActiveDate" Operator="IsEqualTo" Value=" " />
  </telerik:RadGridView.FilterDescriptors>
  <telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn Header="Device Number" DataMemberBinding="{Binding DeviceNumber}" ShowDistinctFilters="False" />
    <telerik:GridViewDataColumn Header="Active Date" DataMemberBinding="{Binding ActiveDate}" DataFormatString="{}{0:d}" Width="90" />
    <telerik:GridViewDataColumn Header="InActive Date" DataMemberBinding="{Binding InActiveDate}" ShowDistinctFilters="False"  DataFormatString="{}{0:d}" Width="90"/>
    <telerik:GridViewDataColumn Header="Service Account" DataMemberBinding="{Binding IssuingAccountName}" />
    <telerik:GridViewDataColumn Header="License Plate" DataMemberBinding="{Binding VehicleLicensePlate,TargetNullValue=Not Assigned}" ShowDistinctFilters="False" />
    <telerik:GridViewDataColumn Header="Truck Number" DataMemberBinding="{Binding VehicleDisplayName}" ShowDistinctFilters="False"  />
  </telerik:RadGridView.Columns>
</telerik:RadGridView>
Veselin Vasilev
Telerik team
 answered on 24 Nov 2010
1 answer
121 views
Hi,

I am trying to create my own NumericUpDown by extending the RADNumericUpDown. I am trying to set the Windows7 theme on the user control. But it doesn't work.

Regards
Sanket
Pana
Telerik team
 answered on 24 Nov 2010
3 answers
128 views
[Note to Telerik: I messed the title up! Could you change it to "Enable/Disable editing of cell for individual rows"]

I have a GridView where some of the columns are editable and some are readonly. But now I also have some columns that should be editable for some rows but not for others.

The GridView is bound to a list of items. These items are of a custom type/class that has properties for each column of the GridView. The class also has a property which tells if those columns (that are sometimes editable) should be editable or not.

How can I make this work?

I specify the columns of the grid manually with XAML. The columns have a CellTemplate (usually with a TextBlock), and those that can be edited also has a CellEditTemplate (usually with a TextBox). The switching between those works fine, but sometimes I don't want that switch to happen. That is, even if the user clicks the cell to edit it, the cell shouldn't switch over to edit mode (using CellEditTemplate) if that cell is not editable for that particular row.

Some code to illustrate my situation
<telerikGridView:GridViewDataColumn Header="Age" DataMemberBinding="{Binding Path=Age}">
    <telerikGridView:GridViewDataColumn.CellTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Path=Age, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" />
        </DataTemplate>
    </telerikGridView:GridViewDataColumn.CellTemplate>
    <telerikGridView:GridViewDataColumn.CellEditTemplate>
        <DataTemplate>
            <TextBox Text="{Binding Path=Age, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
        </DataTemplate>
    </telerikGridView:GridViewDataColumn.CellEditTemplate>
</telerikGridView:GridViewDataColumn>

public class Person
{
    public int Age { get; set; }
    public bool ThisRowIsFullyEditable { get; set; }
}

So.. can I by using the "ThisRowIsFullyEditable" property make the column Age editable or not for each row individually?

Thanks // David
Maya
Telerik team
 answered on 24 Nov 2010
2 answers
120 views
Hello,
I am trying to create a sample of docking prototype described in here:
http://www.telerik.com/help/wpf/raddocking-getting-started2.html
However, I cannot do much without adding Telerik.Windows.Controls.RadPaneGroup class. I am working with RadControls for WPF Q2 2010 SP2. Where do I get Telerik.Windows.Controls.RadPaneGroup. I don't have RadPaneGroup binaries in WPF Q2 2010 SP2. As a result, I cannot have any RadDocking UI. Pleasse let me know what can be done.

Thank you in advance.
Vlad
Top achievements
Rank 1
 answered on 23 Nov 2010
1 answer
128 views
I am applying a zooming option on my rad chart control and I had a problem where by the scroll bar crashed the entire application (if the unit of zooming was too small). Is there a way that I could zoom in/out without the scroll bar?
Also, like google charts, do we have a hand icon which we could use to drag across a zoomed in chart. I would really like to have this functionality working as it would be helpful to our clients as they won't need to scroll along the axis and could just drag across the chart with their mouse to view the entire series.

Thanks,
Farhan
Vladimir Milev
Telerik team
 answered on 23 Nov 2010
3 answers
217 views
If I set my provider to the BingMapProvider and set the IsTileCachingEnabled to true, when I exit my application I still have threads running that stop my application from fully closing.

Setting the IsTileCachingEnabled to false at the start avoids the problem, but is there a way that I can clean up the threads being used to provide the cached tiles?

I am using your WPF control within a windows forms application using System.Windows.Forms.Integration.ElementHost

Thanks
Simon
Andrey
Telerik team
 answered on 23 Nov 2010
1 answer
53 views
I am trying to create a line chart, where the Itemmapping is done to two fields of a class and the RadControl.ItemSource is set to a List of objects of that class. The code is as follows:
SeriesMapping sm = new SeriesMapping();
            LineSeriesDefinition sd = new LineSeriesDefinition();
 
            sm.SeriesDefinition = sd;
 
            sm.ItemMappings.Add(new ItemMapping("Value",DataPointMember.YValue));
            sm.ItemMappings.Add(new ItemMapping("Time", DataPointMember.XValue));
            LineChart.SeriesMappings.Add(sm);
            LineChart.ItemsSource = GenerateLineData2(); // Returns a list of LineData objects ...

Here, the class that represents the data point looks as below

public class LineData
        {
            private double _time;
            private double _value;
            public double Time
            {
                get { return _time; }
                set { _time = value; }
            }           
            public double Value
            {
                get { return _value; }
                set { _value = value; }
            }
 
        }

The questions are
1. can I do ItemMapping if the fields 'Value' and 'Time' do not belong to the same class?
2. I have two lists of (say) double values, one for the 'Time' values and other for the 'Value' values; how can I perform the item mapping in that case?

Evgeni "Zammy" Petrov
Telerik team
 answered on 23 Nov 2010
3 answers
137 views
Hello

We where exactly following your DEMO example "grouping and aggregation" with chart and radgrid, which works fine so far.

But when we put a filter in the radgrid the values are not changing, means that the chart is always taking the full data, regardless of the filter in radgrid.

Is there a way to maintain a chart that is "listening" to the radgrid filter?

thanks Thomas
Sia
Telerik team
 answered on 23 Nov 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
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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?