Telerik Forums
UI for WPF Forum
1 answer
145 views
Is there any way to have the dropdown control be enabled even if the Command it is bound to disables the button in CanExecute?
Tina Stancheva
Telerik team
 answered on 29 Jun 2011
12 answers
176 views
Hi,

is there a method to determine the current screen position (e.g. relative to the control) for a given time value? We need to draw some adorning visuals (lines) to show the current time.

Thanks,
Alexander
Alexander
Top achievements
Rank 1
 answered on 29 Jun 2011
0 answers
62 views
Hi support,

I want to show telerik version in one label, how I can show it?

Please guide me with some code examples.

thanks,
Vivek
Vivek
Top achievements
Rank 1
 asked on 29 Jun 2011
4 answers
99 views
Hi,

This is really urgent.

I want to maintain the selection of the item of carousal after its rebound or refreshed.

PLease find the code below which is not working;

int

 

iSelIndex = rdcTasks.Records.IndexOf(rdcTasks.SelectedRecord);
this.rdcTasks.ItemSource = list;

 

RadCarouselPanel

 

panel = this.rdcTasks.FindCarouselPanel();

 

panel.BringDataItemIntoView(rdcTasks.Records[iSelIndex]);

 

this.rdcTasks.Records[iSelIndex].IsSelected = true;

I have tried other properties like currentItem & Currentrecord but no gain.

REgards,
S

 

sridhar
Top achievements
Rank 1
 answered on 29 Jun 2011
4 answers
1.3K+ views

Hi Telerik team,

I am  trying to change the colour of the row border conditionally by following style settings. But I am unable to view the coloured border unless I change the value of the row border thickness to some value greater than 0. But increasing the row border thickness , increases the gray colored gap between rows.

Is there any other approach than can help change the colour of the gidview row border without changing the row border thickness i.e using the default border settings.

 

<telerik:RadGridView x:Name="radgvActivity" 
                             Grid.Row="2"
                             Margin="0" 
                             IsReadOnly="False"   RowIndicatorVisibility="Visible"                                                             
                             ScrollMode="RealTime" AutoGenerateColumns="False" 
                             EnableRowVirtualization="True"
                             CanUserFreezeColumns="False" CanUserResizeColumns="True" Width="780" Height="600"
                             BeginningEdit="radgvActivity_BeginningEdit"
                             RowEditEnded="radgvActivity_RowEditEnded">   
            <telerik:RadGridView.Resources>
                <Style TargetType="{x:Type telerik:GridViewRow}">
                    <Setter Property="BorderThickness" Value="1"></Setter>
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding Path=ActType}" Value="4">
                            <DataTrigger.Setters>
                                <Setter Property="BorderBrush" Value="Red" />
                            </DataTrigger.Setters>
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </telerik:RadGridView.Resources>

 

Many Thanks !!

Regards,
Mausami

Mausami
Top achievements
Rank 1
 answered on 29 Jun 2011
1 answer
317 views
Hi,

i'm using a RadGridView and now i want to use a RadDataPager like this:

 <telerik:RadDataPager PageSize="100" Grid.Row="1" Source="{Binding Items, ElementName=GridView}" IsTotalItemCountFixed="True" DisplayMode="FirstLastPreviousNextNumeric, Text" />

but i get the message:
..RadDataPager ist not found...

but why?

THanks
REgards
Rene
Milan
Telerik team
 answered on 29 Jun 2011
1 answer
110 views
Hi - I have followed the Tree View styles customization from http://www.telerik.com/help/wpf/radtreeview-styles-and-templates-templated-nodes.html and it works just great.

I've now introduced a DataTemplateSelector that picks between one of the two HierarchicalDataTemplate that I have in my control's resources.

My problem is that once I introduce the DataTemplateSelector none of the styles or control templates that I have set up are applied. Is this a known issue? I tried putting

template.ItemContainerStyle = frameworkElement.FindResource("TreeViewItemStyle") as Style;
into my template selector but it did not seem to have any effect. Note that if I set ItemTemplate="{StaticResource blah}" instead of ItemTemplateSelector="{StaticResource selector" things works fine. Thanks
Petar Mladenov
Telerik team
 answered on 29 Jun 2011
1 answer
123 views
I am using a bar chart where I need to show a unit bar if a certain value is 1 and nothing if a value is 0. The ticks need to show a categorical label Present or Not Present. How can I achieve this?

Thanks.
Nikolay
Telerik team
 answered on 29 Jun 2011
3 answers
305 views
My Requirement is I want add Image for RadComboBoxItem from static folder.
The following was my code.

<
telerik:RadComboBox Name="Salutaion" Grid.Column="4" Width="75" Grid.Row="0" HorizontalAlignment="Left"
 IsEditable="True" IsReadOnly="True"  telerik:StyleManager.Theme="Office_Blue"
 ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Clear">
<telerik:RadComboBoxItem Content="Male"/>
<telerik:RadComboBoxItem Content="Female"/>
</telerik:RadComboBox> Thanks and Regards Naresh Mesineni
Yana
Telerik team
 answered on 28 Jun 2011
0 answers
96 views
Hi,

GridView with XML works fine...

                                                                <Grid.Resources>
                                                                    <XmlDataProvider x:Key="MODSource" Source="settings\module.xml" XPath="//Attributes/Attribute[@AttributeGroup='Template']"></XmlDataProvider>
                                                                </Grid.Resources>
                                                                <telerik:RadGridView Visibility="Visible" Name="radGridView1" AutoGenerateColumns="False" ItemsSource="{Binding Source={StaticResource MODSource}}" ShowGroupPanel="False">
                                                                    <telerik:RadGridView.Columns>
                                                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding XPath=ContentAttribute[@AttributeName\=\Name] }" Header="Name">
                                                                            <telerik:GridViewDataColumn.CellTemplate>
                                                                                <DataTemplate>
                                                                                    <ContentControl Content="{Binding XPath=ContentAttribute[@AttributeName\=\'Name\']}">
                                                                                    </ContentControl>                                                                                       
                                                                                </DataTemplate>
                                                                            </telerik:GridViewDataColumn.CellTemplate>
                                                                        </telerik:GridViewDataColumn>                                                                      
                                                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding XPath=ContentAttribute[@AttributeName\=\Version] }" Header="Version">
                                                                            <telerik:GridViewDataColumn.CellTemplate>
                                                                                <DataTemplate>
                                                                                    <ContentControl Content="{Binding XPath=ContentAttribute[@AttributeName\=\'Version\']}">
                                                                                    </ContentControl>
                                                                                </DataTemplate>
                                                                            </telerik:GridViewDataColumn.CellTemplate>
                                                                        </telerik:GridViewDataColumn>
                                                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding XPath=ContentAttribute[@AttributeName\=\beschr] }" Header="Beschreibung" Width="*">
                                                                            <telerik:GridViewDataColumn.CellTemplate>
                                                                                <DataTemplate>
                                                                                    <ContentControl Content="{Binding XPath=ContentAttribute[@AttributeName\=\'beschr\']}">
                                                                                    </ContentControl>
                                                                                </DataTemplate>
                                                                            </telerik:GridViewDataColumn.CellTemplate>
                                                                        </telerik:GridViewDataColumn>
                                                                    </telerik:RadGridView.Columns>
                                                                </telerik:RadGridView>

But how can i add a boolean Column out of my xml file: <ContentAttribute AttributeName="Aktiv">Ja</ContentAttribute>


Thanks
Regards
Rene
ITA
Top achievements
Rank 1
 asked on 28 Jun 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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?