Telerik Forums
UI for WPF Forum
1 answer
128 views
Hi there !

I've downloaded the latest WPF telerik components (Q2 2013).

I'm trying to implement drag &drop between one RadGridView and one RadTreeListView with autoscroll while dragging to the drop target (RadTreeListView) but have no success.

I only find exemples with RadTreeView using RadDragAndDropManager wich seems to be obsolete....

So my questions are :
Is this possible ? natively ? could you provide a sample project ?

thanks.

Regards
Nick
Telerik team
 answered on 02 Sep 2013
1 answer
97 views

Hi,

We are using MVVM model. There are two grids parent and Child. Child Grid will be loaded on selecting any Parent row. Child grid will have all cells in Edit mode on Cell Focus and any change done to the cells will be auto saved. The task is to reload the Parent and Child grid when any concurrency exception occurs while auto saving Cells in Child grid. Below code is used to raise an Concurrency exception in viewmodel which is handled to display message box. Once the message is shown dispatcher exception is occuring.

Can you suggest any solution to avoid the Dispatcher  exception?


 

Xaml.cs
---------
private void childgrd_CellEditEnded(object sender, GridViewCellEditEndedEventArgs e)

{

viewmodel.HandleCellEditEnded(e.Cell.Column.DisplayIndex);

viewmodel.HeaderSelected = e.Cell.Column.Header.ToString();

}

viewmodel
-------------
public void HandleCellEditEnded(int Column)
{
Update();
}

public void Update()
{
try
{
  //Save child grid changes
}
catch (DbUpdateConcurrencyException)
{
  MessageBox.Show("Concurrency exception occured");
  SelectedParent = null;
  ParentGridCollection = null;               
  SelectedChild = null;
  childGridCollection = null;
  LoadParent();
}
}

Regards,
Vinetha.P

Nedyalko Nikolov
Telerik team
 answered on 02 Sep 2013
5 answers
523 views
Hi,

I have been working with the validation on my RadGridView. It works a little too well. I don't want to use cell validation but row validation is occurring with every cell edit. I would like to see something like the ValidatesOnDataErrors property contain an option for OnRowFocusLost or similar meaningful option.

I have looked around but in this case cannot seem to find a way of achieving what I want. How do you get the RadGridView to do RowValidating only when the focus is about to go to another row?

Thanks,
Rob
Maya
Telerik team
 answered on 02 Sep 2013
1 answer
99 views
Hi,

I have tried for dynamically add table to the RadDocument on RadDocumentDoubleClickEvent written in code behind file then also table is not reflected to the RadDocument. When I scrolled RadDocment then it reflected, how to add the dynamically table or any inline in element to RadDocument ?.

for reference my code is here
editor.Document.CaretPosition.MoveToPreviousInline();
var currpara = editor.Document.CaretPosition.GetCurrentParagraphBox().AssociatedParagraph;
var atable=ExpandedColl.Where(x=>x.Key==spanbox.Tag).FirstOrDefault().Value;
if(atable!=null)
{
  currsect.Blocks.AddAfter(currpara, atable);
}
Anna
Telerik team
 answered on 30 Aug 2013
2 answers
512 views
Hi,

I have a virtualized tree view with a lot of nodes.

Based on other input I am able to expand the tree at an  appropriate location and select a specified node.

But what isn't happening is the tree view is not scrolling to the appropriate location.

Couldn't work out how to do this programmatically. Could you provide some pointers?


Thanks
Arthur
Top achievements
Rank 1
 answered on 30 Aug 2013
1 answer
131 views
Hi,
I'm using a RadGridView (Q2 2013).
Users can play with this grid, create groups... filters ect..
I'm wondering if is it possible to export the grid in excel (XLSX) and keeping the final look.

Do you have some example? Or some link that I can look?

I found this..
http://blogs.telerik.com/vladimirenchev/posts/13-04-22/how-to-quick-export-to-excel-%28xlsx%29-for-wpf-and-silverlight

Thanks
Yoan
Telerik team
 answered on 30 Aug 2013
8 answers
525 views
In my WPF application, I have  NumericUpDown like that

<telerik:RadNumericUpDown Margin="0, 4, 0, 4"  Value="{Binding MyValue, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Maximum="{Binding MaxWidthValue}" IsEnabled="{Binding IsPropertyEnabled}"/>  MyValue is changed from data.

The problem is :

If this RadNumericUpDown has focus, the UI value does not change even though MyValue changed in Data. As soon as Tab out from this control, UI will change immediately.

If this control does not have focus, the UI displayed value will change instantly as MyValue changes.


Vladi
Telerik team
 answered on 30 Aug 2013
7 answers
218 views
Hi

We're happily using the Telerik RadGridView with FilteringMode="FilterRow" which works great for regular GridViewDataColumn type columns. However, I can't get the filter row to give an option for filtering or sorting for columns of type GridViewComboBoxColumn. I did find this post, but that doesn't apply to FilteringMode="FilterRow" as far as I can tell.

Is there a way to make the FilteRow to behave the same way for GridViewComboBoxColumn type columns as it does for GridViewDataColumn type columns?

Thanks
Oskar.
Yoan
Telerik team
 answered on 30 Aug 2013
1 answer
73 views
Hi,

i would lilke to Highlight Special days in the schduleview like xmas, new year, ... ! Is this possible? These days should get
the backcolor red!

Thanks
best Regards
Rene
Yana
Telerik team
 answered on 30 Aug 2013
1 answer
70 views

   Hi,

Can anybody help on how to use WindowsFormsHost in RadRibbonDropDownButton DropDownContent.
I copied the RadRibbonDropDownButton style, change the popup AllowsTransparency to false (as a known issue for WindowsFormsHost in popup) and set the new style for my RadRibbonDropDownButton, but it is still not show the winforms control.
Something still "block" it, but I did not find.
Please help! Thanks!

   Lacka


Kiril Vandov
Telerik team
 answered on 30 Aug 2013
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?