Telerik Forums
UI for WPF Forum
1 answer
143 views
Hello,

How can I bind to a dateTime for the xvalues for the sparkline control? It gives me an argumentException if I try.  It seems to want a double value for the xvalue.

Thanks,
Eric
Evgenia
Telerik team
 answered on 19 Jun 2012
2 answers
107 views
Hi,

How do you disable the background colour of an editable region when a document is protected?

See my attached image. Notcie that the editable areas appear yellow. I want to make them transparent.

Thank you,

Rob
Robert
Top achievements
Rank 1
 answered on 18 Jun 2012
0 answers
76 views
Removed
Sam
Top achievements
Rank 1
 asked on 18 Jun 2012
8 answers
1.6K+ views
How do you hide the first column in the grid.  It's the selected row indicator column.  So when you select a cell in a row, the arrow indicator moves to that row.  It's the column that shows up before you data columns are generated.

THanks
Nikhil
Top achievements
Rank 1
 answered on 18 Jun 2012
2 answers
457 views
I can create RadContextMenu with a DropShadowEffect if I just show it in a Grid; however if I try and attach it to a Window.ContextMenu (or any other control) the shadow doesn't appear.  I've tried all sorts of variations using Resource Styles and ResourceDictionaries, and nothing works.  I'm including the MainWindow.xaml source and a screen shot showing the results.

<Window
    x:Class="WpfApplication2.MainWindow"
    x:Name="Window"
    Title="MainWindow"
    Width="640" Height="480"
    >
    <telerik:RadContextMenu.ContextMenu>
        <telerik:RadContextMenu ClickToOpen="True"
                                InheritDataContext="False">
            <telerik:RadContextMenu.Effect>
                <DropShadowEffect ShadowDepth="3" Opacity="0.445" RenderingBias="Quality"/>
            </telerik:RadContextMenu.Effect>
                <telerik:RadMenuItem Header="Copy" />
                <telerik:RadMenuItem Header="Paste" />
                <telerik:RadMenuItem Header="Cut" />
                <telerik:RadMenuItem IsSeparator="True" />
                <telerik:RadMenuItem Header="Select All" />
            </telerik:RadContextMenu>
    </telerik:RadContextMenu.ContextMenu>
 
    <Grid x:Name="LayoutRoot">
        <telerik:RadContextMenu
            Margin="105,53,247,147"
            ClickToOpen="True"
            InheritDataContext="False">
            <telerik:RadContextMenu.Effect>
                <DropShadowEffect ShadowDepth="3" Opacity="0.445" RenderingBias="Quality"/>
            </telerik:RadContextMenu.Effect>
            <telerik:RadMenuItem Header="Item 1">
                <telerik:RadMenuItem Header="Sub Item 1"/>
                <telerik:RadMenuItem Header="Sub Item 2"/>
            </telerik:RadMenuItem>
            <telerik:RadMenuItem Header="Item 2">
                <telerik:RadMenuItem Header="Sub Item 3"/>
                <telerik:RadMenuItem Header="Sub Item 4"/>
                <telerik:RadMenuItem Header="Sub Item 5"/>
            </telerik:RadMenuItem>
        </telerik:RadContextMenu>
    </Grid>
</Window>



What am I doing wrong?

Thanks in advance,
Steve



Steve
Top achievements
Rank 1
 answered on 18 Jun 2012
1 answer
139 views
Hello,

I'm experiencing an issue with using the mouse selection zooming (where you select a rectangle to zoom in on).  After a few successful zooms, an error is thrown (ArgumentException: Width and Height must be non-negative.) when trying to zoom in to fine detail.  I assume this has something to do with rendering the pan/zoom bar, but I'm not certain.

I can catch the previewMouseUp event, but I'm not sure how to correctly check/handle this issue.

Any help/guidance would be appreciated.

Also, the interesting bit of the stacktrace from the exception:

at System.Windows.Size..ctor(Double width, Double height)
   at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.UpdatePanAndZoom(Double startX, Double endX, Double startY, Double endY) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartPanAndZoomBehavior.Branch.cs:line 278
   at Telerik.Windows.Controls.ChartView.ChartPanAndZoomBehavior.AdornerLayerMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) in c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartPanAndZoomBehavior.Branch.cs:line 252
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
Paul
Top achievements
Rank 1
 answered on 18 Jun 2012
1 answer
174 views
I am writing this lines of code 

  <telerik:RadComboBox Height="28" Margin="0,112.051,12,0" Grid.Row="1" VerticalAlignment="Top">
      <telerik:RadComboBox.SelectionBoxTemplate>
       <DataTemplate>
        <TextBlock Text="{Binding}" Foreground="Red"/>   
    </DataTemplate>   
   </telerik:RadComboBox.SelectionBoxTemplate>
      <telerik:RadComboBoxItem Content="Item 1"/>
      <telerik:RadComboBoxItem Content="Item 2"/>
      <telerik:RadComboBoxItem Content="Item 3"/>
     </telerik:RadComboBox>
But this is not working. Please tell me what i am doing worng ?
Thank you.
Vladi
Telerik team
 answered on 18 Jun 2012
8 answers
158 views
Hi,

i'm using two RadGridViews with one MVVM (ObservableCollection<foptxt>()). With Drag and Drop i moove the items from GridA to GridB.

How do i add a DropHandler for the dropped items? I just found an example for a Listbox, but i can't change this to run with a GridView.

Thanks
Best Regards
Rene
Dimitrina
Telerik team
 answered on 18 Jun 2012
4 answers
116 views
Hi there,

We need to support some customised formats for user to type in the input box. e.g. if I type a "+5" in the input box today (03/03/2010), it needs to be converted to 08/03/2010  (the 5th day from today's date).

We've tried to bind a converter to the datepicker, but it's too late as the input has already been updated by the default parsing logic. And the fact that having inputText as a private member is not helping either.

So, Is there a way to change/extend the datepicker's default inputbox text parsing mechanism? Thanks in advance.




Cheers,






Doots
Top achievements
Rank 1
 answered on 18 Jun 2012
1 answer
66 views
Hello support
i have problem to run telerik sample , i have send screen shot and zip file of the sample
i want to send the "DragAndDrop" smple how i do this?
please advice 
best  regards shimon
Dimitrina
Telerik team
 answered on 18 Jun 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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?