Telerik Forums
UI for WPF Forum
3 answers
147 views
Hi there,
I have a GridViewComboBoxColumn in a nested hierarchical GridView, but somehow I can't set ItemsSource, DataMemberBinding and SelectedValueMemberPath properly from XAML. So, is there a simple way to find out, which ItemsSource is really set in the nested Grid at runtime, in order to fix the other props?
btw, my error looks like
BindingExpression path error: 'Name' property not found on 'object' ''Char' (HashCode=5177423)'. BindingExpression:Path=Name; DataItem='Char'
Cheers,
Hermann
Dimitrina
Telerik team
 answered on 15 Jul 2011
5 answers
284 views

I am using wpf 4.0 and telerik (3rd party tool) in my application and in which using grid of telerik.Now in my application there is a requirement that if the screen resolution gets bigger than 1024*768 then the columns width should increase.So i gave column width as star (*).

But in case of more than 20 columns in one grid................all the columns get collapsed with each other and though I have done the ScrollBar visibility as auto...............I dont see the scroll bar.So kindly tell me what should be the correct way to define width for the column.

Ramesh
Top achievements
Rank 1
 answered on 15 Jul 2011
2 answers
73 views
I want to binding SumFunction with a textblock. But I don`t how to do it. Here is my XMAL Code:

telerik:GridViewDataColumn Header="Amount" UniqueName="Amount" DataMemberBinding="{Binding Amount}">
                    <telerik:GridViewDataColumn.AggregateFunctions>
                        <telerik:SumFunction x:Name="MyTotal" Caption="Sum:" SourceField="Amount" />
                </telerik:GridViewDataColumn.AggregateFunctions>
                </telerik:GridViewDataColumn>



 <TextBlock Height="23" HorizontalAlignment="Right" Margin="0,28,98.377,0" x:Name="textBlock1" Text="{Binding "Need something to do", ElementName=radGridView1}" VerticalAlignment="Top" TextInput="textBlock1_TextInput" Width="79" d:LayoutOverrides="VerticalAlignment" />


thank`s for Help
Md.Hasanuzzaman
Top achievements
Rank 1
 answered on 14 Jul 2011
13 answers
327 views
Hi,

I faced with a problem that RadTreeListView.ScrollIntoView() doesn't works at all.

I need your support or workaround if so exist asap.

Thank you in advance,
Julian
Maya
Telerik team
 answered on 14 Jul 2011
1 answer
205 views
Hi, I'm using the RadTreeView, binding it t to a list of objects, which have a IsChecked property and binding it using the item container style.

 But i trying to get this approach:
- If I choose children, the parent is marked using the IsTriStateMode in true) and the event Checked/Unchecked is fired
- If check the parent root, the children won't be marked and the event Checked isn't fired.

Any ideas of how to do this approach?
thank you
Pam
Top achievements
Rank 1
 answered on 14 Jul 2011
15 answers
304 views
Is there any timeframe on a port of the RadBreadCrumb control to WPF?
lkeel
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
386 views
Hi,
DateTimePicker shows a min value as 1/1/0001 in calender.How to default it to as todays date.
In other case, if i am not selecting any date from datepicker, datetime property holds the mindate value.How to make this as empty string.
I am using MVVM pattern,
Ivo
Telerik team
 answered on 14 Jul 2011
3 answers
116 views
Hi there.

So if you reference this post, http://www.telerik.com/community/forums/wpf/gridview/add-to-selecteditems-via-behavior.aspx you will see that Maya gave us some sample code with the custom behavior that lets us manipulate the selected items of a gridview from the code behind, i.e. changing the selected items list shows up on the grid as selected. the only problem is that we are changing the list of items that the SelectedItems property is bound to inside of the view model and not on the code behind for the page so we can't say something like
//This is from the window.xaml.cs file
((MyDataContext)
this.LayoutRoot.DataContext).SelectedItems.Add(((MyDataContext)this.LayoutRoot.DataContext).Data.Where(x => x.ID == 4).First());
Any ideas on how we can make this work? I tried something like this in the view model
//This is from the view model
public
LineItem SelectedItem
{
  get
  {
    return selectedItem;
  }
  set
  {
    selectedItem = value;
    selectedItems.Clear();
    var list = Data.Where(x => x.OrderId == value.OrderId);
    foreach (var lineItem in list)
    {
      SelecedItems.Add(lineItem);
    }
    OnPropertyChanged("SelectedItem");
  }
}
but that doesn't work. There is something I am missing here, some sort of notification is taking place when you say - MyRadGridView.SelecedItems.Add() that doesn't take place from the view model even thought they are the same collection of objects. If I could figure out what that is maybe I could figure out how to make this thing work.

Thanks for any help or suggestions...
ken
Top achievements
Rank 1
 answered on 14 Jul 2011
1 answer
201 views
Hi

Can we drag item from combobox?

Thanks
Yana
Telerik team
 answered on 14 Jul 2011
0 answers
81 views

Hi,
Grid Sorting and Filtering Not working while using MultipleStringConvertor in DataGridColumn. Need help on the same please asap.
swati
Top achievements
Rank 1
 asked on 14 Jul 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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?