Telerik Forums
UI for WPF Forum
4 answers
245 views
Hi,

I want the carousel to stop scrolling left when the first item is in the centre of the screen (the topmost item).
I also want the carousel to stop scrolling right when the last item is in the centre of the screen (the topmost item).

Currently, you can continue scrolling left/right until the first or last item is on the extreme left or right of the screen.

Is there anyway to do this?

Also, is there anyway of setting the carousel to wrap around when you come to the end of the items?

Thanks
Jonah
Top achievements
Rank 1
 answered on 17 Dec 2012
2 answers
161 views
Hi,

I am wanting to modify the background color of the hierarchychildTemplate but can't find the relevent style property. I tried wrapping the datatemplate in a grid and give the grid a different background style but unfortuntely this does not fill the entire template even with negative margins.

Could you please provide me with a solution.

Much appreciated.
Trevor
Wade
Top achievements
Rank 1
 answered on 17 Dec 2012
0 answers
69 views
Hi

How can i set expression on individual cell. Senario is like excel. With GridviewExpression column expression can be set. However i can set it on each individual cell.

Example Formula:

Cell 2 = Cell 1 * 10
Cell 3 = Cell 1 * Cell 0


Regards
Ilias Hossin
Ilias
Top achievements
Rank 1
 asked on 17 Dec 2012
2 answers
128 views
Hi

I need to generate WPF grid with

1. Grow column Dynamically
2. Column can be grouped.
3. Column type may be different for different row. Might be textbox, combo or label.

See the attachment for sample.

Regards
Ilias Hossain
Ilias
Top achievements
Rank 1
 answered on 17 Dec 2012
0 answers
171 views
Hi,

I've loaded a word document into my RadBook which is integrated with a RichTextBox.
Book's FlowDirection property is set to RightToLeft but the text inside the document appears LeftToRight!
In Word, Doc's text is right to left.

Problem is shown is attached image.

Any Idea?
Thanks.
Tooraj
Top achievements
Rank 1
 asked on 17 Dec 2012
0 answers
89 views
Hello!
In my application I'm trying to get data from a RadGridView in my code behind. Everything is ok if I bind the grid directly from entity data model with just a table, because this code works fine:

Example:

Dim idordine As String = DirectCast(testGrid.SelectedItem, Orders).OrderID


In my application I binded my grid with a linq query and my testgrid(radgrid) correctly shows results.
This is a linq query like the one in my project, used to bind my radgrid:

Dim query = From employee In employees Join order In orders On employee.EmployeeID = order.EmployeeID
Select New With { _
    .EmployeeName = employee.LastName, _
    .OrderName = order.ShipName, _
    .OrderDate = order.OrderDate _
}
testGrid.ItemsSource = query
 
 
        Me.Griglia.ItemsSource = qry


My problem raises in code behind when I try to retrieve data of the selected row of my testgrid after a double-click event.
Using the first method I have to assign a type for the directcast, but in case of binding with the query I have no idea of what kind of object to put instead of Orders type.

Any suggestion?

BestRegards



CQT
Top achievements
Rank 1
 asked on 17 Dec 2012
2 answers
250 views

Hi,

Is there an option to use RadCartesianChart with zoom capability on the X axis in a way that when the zoom/pan had changed the Y axis will fit its min and max values automatically?

If not, How can I get which parts of the series is visible on the chart, so I can calculate Y values by myself?

Thanks.

Rotem
Top achievements
Rank 1
 answered on 17 Dec 2012
1 answer
179 views

Dear all,

I want to drag items from one listbox to another. The drag seems to work fine, but the target listbox doesn't get updated with the new item. I do notice that, once dropped, the item is removed from the source list. I try to do stuff declaratively (XAML) as much as I can

Here's the XAML for the enabling of dragging.

<Window.Resources>
        <!-- Make "ViewModel" represent an instance of ViewModel-->
        <local:ViewModel x:Key="ViewModel"/>
        <Style x:Key="DraggableListBoxItem" TargetType="telerik:RadListBoxItem">
            <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True" />
        </Style>
</Window.Resources>

Here's where I display my listboxes

<Grid x:Name="_grid" HorizontalAlignment="Left" Height="436" Margin="10,10,0,0" VerticalAlignment="Top" Width="1297" DataContext="{Binding Source={StaticResource ViewModel}}">
<telerik:RadListBox HorizontalAlignment="Left" Margin="10,48,0,0" VerticalAlignment="Top" Width="106" Height="306" ItemContainerStyle="{StaticResource DraggableListBoxItem}"
ItemsSource="{Binding Segments.AllSegments}" DisplayMemberPath="Code">
<telerik:RadListBox.DragDropBehavior>
<telerik:ListBoxDragDropBehavior />
</telerik:RadListBox.DragDropBehavior>
<telerik:RadListBox.DragVisualProvider>
<telerik:ScreenshotDragVisualProvider />
</telerik:RadListBox.DragVisualProvider>
</telerik:RadListBox>
<telerik:RadListBox HorizontalAlignment="Left" Margin="133,48,0,0" VerticalAlignment="Top" Width="205" Height="306"
ItemsSource="{Binding Segments.SelectedSegments}" DisplayMemberPath="Code" AllowDrop="True">
</telerik:RadListBox>
</grid>
</Window>

For your information: My main ViewModel exposes another viewmodel called Segments which has 2 ObservableCollection<> properties, called AllSegments and SelectedSegments. Both contain the same data type (a viewmodel called Segment).

I was under the impression that I can implement this d&d fully declaratively, since there's no need for data conversion. (Both viewmodels accept the same data type). But the SelectedSegments ObservableCollection is never updated when I drop an item on the target listbox. What am I missing here?

Thanks for responding.

Regards,
~Rob 

Vladi
Telerik team
 answered on 17 Dec 2012
1 answer
102 views
Hi All,

I have gridView and I want to change the color of filtered column indicator icon (see attachment). The default indicator color cannot be seen easily. I want to change it to some bright color so that the user can see it easily.

Any kind of help is appreciated.
Ivan Ivanov
Telerik team
 answered on 17 Dec 2012
3 answers
47 views
I'm using a TransitionControl that transitions to a view which uses a RadialGauge with a RadialScale that has IsInteractive set to True. Whenever I load that view, a COMException is thrown with HRESULT 0x88980406. Seems to be related to bitmap rendering in some capacity. The exception is one that appears to be a known bug in .Net, but previous versions of RadControls haven't had this issue.

Andrey
Telerik team
 answered on 17 Dec 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?