Telerik Forums
UI for WPF Forum
3 answers
195 views
I run new WPF UI DEMO Application About RadGridView Custom Filter ;first click Custom Filter and click datetimepicker control  in custom Filter  don't click any "filter" or "clear" button
now click other place in application; Custom Filter did not auto close ;but if i was did not click any datetimepicker or combobox in custom filter , custom filter can be auto close when lose focus;I test TeleRik Silverlight UI DEMO that was fine !

Dimitrina
Telerik team
 answered on 01 Sep 2014
1 answer
144 views
Hello, is there a possibility to bind a list of columndefinition in viewmodel on GanttGrid without direct access to the gantcontrol (gantt.Columns.add)?
Best Regards Robert ...
public void InitGanttColumns()
        {
            //Title ----
            ColumnDefinition GanttColumn = new TreeColumnDefinition();
            GanttColumn.Header = "Title";
            GanttColumn.Width = 200;
            GanttColumn.MemberBinding = new Binding("Title");
            GanttColumns.Add(GanttColumn);
     
            // Start ----
            GanttColumn = new ColumnDefinition();
            GanttColumn.Header = "Start";
            GanttColumn.Width = 100;
 
            var itemsBinding = new Binding("Start")
            {
                Converter = new GanttModuleTypeConverter(),
                ConverterParameter = "date"
            };
 
            GanttColumn.MemberBinding = itemsBinding;
            GanttColumns.Add(GanttColumn);
             
            // End ----
            GanttColumn = new ColumnDefinition();
            GanttColumn.Header = "End";
            GanttColumn.Width = 100;
 
            itemsBinding = new Binding("End")
            {
                Converter = new GanttModuleTypeConverter(),
                ConverterParameter = "date"
            };
 
            GanttColumn.MemberBinding = itemsBinding;
            GanttColumns.Add(GanttColumn);
        }
Yana
Telerik team
 answered on 01 Sep 2014
17 answers
433 views
I'm not sure how to make this happen, but the treeview starts going up and down like crazy.


(Scroll to the right, the treeview is docked on the right side of the window)

Have you ever seen this before? How can we solve it?

Thanks!
Petar Mladenov
Telerik team
 answered on 01 Sep 2014
10 answers
640 views
Hello!
With the Q2 2014 version, there seems to be some breaking change in the Column handling of the RadGridView:

With the Q1 version, the DataContext of the columns was inherited, however, with the newer Q2 versions (also with the recent one), this is not the case for _one_ of our GridViews. All (or at least most) others are still working fine, but I do not see the difference to the grid where it fails.

Do you have any idea what could be the reason that the datacontext of the columns is not inherited - or how I could debug it? The columns are - obviously - not in the visual tree - so with Snoop I only see that the datacontext is not set, but I don't see the reason why...

Alex
Dimitrina
Telerik team
 answered on 01 Sep 2014
5 answers
290 views
I am using a radpivotgrid which is inside a radpane which is inside a radsplitcontainer. I tehn have the field list in a separate container to the right so I can resize, move and float the field list.

One of these controls (I suspect the split container) automatically shows vertical and horizontal scroll bars when necessary and what I want to do is grab these scoll positions when the users scrolls, save them and then next time restore them so the content is scrolled as they last saw it.

I cannot seem to find any events or properties that would do this for me in any of these controls. Can you tell me whether this is possible and if so how I go about it

Thanks
Rosen Vladimirov
Telerik team
 answered on 01 Sep 2014
6 answers
430 views
Hi,

using your winforms controls I can change the style of the main window of my application relatively easily

How do I change the style of my main window to the Office_Black theme using WPF controls...

I can see how to set the default theme however this only seems to affect the controls within the window not the border of the window itself.

I have tried using the RadWindow but this only creates a sub window with the defined style, and does not set the main window style

many thansk
Jason
Top achievements
Rank 1
 answered on 29 Aug 2014
1 answer
160 views
Hi Guys,

A while back we were in contact with you regarding dragging shapes without they change position. TicketID: 662635.

We implemented the solution you guys suggested.

Now we have discovered a bug regarding the way we drag shapes.

The problem is because we set Handled = true in DragPreview, when dragged shape is dropped outside the diagram, the drag operation is never ended.

Issue here is we implemented a DragAdorner that follows the cursor, and when it re-enters the diagram the drag operation is still active. Even though the mouse button is not pressed. The issues also exists in the sample projects from the support ticket. (No dragTemple, but changed cursor)

Is there a way we can end the drag operation, when MouseLeftButtonUp occurs outside diagram.

/Anders
Martin Ivanov
Telerik team
 answered on 29 Aug 2014
3 answers
190 views
I have a DataGrid that is bound to a the Values in a ObservableDictionary (my own class) instead of the traditional ObservableCollection. Because of this, I cannot use the build in delete mechanism of the GridView.  I therefore need to implement my own custom delete behavior on the current selected row when the Delete button is pressed.

My problem is that I cannot get an event when the delete button is pressed.  Neither the Deleted, Deleting or KeyDown events for the DataGrid is firing.  The CanUserDeleteRows property is set to true.

How can I get an event to fire when the Delete key is pressed?

 

Dimitrina
Telerik team
 answered on 29 Aug 2014
1 answer
92 views
I bound a RadGridView to a VirtualQueryableCollectionView backed by SQL using System.Data.Linq.ITable.

At first Virtualization works nicely as I see that the LoadSize is submitted to the SQL provider (tracing SQL queries).
Once I add grouping (dragging a column into the grouping panel) all rows for each group are loaded. 

        <telerik:RadGridView x:Name="Table" ItemsSource="{Binding Data}" AutoGenerateColumns="False" IsReadOnly="True" 
                             Height="500" Width="500"
                             GroupRenderMode="Flat"
                             CanUserInsertRows="False" CanUserDeleteRows="False"
                             EnableRowVirtualization="True" EnableColumnVirtualization="True"
                             ScrollMode="Deferred"/>

Is UI virtualization supported in a group scenario? Am I missing some settings?
Dimitrina
Telerik team
 answered on 29 Aug 2014
2 answers
282 views
Hello

I need to draw a border over the RadRibbonWindow, excluding the TitleBar.

I've attached an image where on the left you can see what I'm actually doing and on the right what I want to achieve.

How can I achieve that?

Code:

<Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>

        <telerik:RadRibbonView ApplicationName="DocumentSelector">
            <telerik:RadRibbonTab Header="Documents" />
        </telerik:RadRibbonView>

        <Border Grid.Row="0"
                Grid.RowSpan="2">
            <Border.Background>
                <SolidColorBrush Opacity="0.5" Color="Red" />
            </Border.Background>
        </Border>
    </Grid>


Maurício
Top achievements
Rank 1
 answered on 29 Aug 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
DataPager
PersistenceFramework
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?