Telerik Forums
UI for WPF Forum
3 answers
254 views

Hi,

     We are trying to expand RadComboBox using CUIT and UIAutomation. Both are throwing exceptions. The exception name is ElementNotAvailableException. In CUIT the inner exception name is InvalidOperationException. Is there any way to perform expand operation on RadComboBox without getting exceptions?.Any help to solve this problem is greatly appreciated.

Regards,

Nagasree.

Georgi
Telerik team
 answered on 22 Mar 2016
1 answer
322 views

Hello:

We are unable to vary the height of the bar series even though the below property is given properly. The bar series height and width gets adjusted by itself.
The objective is the height of the Chart should remain same as well as the bar inside of it. When only one bar for example, the width of the bar should not auto adjust to be fat. 

  <telerik:RadCartesianChart Palette="Windows8"
                                           Grid.Row="1"
                                           Grid.Column="0"
                                           Grid.ColumnSpan="2"

                                           Margin="0,0,0,-205">
                    <telerik:RadCartesianChart.HorizontalAxis>
                        <telerik:LinearAxis Title="Days" />
                    </telerik:RadCartesianChart.HorizontalAxis>
                    <telerik:RadCartesianChart.VerticalAxis>
                        <telerik:CategoricalAxis />
                    </telerik:RadCartesianChart.VerticalAxis>
                    <telerik:RadCartesianChart.Series>
                        <telerik:BarSeries PaletteMode="DataPoint"
                                           ShowLabels="True"
                                           ItemsSource="{Binding LstRunningBatch}"
                                           CategoryBinding="BatchId"

                                           MinWidth="10"
                                           Width="15"
                                           MaxWidth="20"

                                           MinHeight="10"
                                           Height="150"
                                           MaxHeight="20"

                                           ValueBinding="TotalDays">
                        </telerik:BarSeries>
                    </telerik:RadCartesianChart.Series>
                </telerik:RadCartesianChart>



Dinko | Tech Support Engineer
Telerik team
 answered on 22 Mar 2016
3 answers
191 views

Hi Telerik,

I am trying to figure out if there is a way to make the timeline view display as a calendar.  See the attached for what I'm wanting to do.

The main difference between this and the regular month view is that I want the events to be positioned on the calendar horizontally such that their position indicates their start and stop time.

How would I go about doing this?  Can you please post an example?

 

Thank you so much for your help.

Yana
Telerik team
 answered on 22 Mar 2016
1 answer
322 views

I tried to move my Grid Columns Content to a separate ResourceDictionary and it works for the first part  the "GridViewDataColumn" not perfectly i expect

but

a) not for the GridViewCheckBoxColumn , do you have a suggestion how to do this ?

b) and 2nd i used the common "TextBox" for the GridViewDataColumn (child control) but which Control should i use if i want the Telerik Standard Control  which is normaly used in the GridView ? if i add

    <t:GridViewDataColumn Header="VALID" ...

    it want work , vs designer tell me that it could not found it

 

thanks br

 

<telerik:GridViewDataColumn Header="XNAME" CellEditTemplate="{StaticResource ClaimListNameDataTemplate}" CellTemplate="{StaticResource ClaimListNameDataTemplate}"/>

<telerik:GridViewCheckBoxColumn Header="VALID" DataMemberBinding="{Binding IsValidYn, Mode=TwoWay}"  AutoSelectOnEdit="True" EditTriggers="CellClick" Width="75*"
                                                CellTemplate="{StaticResource ClaimListValidDataTemplate}" CellEditTemplate="{StaticResource ClaimListValidDataTemplate}"
                                                >
                    <telerik:GridViewCheckBoxColumn.CellStyle >
                        <Style TargetType="telerik:GridViewCell" BasedOn="{StaticResource CenterCheckBoxColumnCellStyle}">
                            <Setter Property="HorizontalContentAlignment" Value="Center" />
                        </Style>
                    </telerik:GridViewCheckBoxColumn.CellStyle>
</telerik:GridViewCheckBoxColumn>

 

IN RESOURCEDIRECTORY

 

 
<ResourceDictionary x:Class="Application.Views.ClaimListResourceDictionary"
                    xmlns:local="clr-namespace:Application.Views"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:t="http://schemas.telerik.com/2008/xaml/presentation"
                    xmlns:tg="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
                    >
    <DataTemplate x:Key="ClaimListNameDataTemplate" DataType="{x:Type local:ClaimList}">
        <StackPanel Orientation="Vertical" Background="Brown">
            <Image Height="50" Width="50" HorizontalAlignment="Center" Source="/GapJunctionApplication;component/Images/Refresh2.png"/>
            <TextBox HorizontalAlignment="Stretch" BorderThickness="0" SelectionBrush="Green" BorderBrush="Black" Text="{Binding name_nam, Mode=TwoWay}" TextAlignment="Right"/>
            
        </StackPanel>
    </DataTemplate>

    <DataTemplate x:Key="ClaimListValidDataTemplate" DataType="{x:Type local:ClaimList}">
        ???
    </DataTemplate>

</ResourceDictionary>

 

 

 

 

Stefan
Telerik team
 answered on 22 Mar 2016
1 answer
291 views

Hi Telerik,

I have some hiarchial data and I want to allow the user to pick an item from it when editing a gridview cell.  How do I do that?

I basically want to do this:

http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/how-to/grid-with-treeview-and-combobox-editors

but with WPF.

Thanks a ton,

 

Stefan
Telerik team
 answered on 22 Mar 2016
2 answers
222 views

Hi,

I try to create a document (with the rich text editor UI, not by code) that contains a table of content which shows the heading numbers like in the attached sample from MS Word.

I'm using release 2015.1.401.40 of the WPF controls.

 

Thank you.

Boby
Telerik team
 answered on 22 Mar 2016
4 answers
156 views

If the user changes the input box to an invalid date and then loses focus, the input box is cleared.  However, the bound data still has the original valid date.

I need the input box to reflect the data it is bound to.

Kalin
Telerik team
 answered on 22 Mar 2016
3 answers
219 views

My chart having step line series along with data point highlighting based on conditions.I would like stretch height and width of point template to occupy all the space.I am facing issue With the rectangle fixed size height and width , it is not aligning properly during zooming.Please see attached..

1.I need to auto adjust or stretch height and width of point template to along with particular line height and width. 

2.How can i access relative parent point template ?

 

 

 

Sivakumar
Top achievements
Rank 1
 answered on 22 Mar 2016
2 answers
130 views

I use DragAndDrop behavior on gridview  to realize change two rows position , when the rows is many, the scrollview show, it is inconvenient  to  drag a row to top or bottom.

 is any method to let the scrollviewer scroll when drag a row out of the top or bottom?

thanks!

rui
Top achievements
Rank 1
 answered on 22 Mar 2016
1 answer
433 views

Hello,

There easy/fast way to develop Prompt window with combobox and disabled Accept button until there is selected value in combo? Need returned OK/cancel and selected value. Is that  possible? something like:

DialogResult dialog_result;
ComboboxDialog cbd = new ComboboxDialog();
dialog_result=  cbd.ShowDialog();
 
if (dialog_result == DialogResult.Ok)
{
    cbd.SelectedValue...
}

 

Thanks! 

Yana
Telerik team
 answered on 21 Mar 2016
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?