Telerik Forums
UI for WPF Forum
3 answers
217 views
Is there a way to programatically set the visible date range?

i have been working with your custom tick interval sample, and I have implemented an IDateRange object, but despite my attempts to assign this either in XAML or C#, the GANTT always displays only the current year.

Miroslav Nedyalkov
Telerik team
 answered on 23 Mar 2012
6 answers
501 views
How do I show checkbox in the Tree Part of the TreeListView. Its very easy in TreeView where if you specify 
IsOptionElementsEnabled= True, it shows Checkboxes and setting IsTriStateMode=True takes care of all 3 states. Do we have similar property in TreeListview?

Could you please provide an example that shows CheckBox in the Tree Part of the TreeListView and also does the TriStateMode equivalent of TreeView?


We really need this implemented in our project. Any help on this is really appreciated.  


Vlad
Telerik team
 answered on 23 Mar 2012
3 answers
139 views
Hello Telerik team,

Please let me know if it is possible to achieve following functionalities in radgrid and how.

  1) Can we select columns in grid and paste into excel ?

  2) When copying and pasting few rows from Grid to excel can we also copy column headers ?


Thanks,
Regards,
Mausami.



Boris
Top achievements
Rank 1
 answered on 22 Mar 2012
1 answer
176 views
Is there a way to determine the current filter count after the text changes?
Thanks in advance,
Steve
Konstantina
Telerik team
 answered on 22 Mar 2012
1 answer
126 views
How to store appointments dynamically to sql 2008 database using LINQ??


Hiii i search the issue i mention in heading on entire Telerik website still i m not getting solution..actully i want to create customs appointment then want to add it on RadScheduler Or RadSchedulerView then store that appointments in database..after that retrive that appointments when application again loades..every thing want to do it using LINQ..Plzz don't suggest me to reffer this link
http://www.telerik.com/support/kb/wpf/scheduler/linq-to-sql-provider-for-radscheduler.aspx 
it doesn't help me at all..plzz give some other solution or give some simple example...
Note that i want to add appointments from sutome field like combobox of Patient ID,textbox of Patient name..combobox is also bing to database so that i get patient ID from Database..then select it and add it on scheduler.


If there is no solution to my issue atleast tell me how keep track of appointments without using any database..so even if i close my app and again run then scheduler retrive my previous appointments. 

Plzz give me replay dear friends..even i don't get reply for my previous thread.
Yana
Telerik team
 answered on 22 Mar 2012
1 answer
170 views
I have bound the ItemsSource of my RadDataForm to a custom collection derived from ObservableCollection<T>.

In the collection class I have a method called "Populate". What it does, is it basically just makes an http request in a new thread and then adds items from the http request to the collection.

When calling ObservableCollection<T>.Add() from the new thread, I get a System.InvalidOperationException with the message "The calling thread cannot access this object because a different thread owns it".

The stacktrace lead me to RadDataForm (pasted below). Should RadDataForm be thread safe?

   at System.Windows.DependencyObject.SetValue(DependencyPropertyKey key, Object value)
   at Telerik.Windows.Controls.RadDataForm.set_CanAddItems(Boolean value) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:line 1367
   at Telerik.Windows.Controls.RadDataForm.SetCanAddItems() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:line 1510
   at Telerik.Windows.Controls.RadDataForm.SetAllCanProperties() in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:line 1525
   at Telerik.Windows.Controls.RadDataForm.OnItemsCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Data\DataForm\RadDataForm.cs:line 768
   at Telerik.Windows.Data.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:line 636
   at Telerik.Windows.Data.DataItemCollection.OnCollectionViewCollectionChanged(NotifyCollectionChangedEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:line 615
   at Telerik.Windows.Data.DataItemCollection.Telerik.Windows.Data.IWeakEventListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.ReceiveWeakEvent(Object sender, NotifyCollectionChangedEventArgs e) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\DataItemCollection.cs:line 1050
   at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 33
   at Telerik.Windows.Data.QueryableCollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\QueryableCollectionView.cs:line 900
   at Telerik.Windows.Data.QueryableCollectionView.ProcessSynchronousCollectionChangedWithAdjustedArgs(NotifyCollectionChangedEventArgs originalArguments, Int32 adjustedOldIndex, Int32 adjustedNewIndex) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\QueryableCollectionView.cs:line 1499
   at Telerik.Windows.Data.QueryableCollectionView.ProcessSynchronousCollectionChanged(NotifyCollectionChangedEventArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\QueryableCollectionView.cs:line 1366
   at Telerik.Windows.Data.QueryableCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\QueryableCollectionView.cs:line 1263
   at Telerik.Windows.Data.QueryableCollectionView.OnSourceCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\QueryableCollectionView.cs:line 1739
   at Telerik.Windows.Data.QueryableCollectionView.Telerik.Windows.Data.IWeakEventListener<System.Collections.Specialized.NotifyCollectionChangedEventArgs>.ReceiveWeakEvent(Object sender, NotifyCollectionChangedEventArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\Collections\QueryableCollectionView.cs:line 1718
   at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Core\Data\WeakEvents\WeakEvent.cs:line 33
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at My.Project.ModelCollection`1.<Populate>b__3(IQueryResult result) in D:\myproject\ModelCollection.cs:line 67
  ....something clipped....
   at System.Threading.Tasks.Task.Execute()
Anatoly Chekh
Top achievements
Rank 1
 answered on 22 Mar 2012
1 answer
119 views
Two issues with the RadGridView.  And they both are based around the same issue.
Once we load the grid with our IEnumerable, all items are immediately selected with in the grid.  Even though I have the following: 
SelectedItem="{x:Null}" SelectionMode="Single"
set on the grid.

Now, we are binding the grid programmatically. But all rows and cells are immediately selected, which is not what I want.



The second issue is that when I finally clear them through filters, when I do select a row, it will only allow me to select one row.

Which is fine, but I can't deselect that row and choose another.






Am I missing something?

Thanks

Travis
Maya
Telerik team
 answered on 22 Mar 2012
1 answer
93 views
Hello,

We have a WPF RadGridView, and my Coded UI test having problems with the data items.
Its quite odd, it seems like the last data item in the grid (the last row) is blocking the rest of the rows, (Im Getting an exception of "Blocked object" while using Mouse.click on the object).
I can only click and use the last Row.
By using the Coded UI Spy, i Noticed That The Last row is indeed blocking the rest.
Im using the last telerik controls version (2012.1).

What can I do?

Thanks in advance,
Tomer.
Ivan Ivanov
Telerik team
 answered on 22 Mar 2012
6 answers
377 views
Hi
I am experiencing some problem.While exporting columns of Radgridview to excel or other supported native formats...some columns are not exporting.
for those columns set the property 
IsVisible="False"
in xaml file.
so I have 2 doubts..
1)How to export all columns which are bind to grid irrespective of visibility.
2)I have a Ilist which is datasource of gribView.is it possible to export those list to different files ?

the following was sample code...
using (Stream stream = dialog.OpenFile())
{
GridViewExportOptions exportOptions = new GridViewExportOptions();
exportOptions.Format = format;
exportOptions.ShowColumnFooters = true;
exportOptions.ShowColumnHeaders = true;
grdView.Export(stream, exportOptions);
}
Regards Naresh
Usman
Top achievements
Rank 1
 answered on 22 Mar 2012
2 answers
90 views
It is painfully clear that Microsoft is dumping WPF into the "Maintenance Only" bin (in favor of Metro).

Is Telerik going to follow suit?  I realize that some of your resources have to be devoted to the new Metro stuff.  But Metro is not a good fit for may Enterprise scenarios.

I am about to start a brand new, very large, enterprise level app with WPF.  Because of this, I would like to know how long Telerik will be giving WPF "First Class" level resources.

Is Telerik able to commit to a time line of how long they will continue to actively and aggressively develop new features and products for WPF developers? 
techvslife
Top achievements
Rank 1
 answered on 22 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
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?