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

We are using GridViewSelectColumn in our TreelistView and each time when data loaded the first item in the list selected(check box is checked). Is it default behavior if not how to turn off this behavior ?

Thank you,
Julian
Julian
Top achievements
Rank 1
 answered on 29 Sep 2011
1 answer
123 views
Hi,

I there an easy way to hide/disable the left/top/right/botttom indicators on the RootCompass ?
I need to:
1.  avoid users from docking on the outer edges of the RadDocking area
2. only allow docking on the RadPaneGroup (left/top/right/botttom) within the RadDocking

I know how to enable/disable left/top/right/botttom indicators on the Compass, but I don't know how to do this on the RootCompass

Please advice...
Terje Johansen
Top achievements
Rank 1
 answered on 29 Sep 2011
4 answers
122 views

Hello,

in my simple example i have a RadPanelBar with three RadPanelBarItems.
The default behavior of the items is to expand on selection. This is fine for me.

Now I want the user to confirm the change of the selection of the RadPanelBarItems.
Therefore I use a MessageBox in the PreviewSelectionChanged event of the RadPanelBar.

The confirmation logic works fine but the selected item is not expanded after confirmation.
This behavior is different to the default.

Regards
Rainer

The sample code:

<Window x:Class="RadPanelBarItemSelection.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadPanelBar x:Name="pbItems" 
                             ScrollViewer.HorizontalScrollBarVisibility="Auto"
                             ScrollViewer.VerticalScrollBarVisibility="Auto"
                             SelectionMode="Single"
                             IsExpandOnSingleClickEnabled="True"
                             PreviewSelectionChanged="pnlEditorialSysItems_PreviewSelectionChanged">
              
            <telerik:RadPanelBarItem Header="Item1">
                <Border Background="Blue" Height="100">
                    <TextBlock Text="Item1"/>
                </Border>
            </telerik:RadPanelBarItem>
  
            <telerik:RadPanelBarItem Header="Item2">
                <Border Background="Red" Height="100">
                    <TextBlock Text="Item2"/>
                </Border>
            </telerik:RadPanelBarItem>
  
            <telerik:RadPanelBarItem Header="Item3">
                <Border Background="Green" Height="100">
                    <TextBlock Text="Item3"/>
                </Border>
            </telerik:RadPanelBarItem>
        </telerik:RadPanelBar>
    </Grid>
</Window>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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 RadPanelBarItemSelection {
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window {
        public MainWindow() {
            InitializeComponent();
        }
  
        private void pnlEditorialSysItems_PreviewSelectionChanged(object sender, SelectionChangedEventArgs e) {
            if (MessageBoxResult.Yes == MessageBox.Show("Cancel selection ?", "Cancel", MessageBoxButton.YesNo, MessageBoxImage.Question)) {
                e.Handled = true;
            }
        }
    }
}



Rainer
Top achievements
Rank 1
 answered on 29 Sep 2011
3 answers
236 views
For an application on which I'm working, I want to export all appointments from a ScheduleView to an ICalendar format.  By following the ICal example provided in the  WPF Q2 2011 Demos, I have been able to successfully export all of my appointments using the AppointmentCalendarExporter.  

My next step was to create some exceptions to a recurring appointment, and try to export those.  This is where I ran into some problems.  If I create an exception which simply excludes an occurrence of a recurring appointment, then I can still export the recurring appointment to an ICalendar format (file or string), and the exclusion is represented in the ICal content like so:  "EXDATE:20110923T050000".  However, if I create an exception in which I change the time of an occurrrence of a recurring appointment (per the example here), then attempting to export the appointment to an ICal format results in a StackOverflowException.

Any idea what's going on here?
Yana
Telerik team
 answered on 29 Sep 2011
6 answers
182 views
Hi,

I have selected a cell and I want fetch the value of the previous cell of the selected cell. Please let me know how can be get that.

Thanks,
Ramasamy
Maya
Telerik team
 answered on 29 Sep 2011
1 answer
117 views
I have previously used RadDock in Telerik Winforms. When adding a dock window it had context menu options such as close, close all but this, close all, New Horizontal Tab Group.

Also on the right hand corner of the raddock, there was a dropdown with a list of all open document windows.

Are these features available in WPF docking?
George
Telerik team
 answered on 29 Sep 2011
2 answers
200 views
Hi
I just need 2 WPF controls. Is it possible to buy only 2 of them?

Best regards
Michael
Michael
Top achievements
Rank 1
 answered on 28 Sep 2011
4 answers
121 views

Hi, I am using RadControls for WPF (Q2 2011), in particular the GridView control. I am aware this control includes a cool looking dialog for filtering the data for each column however due to the fact I am trying to implement custom paging using Entity Framework I would also like to customise the look of the filter dialog, is this possible and if so please explain how.

I'd like to keep the section whereby one is able to filter the results by text search etc. but I don’t want to display the top section allowing the user to select the specific items in the collection. Hope that makes sense, I would send a screen shot however I don’t think its possible here??

Thanks in advance

 

Michael
Top achievements
Rank 1
 answered on 28 Sep 2011
2 answers
446 views
I'm having trouble showing the actual number of items in my grid. When the application loads there are no items. The grid is bound to an ObservableCollection. When the user selects a query option from a list, the ViewModel clears the OC and adds the result items from the chosen query. This is done via background worker, then the results are cast to an IList and added to the collection via the OC.Add method.

What I want to do is show the user how many items are in the grid at any given time. It's working to some extent. As long as I don't change the initial query, it works. I have a textblock binding to the GridView's Items.ItemCount property.

The problem comes when I filter the results, then try to do a different query. The GridView's ItemCount isn't updating appropriately. Sometimes it shows 0 when there are clearly 3 items in the grid. If I clear the filters or change the filters for that query, the number gets reset and from them on it works properly, until I change the query.

For example, one query returns all records. There are 73. If I filter the grid on a status column to show all closed, it tells me there are 19. If I then try to run a different query, this one shows 3 items in the grid (because there are 3 items with closed status). The grid keeps the filtering and applies it to the new results. But the count shows 0. If I then change back to the original all records query, the count shows 1 even though the original 19 filtered records are once again shown in the grid.

So how do I get the correct count no matter how the grid is populated or filtered? I can't bind to the count of the bound collection, because if the user filters the grid, I want to show the filtered total. Basically (the total items that are displayed or visible).
Rayne
Top achievements
Rank 1
 answered on 28 Sep 2011
1 answer
841 views
Is there a way to modify the disabled buttons style? When the buttons in our application are disabled, they turn light gray with gray text and we need to change the style so that it is more legible for users.
Regards,
Strasz
Tina Stancheva
Telerik team
 answered on 28 Sep 2011
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
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?