Telerik Forums
UI for WPF Forum
1 answer
192 views
I am using RadMap in a project that displays a large facility layout.  Users can pan/zoom the map to select, inspect, and modify equipment around the facility.  The use of RadMap's ZoomLevel, MinZoomLevel, and MaxZoomLevel are used to limit the user's zoom capabilities.

In this project, RadMap works great except for one issue.  Users constantly complain that the zoom increments are too large.  Two zooms in either direction make the map useless.  We are either looking at a postage stamp when zoomed out twice, or most of the equipment icons are off the screen when zoomed in a few times.

RadMap zoom levels are integer values.  I have seen other users ask if there is a way to use floating point zoom levels (such as "14.30").  The answer was always "No".

Are there any plans to add floating point zoom levels to RadMap in the future?  Are there any workarounds I could use in this case to make zooming more beneficial?
Andrey
Telerik team
 answered on 23 May 2013
8 answers
419 views
Hi,

I'm currently trying to display two datatypes in a single RadTreeListView. The first datatype, 'Desk', have only two properties: 'Name', and a property 'Books' containing the second datatype: 'Book'.

public class Desk
{
    public string Name { get; set; }
    public List<Book> Books { get; set; }
}
 
public class Book
{
    public string Name { get; set; }
    public string Location { get; set; }
    // Other stuff
}

I want to display a column 'Name' populated by both types, and a few other columns (in this example : 'Location') populated only for the child elements (Book).

Even though I wasn't able to create different templates for each types, the data could be binded since the property names are matching, and I can edit the Desk's properties. But the grid throws a 'Object does not match target type' exception when I try to edit a Book's properties.

<telerikGridView:RadTreeListView x:Name="RadTreeListView1"
                    AutoGenerateColumns="False"
                    IsReadOnly="False"
                    RowIndicatorVisibility="Collapsed"                                
                    ItemsSource="{Binding Path=Desks}">
    <telerikGridView:RadTreeListView.ChildTableDefinitions>
        <telerikGridView:TreeListViewTableDefinition ItemsSource="{Binding Path=Books}" />
    </telerikGridView:RadTreeListView.ChildTableDefinitions>
    <telerikGridView:RadTreeListView.Columns>                      
        <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding Path=Name}" Header="Name" Width="150"/>
        <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding Path=Description}" Header="Description" Width="*"/>
        <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding Path=Location.Name}" Header="Location" Width="100"/>
        <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding Path=Intention}" Header="Intention" Width="100"/>
        <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding Path=TreatmentType}" Header="Treatment Type" Width="100"/>
        <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding Path=AccountingTreatment}" Header="Accounting Treatment" Width="100"/>
        <telerikGridView:GridViewDataColumn DataMemberBinding="{Binding Path=IfrsType}" Header="Ifrs Type" Width="100"/>                       
    </telerikGridView:RadTreeListView.Columns>
</telerikGridView:RadTreeListView>

Am I doing something wrong? Is there a workaround for this problem?

(enclosed screenshot)
Nick
Telerik team
 answered on 23 May 2013
3 answers
285 views
Guys - I've run a profile on an app where we're only using your GridView, and are completely overriding your styles (based on your metro themes, bringing it back even more) and have noticed thousands of ResourceDictionaries instantiated which identify as internal to your DLLs - are you using hard-coded references, and do you have some form of resourcedictionary caching I might be missing? dll versions are 2013.1.220.40

Cheers, 
AC

Hristo
Telerik team
 answered on 23 May 2013
4 answers
204 views
Hi,

i use a RadDataForm in a DialogWindow. I want to open the Dialog, bind the ItemSource on the Dataform and now
I want to get the DataForm in Edit Mode.

I tried AutoEdit="true" this will open my DataForm in EditMode, but on click on the OK Button the DataForm ist still
in Edit Mode!

How can I open the DataForm in Edit mode?

Thanks
Best Regards
Rene
ITA
Top achievements
Rank 1
 answered on 23 May 2013
6 answers
124 views
Hello everyone,

maybe thats more a mathematical question but i have a spline series for which i want to calculate the average value for in an given interval. what would be the best way to do this?
is there for example an way to get the interpolated value of the series at a certain position?

like for example i have the datapoints (x,y):
(13:15, 200), (13:57, 154),..., (18:31, 177)
now i like to know whats the average value between 15:30 and 17:30 o'clock .. which can be an interval in which i might have no 'real' values at all but only interpolated ones..

thanks in advance!
Mikk
Top achievements
Rank 1
 answered on 23 May 2013
3 answers
175 views
I am using RadBarcode39 in my Windows Phone 8 App but it is not being scanned correctly. So was wondering if there are recommendations for Height and Width properties to get it to scan properly. Also the bars don't appear to match a printed paper bar code. Below is what I am doing. Should I be doing something more/different ?

            <telerikDataViz:RadBarcode39 Name="BarCodeControl"
                                         Height="120"
                                         Width="425"
                                         Margin="5"
                                         VerticalAlignment="Center"
                                         HorizontalAlignment="Center"
                                         Text="90321331" 
                                         ShowChecksum="False"/>


Aniruddha
Top achievements
Rank 1
 answered on 22 May 2013
2 answers
528 views
Hello
We have the following View structure:

  <RadDocking x:Name="_radDocking" RadDocking.SerializationTag="_radDocking">
    <RadDocking.DocumentHost>
      <telerik:RadSplitContainer x:Name="_splitContainer" RadDocking.SerializationTag="_splitContainer" InitialPosition="DockedTop">
        <telerik:RadPaneGroup x:Name="_contentArea" RadDocking.SerializationTag="_contentArea" IsContentPreserved="True" >
        </telerik:RadPaneGroup>
      </telerik:RadSplitContainer>
    </RadDocking.DocumentHost>
  </RadDocking>


Inside code behind we add  some RadPane to the PaneGroup. This works good.


Now we have the requirement to change the selected Pane in the case they are "groupped" after 2s. User should see each pane without a click.

In the case we have 4 RadPane:
Pane1 - Pane2 - Pane3 - Pane4 - Pane1 - Pane2 .....

The timer is not the problem. But how can I set the RadPane with should have focus inside codebehind?

Thanks
Stephan
Top achievements
Rank 1
 answered on 22 May 2013
1 answer
155 views
Dear sir,

Can I copy diagram items (shape or connection) as image in clipboard so that paste it into MS office or other applications?
If RadControl diagram does not support this functionality, Could you give me some tips for this?

Regards,
Tina Stancheva
Telerik team
 answered on 22 May 2013
5 answers
142 views
I would like to add a Table of Contents from code, is there documentation on how to do this?
Petya
Telerik team
 answered on 22 May 2013
5 answers
106 views
Hi,

how to find a DataFormField  <telerik:DataFormComboxField> on EditEnded?
I have to Change the value by code and have to find this field!

Thanks
Best Regards
Rene
Ivan Ivanov
Telerik team
 answered on 22 May 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
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?