Telerik Forums
UI for WPF Forum
1 answer
131 views

Hello

I want to make carousel items 100% width, but unable to achieve that. Any help would be appreciated.

Here's the code

  <Grid>
<Grid.Resources>
<DataTemplate DataType="{x:Type local:XTraItem}">
<Grid Grid.Column="0" Grid.Row="0" Width="1000">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100"/>
<ColumnDefinition Width="900"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition/>
</Grid.RowDefinitions>

<Image Source="{Binding Path=ImageURI}" Grid.Column="0" Grid.Row="0" />
<TextBlock Text="{Binding Path=Name}" Foreground="AliceBlue" Grid.Column="1" Grid.Row="0" />
</Grid>
</DataTemplate>
</Grid.Resources>
<telerik:RadCarousel x:Name="XTraCarousel" AutoGenerateDataPresenters="False" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>

Milan
Telerik team
 answered on 10 Feb 2009
3 answers
611 views

Hello,


I have the following requirements/queries regarding the grid:

1) How easy is to accommodate other controls (like combobox,textbox,maskedtexbox) in the cell.

2) How easy is to template grid/cell/datarow

3) Binding with observable collection

4) What about validation, do we have any numeric text box, date time picker, ip address text box support.

5) Can we template grouping row.

6) Triggers/Data triggers/Multi triggers support

7) Icon/Card view support

8) Read only level (I.e. it should be at cell, column, row level)

9) Selective sorting support (i.e. can we specify which column to sort and which to not)

10) Does column adjust its width according to data content.

11) Templating datarow/datacell (for ex. Placing image in place of text content) is possible or not.

12) Inplace editing with two way binding.

13) Selective readonly support (i.e. can we specify which column should be readonly and which should not)

14) Can we get cell validation exception so that we can handle it accordingly.

15) In case the validation fails at certain cell does the focus remain on the same cell.

16) Validation exception - can we get them on grid lost focus.

17) Do we have support for events like – grouping, sorting, gridlostfocus, Celllostfocus, rowlostfocus,mouse events at cell/row/grid level etc.

18) Add new row support.

19) Support for deferred/Immediate scrolling.

20) Do we have automatic support for checkbox column (ie. If we bind a column to bool field then automatic checkbox should appear in that column, if not how to place checkbox in a clolumn bound to a bool field)

21) Can we template header row to say have a checkbox in header row to select all checkboxes of all the rows

22) Do we have support for fixed header and footers.

23) Number of themes available.

24) Do we have sample that shows ip address masking in the cell.

25) Context menu on grid rows.

26) Do we have functions to get object/item from the row/container and vice versa

Please suggest me how to achieve above requirements, a sample code will certainly help in meeting this requirements and preparing a demo application.

It will be helpful if you answer the queries with a yes/no.

Thanks in advance

 

 

 

Prash
Top achievements
Rank 1
 answered on 10 Feb 2009
1 answer
146 views
When I am trying to bind the grid by itemSource then i get the following exception

Method not found: 'System.Windows.Threading.DispatcherOperation System.Windows.Threading.Dispatcher.BeginInvoke(System.Delegate, System.Object[])'

Please suggest the cause and the solution.
Thanks and regards
Stefan Dobrev
Telerik team
 answered on 09 Feb 2009
3 answers
308 views
Hi,
 I want custom context menu for parent and child node. I am binding my tree with a collection in code behind. How can I achive my goal?
 
Tihomir Petkov
Telerik team
 answered on 09 Feb 2009
1 answer
140 views
Hi,
Is there any way to get the selected node in the tree(WPF). I want to get the selected item(node) when I click on the context menu.
I want ot add a node in the tree dynamically on selection of new from the context menu. 
Tihomir Petkov
Telerik team
 answered on 09 Feb 2009
9 answers
916 views
Hi,
I am evaluating Rad controls for WPF (RadGridView and few other controls) to use in our project, also had a look at the samples provided along with the evaluation download. I have few queries,
#1. We would be displaying a Summary Row (Frozen row) at bottom of the grid visible area, which is used to display the sum of the values being displayed in that particular column.
#2. Export the grid data(including summary row) in to Microsoft Office Excel file
#3. I would like to customize the gridview's look and feel
 -- remove the RowHeader column, the very first tiny column
 -- remove the curved finish for the last column header

Let me know if these are possible in Rad GridView?

--Dhana
Nedyalko Nikolov
Telerik team
 answered on 06 Feb 2009
1 answer
213 views
Hi,
I am binding my tree with the collection.

 


Now while adding an item to the tree view I want to set the header and the name of the Item node. 

Currently I am able to set the header of the item added but when I try to set the name I get an error. 

RadTreeViewItem
objRadItem;

 

 

 

 

objRadItem.Items.Add(

new RadTreeViewItem()

 

{

Header = "Harsh",

 

//Name = Convert.ToString(12)

 

 

 

});

How can I set the name of an item added?

 

Tihomir Petkov
Telerik team
 answered on 06 Feb 2009
0 answers
148 views
Is it possible to customize the xaxis labels?

We have a line series mapped from a linear (0 to 6) xaxis to a logarithmic scale.
The axis values go from 0 to 6, but we need the labels on the axis to reflect the custom scale. i.e. 0 would be the label "125 Hz", 1 would be the label "250 Hz", etc.

Is there any way to do this?

Thanks!

Please Disregard, the answer was posted in x-axis-as-a-string
John McElroy
Top achievements
Rank 1
 asked on 05 Feb 2009
4 answers
196 views
Hi,

I have two major problems - one is partial solved via setting IsLabelRotated to false.
The other is really a problem and I couldn't find anything in the documentation.

First of all -- is it possible to rotate all labels "Inside out".
Your kind of "auto rotation" is quite a bit irritateing :)

What I get - on a scale 0 - 100 with 10 is.
0, 10, 20 is "outside in" 30 to 70 is "inside out" and finally 80, 90 and 100 is again (in the oposite direction)
"outside in".
What I simply want is all inside out -- like with the radial (first) here http://www.david-black.info/bashboard/default.aspx

BUT: without rotation it is not exaxtly what I want - but at least "readable" - so not that problem.

The second thing is much more imporatant.
I display a value in the range from 0 to 255.
So it would be nice to have labels at 0, 20, 40, 60,....200, 220, 240, 255
All I found was "MajorTicks" which give me labels like 21, 43, 64... with 12 as value,
or 26, 51, 77... and so on if I keep the default of 10.

I was looking for something like "TickDistance" or "TickFrequency" -- but all I found was "MajorTicks"
which is an integer divider -- not really usefully for numbers like mine.
Of course it would work with 260 - and 13 --- but my users would be a bit irritatied if a display for an 8 bit A/D converter
shows number bigger than 255 :)

Waiting for you help

Manfred
Vlad
Telerik team
 answered on 04 Feb 2009
1 answer
151 views
Hi,
   I am using expanded event of the WPF Treeview to populate children of the parent node when the parent node is clicked.

I am binding my treeview with the collection. Collection has 2 things
a. Name
b. Commodity

On page load:

this

.RadTreeView.Items.Add(new RadTreeViewItem()

 

{

Header = "Name"

 

});

 

this.RadTreeView.Items.Add(new RadTreeViewItem()

 

{

Header = "Commodity"

 

});

Now I want to show the children under commodity on click of commodity (parent node).

 

private

void RadTreeView_Expanded(object sender, Telerik.Windows.RadRoutedEventArgs e) { 

 

 

 

 

 

RadTreeView objRadTreeView = sender as RadTreeView;

 

 

 

RadTreeViewItem objRadItem = e.OriginalSource as RadTreeViewItem;

 

 

 

CommodityCollection objCommodityCollection = this.CommodityCollection;

 

 

 

 

for (int i = 0; i < objCommodityCollection.Count; i++) {

 

 

 

 

 

 

objRadItem.Items.Add(

objCommodityCollection[i].CommodityName);

 

 

 

    }
}

 

Now the issue is when I run the application, as currently there are no child for commodity I am not getting expand icon on the left side of commodity (when the page is loaded) because of which Expanded event is not called.

How to resolve this issue?

 

 

 

Tihomir Petkov
Telerik team
 answered on 03 Feb 2009
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?