Telerik Forums
UI for WPF Forum
1 answer
142 views
I have tried everything I can think of and I can't get the grid to scroll when it has more records than the size will display. Here is the XAML code that I have:


<Window
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="xxx.MainWindow"
        Title="MainWindow" Height="716.724" Width="878.584">
 
 
 
        <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="60"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>          
            
         
        <telerik:GridViewDataControl
            Name="Grid"
            ItemsSource="{Binding Items}"           
            Grid.Row="1"        
            ShowGroupPanel="False"
            AutoGenerateColumns="False">
 
                        
             
            <telerik:GridViewDataControl.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ISCI}" Header="ISCI" UniqueName="ISCI" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding CallLetters}" Header="Call Letters" UniqueName="CallLetters" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding OrderTracking}" Header="OrderTracking" UniqueName="Order Tracking" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Mft_Priority}" Header="Priority" UniqueName="Priority" />
                <telerik:GridViewCheckBoxColumn AutoSelectOnEdit="True" EditTriggers="CellClick" DataContext="{Binding SetTopPriority, Mode=TwoWay}" Header="Bump" UniqueName="SetTopPriority"/>
 
            </telerik:GridViewDataControl.Columns>
 
        </telerik:GridViewDataControl>
         

    </Grid>
</Window>
Yoan
Telerik team
 answered on 19 Nov 2013
3 answers
500 views
Hi ,

In my application, i have two radlistboxes. When i drag an item from one to another, the item gets added correctly.
But   "DragOver"  and  "Drop"  event is never called. What i should do to invoke the drop.

Thanks in advance,
Selva
Nick
Telerik team
 answered on 19 Nov 2013
5 answers
180 views
Hi,

actually with my RadScheduleView, I use a week view definition with the following parameters to have only 3 ranges of time, ie: 8am, 1pm and 6pm. Actually my control display 8:00, 13:00 and 18:00 and I would like to know if it's possible to replace those values by: AM. PM & Evening???

Thank's
Alain
Kalin
Telerik team
 answered on 19 Nov 2013
2 answers
390 views
Hi,
I wanted to download the RadControls for WPF source code.
Where can I download a source code from?
Takashi Nimura
Top achievements
Rank 1
 answered on 19 Nov 2013
1 answer
134 views
Hi,

We are trying to display data for a particular DataPoint which triggered a mouse event in a label but we are not having too much luck with it as we keep getting the entire BarSeries, not the actual DataPoint, passed into the event.

Here is a recap of what we are trying to achieve:

- a Stacked BarChart has two bar series ("Events" and "NonEvents" in the example) which are populated through a binding.
- there are three categories displayed: "G1", "G2" and "G3".
- on mouse over event of "G3"  bar we would like to display text "G3" on a label which is not a part of the chart.

Any ideas on this?

Best regards,
Tanja Risovic


Code:

  public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            
            var dataModel = new List<ViewDataModel>();

            var dataModel1 = new ViewDataModel();
            dataModel1.Events = 151;
            dataModel1.NonEvents = 24;
            dataModel1.GroupID = "1";
            dataModel1.GroupLabel = "G1";
           

            dataModel.Add(dataModel1);


            var dataModel2 = new ViewDataModel();
            dataModel2.Events = 4132;
            dataModel2.NonEvents = 529;
            dataModel2.GroupID = "2";
            dataModel2.GroupLabel = "G2";
          

            dataModel.Add(dataModel2);

            var dataModel3 = new ViewDataModel();
            dataModel3.Events = 1832;
            dataModel3.NonEvents = 109;
            dataModel3.GroupID = "3";
            dataModel3.GroupLabel = "G3";
           

            dataModel.Add(dataModel3);

            BarChartPercentage.DataContext = dataModel;         

                    }

        private void BarSeries_MouseEnter(object sender, MouseEventArgs e)
        {

            this.label.Content = ???; //We would like to show the GroupLabel of the DataPoint which triggered the mouse event, for example "G3"
      
        }

    }
Petar Marchev
Telerik team
 answered on 19 Nov 2013
3 answers
228 views
Is it possible to change the "layout" of the RadDataForm (for instance, maybe generate 2 columns of property/value pairs instead of just 1)?  I know I can create any layout I want by providing custom ReadOnly / NewItem / and Edit templates.  However, in order to do that, I'd need to design specific templates for each DB table I want to work with (and there are many). 

While I may get to that at some point, for now I'd like to simply work with the auto-generated layout, except that I'd like it to better utilize the available screen space.  With the current format (only 1 property/value pair per row), I sometimes end up with a list of items that needs to be vertically scrolled, while I have *lots* of horizontal screen width being wasted.  I'd prefer to place multiple property/value pairs in a single row to better use the horizontal space and eliminate the vertical scrolling where possible.

Is this possible without creating custom templates for each edited table?

Jeff
Dimitrina
Telerik team
 answered on 19 Nov 2013
0 answers
119 views
Sorry, Problem solved, this is not due to RadDocking implementation but application bug.
Please ignore this issue
Thanks

********************************
Hi, 

Basically in my main window i have a left hand browse list and right hand side document host displaying radpane in tab form using MVVM  


     
<telerik:RadDocking Grid.Row="1" Grid.ColumnSpan="2" BorderThickness="0" Padding="0" IsEnabled="{Binding Path=IsWebLoading, Converter={StaticResource ibcConverter}}" PreviewClose="RadDocking_PreviewClose">
        <telerik:RadSplitContainer InitialPosition="DockedLeft">
            <telerik:RadPaneGroup>
                <telerik:RadPane  Header="Menu" telerik:RadDocking.SerializationTag="PaneLeft">
                    <views:BrowsePanelView Margin="0" VerticalAlignment="Stretch"  x:Name="browsePanelView" DataContext="{Binding Path=BrowsePaneVM}"/>
                </telerik:RadPane>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
      
        <telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer>
                <telerik:RadPaneGroup modules:PaneGroupExtensions.ItemsSource="{Binding Path=DocPanelTabCollection}" SelectionChanged="RadPaneGroup_SelectionChanged"
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
        </telerik:RadDocking.DocumentHost>     
    </telerik:RadDocking>


However, i encountered strange behavior, i.e. the child control inside the RadPane does not have Mouse Hover effect (neither Left or right hand side), i.e. the cursor will not turn to "hand" when mouse over a button or a link inside the child control. But mouse click function work as per normal.

Anything i did wrong here?

Thank you

Shengwei
Top achievements
Rank 1
 asked on 19 Nov 2013
2 answers
91 views
As per message subject, does radPropertyGrid support RegularExpressionAttribute for validation? I can't find a mention in documentation.


Andrea
Top achievements
Rank 1
 answered on 18 Nov 2013
1 answer
75 views
Hallo,
I need lock moving appointment between resources, but leave moving appointment inside its resource.
How can I do that?

Thanks
Kalin
Telerik team
 answered on 18 Nov 2013
4 answers
169 views
Hello, when selecting a cell, the row is highlighted. I would like to have the cells on selection by column, not by row. I'm using dynamic columns, so I'm not sure how to do this. I tried e.Cell.Background = Brushes.Red; at the cell level but the colors didn't change.

Thanks,
Scott
Yoan
Telerik team
 answered on 18 Nov 2013
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?