Telerik Forums
UI for WPF Forum
3 answers
85 views
Are we able to implement 2 WPF ScheduleViews on the same Window with ability to drag and drop appointments between each other?

[ScheduleView 1]
- Room 101 [ appointment ]
- Room 102
- Room 103 [ appointment ]
----------------------------------
[ScheduleView 2]
- Reservation Z8329 [ appointment ]
- Reservation Z8342 [ appointment ]
- Reservation Z8451 [ appointment ]

E.g. Drag the appointment from ScheduleView 2 (Reservation Z8342) to ScheduleView 1 (Room 102)

Can we achieve this?
Yana
Telerik team
 answered on 15 Sep 2011
1 answer
160 views
Hi.

I am using the TreeListView for showing some hierarchical information, but I also want to show some details about the last children. So I added a RowDetailsTemplate and a GridViewToggleRowDetailsColumn(in the columns specification).

The thing is that, by doing so, the first column, which is the ToggleRowDetails, displays two expanders (the grouping expander and the detailstogglebutton), so then I added a visibility parameter of the togglebutton binded to the collection, and a converter, which validates if the binded data is null (in which case, the togglebutton is hidden). But as result, the togglebutton is displayed with another style, not the one that is specified by the theme (as a '+' button, not the arrow of the OfficeTheme).

I know it's not an important issue, cause the control already works as I wanted, but I'd like that the expanders looked the same.
Ivan Ivanov
Telerik team
 answered on 15 Sep 2011
2 answers
107 views
How can I change the .dbf file for a shapefile and refresh the map on the back end?
Manikandan
Top achievements
Rank 1
 answered on 15 Sep 2011
1 answer
108 views
Hi,

I have a question about the generation of nested GridViews. I have found an article here where the GridView reads tables from a DB and generates the hierarchy automatically.

Is there a way to do the same in WPF with the help of the binding properties?

I have already tried to do this but the nested GridView every time shows the whole table from the DB and not only the rows that have as foreign key the ID of the parent row. 

I hope my explanations are understandable and thanks in advance
Walter
Vlad
Telerik team
 answered on 15 Sep 2011
5 answers
152 views
Hello,

At the moment I am trying to implement an export function for charts by using the ExportToImage and ExportToExcelML methods of RadChart.
This is done by using for example:
RadChart1.ExportToImage(fileName, new PngBitmapEncoder()); 
or
RadChart1.ExportToExcelML(fileName);
where RadChart1 is a chart with five regular LineSeries drawn in it.
But as soon as these methods are accessed, I get an exception error:
"A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in PresentationCore.dll"

I already tried to use a filestream instead of a filename, I checked the filename, etc, etc, but I keep getting that same error without any additional information. And since I cannot do much different than giving those standard parameters (I also tried with dpi parameters, which also didn't make a difference), I am totally lost on this problem. Any idea what is going wrong or in what direction I should be searching for this problem?

I am using version 2011.1.510.40 of the Telerik controls.

Thank you in advance,
Dominique
Nikolay
Telerik team
 answered on 15 Sep 2011
0 answers
121 views
I have a radio button in a radGridView column, using a DataTemplate. However cannot get binding to work on the radio button. Can you send or point me to a full example of using a radio button in radGridView?
Michael
Top achievements
Rank 1
 asked on 14 Sep 2011
1 answer
103 views
Hi,

I was able to set additional y-axis on the left side of the radchart area but the axis labels, title and ticks are shown on the right side of the additional axis. How can I set the additional axis so that axis labels etc are shown in the left side of the additional axis?

I'm using WPF version of RadChart control (version 2011.2.712.40)

Regards,
Auvo

Sia
Telerik team
 answered on 14 Sep 2011
5 answers
250 views
Hi support team,

I trying to use a special DataTemplate for each data type of column in my grid:
e.g. a DataPicker for Dates, a string editor for strings, ..

I try to achive this by using a style selector, but my problem is that I can't bind the editor to the data of the cell/column.
All the examples  I found always bind a Template to a specific column but not the column of the templated cell.

If I bind the template to a specific column "MyDataColA" like this, it works.
<inh:CellEditTemplateSelector x:Key="cellEditTemplateSelector">
   <inh:CellEditTemplateSelector.DateTimeEditStyle>
      <DataTemplate>
         <telerik:RadDatePicker SelectedValue="{Binding MyDataColA, Mode=TwoWay}"/>
      </DataTemplate>
   </inh:CellEditTemplateSelector.DateTimeEditStyle>
</inh:CellEditTemplateSelector>

But how to bind to the same column as the templated cell?

Is there a way to do this?

Regards
Thomas

Maya
Telerik team
 answered on 14 Sep 2011
2 answers
110 views
Hello everyone,

I am trying to have a Range of 14 days as my X Axis for my Chart Control. The AddRange() only takes doubles, so is there a different method that I can use to get a Range from 13 days ago all the way up to and including Today? If anyone can help that would be great.

Thank you,
Chris
chris
Top achievements
Rank 1
 answered on 14 Sep 2011
3 answers
140 views
Hi,
I have successfully changed the date/time formats used throughout my app (including Telerik controls) by using the following lines:

Thread.CurrentThread.CurrentCulture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.LongDatePattern = "yyyy-MM-dd";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortTimePattern = "HH:mm";
Thread.CurrentThread.CurrentCulture.DateTimeFormat.LongTimePattern = "HH:mm:ss";

However, there is still one instance where the ScheduleView stubbornly refuses to use my formats: when I click on an appoinment's edge and hold the mouse button to resize the appointment, previews are shown for both the start time and end time, but those previews use the AM/PM format. Is there a way to change that ?

Thanks,
Sebastien
Yana
Telerik team
 answered on 14 Sep 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
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
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?