<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
Orientation
=
"Vertical"
>
<
telerik:RadPaneGroup
Name
=
"myGroup"
AllowDragReorder
=
"False"
telerik:ProportionalStackPanel.RelativeSize
=
"300, 200"
Grid.Row
=
"1"
SelectionChanged
=
"myGroup_SelectionChanged"
DropDownDisplayMode
=
"Visible"
ScrollViewer.HorizontalScrollBarVisibility
=
"Auto"
>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
telerik:ProportionalStackPanel.RelativeSize
=
"300, 200"
Visibility
=
"Collapsed"
Name
=
"DocumentClasses"
AllowDragReorder
=
"False"
>
<
telerik:RadPane
Header
=
"Column Selection"
Name
=
"ColumnPane"
CanFloat
=
"False"
CanUserPin
=
"true"
IsPinned
=
"True"
Content
=
"Column selection go here."
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
hi all,
how can i show text just above the line series in a RadCartesianChart?
<telerik:LineSeries ItemsSource="{Binding CurrentChartData.PassingScoreLine}"
ValueBinding="Score"
CategoryBinding="XCategory"
Stroke="Blue"
Foreground="Blue">
</telerik:LineSeries>
thanks.
Hello,
in the logfiles of only one customer we find very often this exception:
[Arg_NullReferenceException]
Argumente:
Debuggingressourcen-Zeichenfolgen sind nicht verfügbar. Oft enthalten der Schlüssel und die Argumente genügend Informationen zur Diagnose des Problems. Weitere Informationen erhalten Sie unter http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.50907.00&File=mscorlib.dll&Key=Arg_NullReferenceException
StackTrace:
bei Telerik.Windows.Controls.RadUpload.<EnumerateDropFilters>d__c.MoveNext()
bei Telerik.Windows.Controls.RadUpload.ApplyDropFilter(FileInfo entity)
bei Telerik.Windows.Controls.RadUpload.GaterDroppedFiles(FileInfo[] files)
bei Telerik.Windows.Controls.RadUpload.ProcessDroppedData(DragEventArgs e)
bei Telerik.Windows.Controls.RadUpload.OnDrop(DragEventArgs e)
bei System.Windows.Controls.Control.OnDrop(Control ctrl, EventArgs e)
bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
Why does this happen (rights problem?, something goes wrong with drag/drop?, some encoding problem?, too long paths?).
We can only find it in the logfile from one customer, at the others, it works fine.
What can it be?
Regards
private void OnAddFolderClicked(object sender, RoutedEventArgs e) |
{ |
IFolderContainer container = (sender as MenuItem).DataContext as IFolderContainer ?? null; |
Folder folder = new Folder() { Name = "Folder" }; |
container.AddFolder(folder); |
treeViewExplorer.SelectedItem = folder; |
folder.IsNodeInEditMode = true; |
RadTreeViewItem selectedItem = treeViewExplorer.SelectedContainer; // this is null even though I set the SelectedItem = folder |
} |
"The problem is that when you want to get the SelectedContainer the container is still not generated, because of the async nature of process when you add new item.
You need to put the code for getting the selected container in a Dispatcher call, so that the container is already generated when you try to get it."
I have tried to put my BeginEdit in a Dispatcher call, but the container is still null. SelectedItem is bound to an object in my ViewModel which is not null.
private void NewValueAdded(object sender, EventArgs e) |
{ |
Dispatcher.BeginInvoke(()=> |
{ |
TreeList.SelectedContainer.BeginEdit(); |
}); |
} |
I am using the RadGridView, and I need to subscribe to cell edit event of RADGrid. I get this event for every default cell however I am facing issue when I apply custom template to Combobox column.
Details:
I have two columns, viz. GridViewDataColumn and GridViewComboBoxColumn. I am applying custom CellTemplate to GridViewComboBoxColumn to have the default edit behaviour, but the grid cell edit event is not firing when I change the item in the combobox. I suspect this might be because I have overriden cell template. Event fires up without any issue if I use default GridViewComboBoxColumn without applying custom template.
Reason for using custom template: On default view, I want to display arrow on cell when it combo box column. Default behavior of GridViewComboBoxColumn does not display arrow, it shows arrow when you click on cell, then cell turns into combo box.
Please let me know how can I get cell edit event on custom template that I have applied on GridViewComboBoxColumn.
<
TelerikGridView:RadGridView
x:Name
=
"PersonData"
SelectedItem
=
"{Binding Path=SelectedPersonItem, Mode=TwoWay}"
Width
=
"Auto"
AutoGenerateColumns
=
"False"
ItemsSource
=
"{Binding Path=PersonCollection,Mode=TwoWay}"
PreparingCellForEdit
=
"CellDataChanged"
>
<
TelerikGridView:RadGridView.Columns
>
<
TelerikGridView:GridViewDataColumn
DataMemberBinding
=
"{Binding Path=Name, Mode=TwoWay}"
Header
=
"Sample Name"
Width
=
"*"
/>
<
TelerikGridView:GridViewComboBoxColumn
Header
=
"Department"
Width
=
"*"
ItemsSource
=
"{Binding Path=Departments, Mode=TwoWay, Source={StaticResource PersonViewModel}}"
DataMemberBinding
=
"{Binding Path=DepartmentName, Mode=TwoWay}"
>
<
TelerikGridView:GridViewComboBoxColumn.CellTemplate
>
<
DataTemplate
>
<
StackPanel
>
<
telerik:RadComboBox
Name
=
"displayCombo12"
ItemsSource
=
"{Binding Path=Departments, Mode=TwoWay, Source={StaticResource PersonViewModel}}"
SelectedValue
=
"{Binding DepartmentName, Mode=TwoWay}"
>
</
telerik:RadComboBox
>
</
StackPanel
>
</
DataTemplate
>
</
TelerikGridView:GridViewComboBoxColumn.CellTemplate
>
</
TelerikGridView:GridViewComboBoxColumn
>
</
TelerikGridView:RadGridView.Columns
>
</
TelerikGridView:RadGridView
>
<
telerik:RadDataPager
x:Name
=
"DataPager"
DisplayMode
=
"FirstLastPreviousNextNumeric, Text"
ItemCount
=
"{Binding ItemsCount, RelativeSource={RelativeSource TemplatedParent}}"
PageSize
=
"10"
IsTotalItemCountFixed
=
"True"
/>