Telerik Forums
UI for WPF Forum
1 answer
73 views
Hello

    I believe I am seeing the the same issue brought up here http://www.telerik.com/community/forums/wpf/window/radwindow-binding-error.aspx -  is there any workaround or fix for this?  We are in the trial phase using version 2011.3.1220.40. 

Thank you,
Patrick Brown
Yana
Telerik team
 answered on 12 Mar 2012
4 answers
206 views

Hello,

I have an old project containing a GridView with a
GridViewCheckBoxColumn binded to a bool type data property. With 2011-Q3 the application works. The checkbox state is set accordingly to the property value.

Yesterday I have installed 2012-Q1 and I have noted that this column does not work anymore. Although the data property has a value of "true", the checkbox is unchecked. If I try to manually check the checkbox, when the cell loses focus the checkbox is automatically unchecked.

Also, when the cell loses focus and the checkbox is checked, in the Output window the following message is recorded:

"A first chance exception of type 'System.ArgumentException' occurred in System.ComponentModel.DataAnnotations.dll"

Perhaps you can take a look into this problem.

Thank you.

 

<telerik:RadGridView Name="gridFields" Grid.Row="7" Grid.ColumnSpan="4" ItemsSource="{Binding Path=FieldsConfig}" CanUserReorderColumns="False" AutoGenerateColumns="False" ShowInsertRow="True" RowEditEnded="gridFields_RowEditEnded" AddingNewDataItem="gridFields_AddingNewDataItem" ShowGroupPanel="False" CellValidating="gridFields_CellValidating" Deleting="gridFields_Deleting" IsFilteringAllowed="False" CanUserFreezeColumns="False" CanUserSortColumns="True">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="Nume camp" UniqueName="Name" DataMemberBinding="{Binding Path=Name}" />
        <telerik:GridViewDataColumn Header="Col.CSV" UniqueName="CSVColumn" DataMemberBinding="{Binding Path=CSVColumn}" TextAlignment="Right" />
        <telerik:GridViewDataColumn Header="Camp formular web" UniqueName="WebFormFieldName" DataMemberBinding="{Binding Path=FormDataFieldName}" />
        <telerik:GridViewCheckBoxColumn Header="Specifica fis.continut" UniqueName="ContainsFilename" DataMemberBinding="{Binding Path=ContainsFilename}" AutoSelectOnEdit="True" EditTriggers="CellClick" />
        <telerik:GridViewDataColumn Header="Valoare implicita" UniqueName="DefaultValue" DataMemberBinding="{Binding Path=DefaultValue}" />
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

public static readonly DependencyProperty ContainsFilenameProperty = DependencyProperty.Register("ContainsFilename", typeof(bool), typeof(FieldConfigData),
                                                            new FrameworkPropertyMetadata(false));
[XmlIgnore]
public bool ContainsFilename
{
    get { return (bool)GetValue(ContainsFilenameProperty); }
    set { SetValue(ContainsFilenameProperty, value); }
}
[XmlAttribute(AttributeName = "is_content_filename")]
public byte IsContentFilename
{
    get { return ContainsFilename ? (byte)1 : (byte)0; }
    set { ContainsFilename = ((byte)value == 1); }
}

Yordanka
Telerik team
 answered on 12 Mar 2012
1 answer
62 views
Hi,

I want to create a custom filter to select a quantity of matching items. That is, the user has a list of 1,000 items but wants the first (say) 500 that match. I want to use this to allow the user to allocate work items to team members.

I can see how to filter individual items but can I use a custom filter to filter how many items are displayed?

Thx

Rob
Rossen Hristov
Telerik team
 answered on 12 Mar 2012
2 answers
58 views

Hello

I added columns in code and try to order the columns by using

Display Index it not works.

Is there way to control the index of the columns in the grid?

Best regards

Ehud

 

 

Avi Avni
Top achievements
Rank 1
 answered on 12 Mar 2012
3 answers
75 views
Hi,

I confused. RadDataFilter is listed under RadControls for WPF but on the "Getting Started" page (http://www.telerik.com/help/wpf/datafilter-getting-started.html) I see:

RadDataFilter is available for Silverlight 4 only.

Is this a mistake?

Thx

Rob
Vlad
Telerik team
 answered on 12 Mar 2012
1 answer
105 views
Hi,

I am working on an audit application where I use lot of GridViews. There are columns such as SSN, Date, accountnumbers ..etc which I use in a lot of grids. Every column is initially in readonly mode has edittrigger set to F2.  For SSN I am using GridViewMaskedTextBoxColumn and defined it as below

<telerikGrid:GridViewMaskedTextBoxColumn DataMemberBinding="{Binding SSN, Mode=TwoWay,
Converter={StaticResource ssnConverter}}" Header="SSN" EditTriggers="F2" Mask="###-##-####"
 MaskType="Standard" />              

When I write a Style as below :

<Style x:Key="SSN_GridViewColumn" TargetType="{x:Type telerik:GridViewMaskedTextBoxColumn}">
            <Setter Property="Mask" Value="###-##-####"/>
            <Setter Property="Header" Value="SSN"/>
            <Setter Property="MaskType" Value="Standard"/>
            <Setter Property="EditTriggers" Value="F2"/>
 </Style>

and try to apply them to all the SSN columns in my grids, I get runtime errors regarding the Properties "Mask" and "MaskType" properties in the Style. They only work when I add them explicitly in the Column defiition rather than in the style. Is this an Issue with MaskedTextBoxColum

Is there any other alternative to this?
Vlad
Telerik team
 answered on 12 Mar 2012
6 answers
170 views
How can be scrollbar both horizontal and vertical in chart legend.
MahMah
Top achievements
Rank 1
 answered on 12 Mar 2012
3 answers
169 views
Hello. I have such problem: when I try to add aggregate functions for group, that was created from user interface(user drags column headers to grouping panel), i cant use foreach for groups collection, that have more than one element. I get exception, that talk my group collection has changed. But i changed only aggregate functions collection. Code demonstrated such behaviour is below:

foreach (var group in AssociatedObject.GroupDescriptors)
{
    var localGroup = (group as GroupDescriptor);
 
    AggregateFunctionCollection aggregateFunctions = localGroup == null ?
        (@group as ColumnGroupDescriptor).Column.AggregateFunctions :
           localGroup.AggregateFunctions;
 
   aggregateFunctions.Clear();
 
    aggregateFunctions.Add(new CountFunction { Caption = GroupAggregatesName });
}

What is the way to solve this problem? Please help.
Evgeny
Top achievements
Rank 1
 answered on 11 Mar 2012
3 answers
87 views
Hi,

I am facing an issue with the WPF RadGrid, that when i extend a column width, the column title gets cut off. Please refer attached screenshot. Could anyone help me with this please?

Thanks.
Ruhban
Top achievements
Rank 1
 answered on 10 Mar 2012
0 answers
115 views

Hello,

We are working with Telerik TreeListView control to display hierarchical data. We have a tree with upto 3 levels deep and unable to to maintain the expanded/collapsed state everytime we do a rebind. The tree collapses every-time we save the data and rebind the data back to the control. We have looked at options of manually storing the state (expanded/collapsed nodes)  on IsExpandedChanged() and expanding the nodes manually using treeListView.ExpandHierarchyItem(item) after rebind. This doesn’t seem to work as expected.

We also tried the MVVM approach as suggested in the demo but this works only for the first time.

This is an urgent request and any help on this at the earliest would be greatly appriciated.

Thanks,
Mahesh

Mahesh Aloysius
Top achievements
Rank 1
 asked on 10 Mar 2012
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)
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
Rating
SplashScreen
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
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?