Telerik Forums
UI for WPF Forum
1 answer
110 views
Hi,
I have updated all the new referneces and lost date picker, and string formatters. Also there is an issue in Rad Girdview . Should I revert back to previous version?
Kaloyan
Telerik team
 answered on 08 Sep 2010
1 answer
138 views
When i put a datetimepicker on my window,
I see following error appearing in my output window :

System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=PART_DropDownButton'. BindingExpression:Path=IsMouseOver; DataItem=null; target element is 'ButtonChrome' (Name='ButtonChrome'); target property is 'RenderMouseOver' (type 'Boolean')



once for every raddatetimepicker I use, this appears to be an telerik - interal error, since i didnt do any binding on the control yet.

I am using Telerik build 2010.2.714.40
 
Kaloyan
Telerik team
 answered on 08 Sep 2010
9 answers
493 views
Hi,
is there Selected Value in the GridViewComboBoxColumn ?
Best regards
Ehud
Parvinder Singh
Top achievements
Rank 1
 answered on 08 Sep 2010
1 answer
231 views
I have a RadComboBox that is bound to a collection of about 1500 items. The ComboBox is searchable with filtering.

Everything was working as expected, except it was really slow to load.

I Added the VirtualizingStackPanel and this gave me the speed required for the app and text searching is working. However, the ComboBox is no longer filtering the results.

Here is my code:

<telerik:RadComboBox Grid.Column="1"
                     IsEditable="True"
                     TextSearchMode="StartsWith"
                     telerik:TextSearch.TextPath="Description"
                     IsFilteringEnabled="True"
                     OpenDropDownOnFocus="True"
                     ItemsSource="{Binding Fields}"
                     SelectedItem="{Binding SelectedField.Field, Mode=TwoWay}">
                <telerik:RadComboBox.ItemsPanel>
                    <ItemsPanelTemplate>
                        <VirtualizingStackPanel />
                    </ItemsPanelTemplate>
                </telerik:RadComboBox.ItemsPanel>
</telerik:RadComboBox>


I'm using the latest version of the control (Q2 2010 SP1).

Any help would be greatly appreciated.
Konstantina
Telerik team
 answered on 08 Sep 2010
3 answers
664 views
I'm using a RadComboBox with text filtering, it works fine except for one small case.

When I start typing into the combo box to filter its items, if I use the keyboard to highlight and press enter on an item, the text that I typed will be replaced with the complete text of the item that I selected. This does not happen though in a particular case. If I partially type in the text of an item and then use the mouse to click on the item I want in the resulting filtered list, the text in the combo box will remain the partially typed in value that I entered, instead of being replaced with the complete text from the item I selected.

How do I get the combo box to behave the same in both cases (mouse & keyboard) so that the text of the selected item always replaces the text the user typed in?

Here's how I'm setting up my combo box in case I'm simply lacking a proper setting. I was able to duplicate this behavior on the Telerik online demo's page.

            <telerik:RadComboBox Grid.Column="1" Grid.Row="1" Margin="5,1,5,1"
                                 ItemsSource="{Binding AvailableLookupGroups}" 
                                 SelectedValue="{Binding LookupGroup, Mode=TwoWay}" 
                                 CanAutocompleteSelectItems="True"
                                 CanKeyboardNavigationSelectItems="True"
                                 IsEditable="True"
                                 IsFilteringEnabled="True"
                                 TextSearchMode="Contains"
                                 EmptyText="Select a lookup..."
                                 OpenDropDownOnFocus="True"
                                 ClearSelectionButtonVisibility="Visible"
                                 ClearSelectionButtonContent="Clear"
                                 DisplayMemberPath="LookupName"/>

Konstantina
Telerik team
 answered on 07 Sep 2010
1 answer
82 views
Hi,
  Is zooming and scrolling is available only if series mapping is used? I am not able to get it working. Here is my code.

Thank you
        ChartArea3.DefaultView.ChartArea.DataSeries.Clear()


        For Each itm As ItemSumm In itemsList
            Dim series As New DataSeries()
            series.Definition = New LineSeriesDefinition()
            series.Definition.ShowItemLabels = True
            series.Definition.ShowItemToolTips = True
            series.Add(New DataPoint() With {.YValue = Math.Abs(itm.Amount), .XCategory = Format(itm.aptDate, "dd-MMM"), .LegendLabel = itm.aptCode})
            series.LegendLabel = itm.aptCode
            series.Definition.ItemLabelFormat = "#Y{C2}"
            series.Definition.ItemToolTipFormat = "#LEGENDLABEL" & Chr(13) & "#Y{C2}" & Chr(13) & "#XCAT"
            ChartArea3.DefaultView.ChartArea.DataSeries.Add(series)
        Next
        Dim zoomSettings As New ZoomScrollSettings()
        ChartArea3.SamplingSettings.SamplingThreshold = 10
        zoomSettings.MinZoomRange = 10
        zoomSettings.RangeEnd = 30
        zoomSettings.RangeStart = 20
        zoomSettings.ScrollMode = ScrollMode.ScrollAndZoom
        ChartArea3.DefaultView.ChartArea.ZoomScrollSettingsX = zoomSettings
Evgenia
Telerik team
 answered on 07 Sep 2010
1 answer
226 views
How can I hide (and show) frame and headers by code. See attached picture.

I want my usercontrols to be "movable" but not showing the frame of Docking control (more than when app is is in "move controls mode")
Miroslav Nedyalkov
Telerik team
 answered on 07 Sep 2010
1 answer
86 views
I am using VS 2010 and am unable to build the Q2 2010 ExamplesCS_WPF solution.
Attached is an image of the errors
Kaloyan
Telerik team
 answered on 07 Sep 2010
3 answers
459 views
Hi

I have a GridViewCheckBox column which is created dynamically at runtime. I need to hide the checkboxes for particular rows based on a condition. I have seen some samples using cell template in XAML but I did not find any sample to do it using code behind or which suits this scenario. Here is the code

GridViewCheckBoxColumn tempCheckBoxColumn;
           foreach (PermissionValue permissionValue in employeeRecords.FirstOrDefault().RolePermission)
           {
               tempCheckBoxColumn = new GridViewCheckBoxColumn()
               {
                   Header = permissionValue.PermissionTypeDescription
                   ,
                   UniqueName = permissionValue.PermissionTypeDescription
                   ,
                   DataMemberBinding = new Binding("RolePermission[" + i + "].Value") { Mode = BindingMode.TwoWay }
                   ,
                   DataType = typeof(bool                     
               };
               tempDataColumn.IsReadOnly = false;
               this.grid.Columns.Add(tempCheckBoxColumn);
               i++;
           }

I need to hide the checkbox for some rows based on permissionValue.IsVisible value.

Regards
Kiran
Veselin Vasilev
Telerik team
 answered on 07 Sep 2010
6 answers
185 views
Hi

I am implementing self reference hierarchy and i have used the code below which works fine for default columns.
<telerik:RadGridView x:Name="RadGridView1"
     DataLoading="RadGridView1_DataLoading" RowLoaded="RadGridView1_RowLoaded" GridLinesVisibility="Horizontal" 
    CanUserFreezeColumns="False" IsReadOnly="True" AutoGenerateColumns="False" Margin="10">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn  DataMemberBinding="{Binding TaskId}" />
          
        <telerik:GridViewDataColumn Header="Task Name" DataMemberBinding="{Binding TaskName}" />
        <telerik:GridViewDataColumn Header="Read">
            <telerik:GridViewColumn.CellTemplate>
                <DataTemplate>
                    <CheckBox x:Name="checkBoxRead" IsChecked="{Binding Read}" />
                </DataTemplate>
            </telerik:GridViewColumn.CellTemplate>
        </telerik:GridViewDataColumn>
        <telerik:GridViewDataColumn Header="Write">
            <telerik:GridViewColumn.CellTemplate>
                <DataTemplate>
                    <CheckBox x:Name="checkBoxWrite" IsChecked="{Binding Write}" />
                </DataTemplate>
            </telerik:GridViewColumn.CellTemplate>
        </telerik:GridViewDataColumn>
    </telerik:RadGridView.Columns>
    <telerik:RadGridView.FilterDescriptors>
        <telerik:FilterDescriptor Member="ParentTaskId" Operator="IsEqualTo"  Value="0"/>
    </telerik:RadGridView.FilterDescriptors>
    <telerik:RadGridView.ChildTableDefinitions>
        <telerik:GridViewTableDefinition>
            <telerik:GridViewTableDefinition.Relation >
                <telerik:TableRelation IsSelfReference="True"     >
                    <telerik:TableRelation.FieldNames>
                        <telerik:FieldDescriptorNamePair  
                            ParentFieldDescriptorName="TaskId" 
                            ChildFieldDescriptorName="ParentTaskId" />
                    </telerik:TableRelation.FieldNames>
                </telerik:TableRelation>
            </telerik:GridViewTableDefinition.Relation>
        </telerik:GridViewTableDefinition>
    </telerik:RadGridView.ChildTableDefinitions>
      
</telerik:RadGridView>

I have a problem when I add dynamic columns columns are showing at rool level but does not get added at child node level. If you notice in the screenshot RolePermissions[0], RolePermissions[1], RolePermissions[2] are dynamic columns. I have attached the screenshot. Is there a simple way to fix it please suggest.

Regards
Kiran


Kiran
Top achievements
Rank 1
 answered on 07 Sep 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
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?