Telerik Forums
UI for WPF Forum
1 answer
175 views

Is there a way to have the step change do a transition when the page is changed (for example, a new page slides in from the right, going back slides in from the left)?

 

Thanks,

Brian

Stefan Nenchev
Telerik team
 answered on 04 Apr 2016
1 answer
242 views
Hi i have a RadGridview bound with datatable/observable collection of model class.Now what i want when user clicks on export button it should export only selected rows from grid not all rows.
Stefan
Telerik team
 answered on 01 Apr 2016
4 answers
1.2K+ views

Hello Telerik,

I am trying to customize a RowStyle, depending on what comes from the database.

My first attempt is very simple, but I am getting this error when running

An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll
Additional information: 'DataGridRow' TargetType does not match type of element 'GridViewRow'.

 

the error makes sense, since telerik GridView is something different than a DataGrid

but I am trying to implement the same approach.

I think it will be more clear when you see my code below:

<telerik:RadGridView Name="RadGridView"  ItemsSource="{Binding View}" Style="{StaticResource VitorStyle}"   AutoGenerateColumns="False">

<Style x:Key="VitorStyle" TargetType="telerik:RadGridView" >
         
        <Setter Property="RowStyle">
            <Setter.Value>
                <Style TargetType="DataGridRow">
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding Name}" Value="Anastacia Santana">
                            <Setter Property="Background" Value="Red"></Setter>
                        </DataTrigger>
                        <DataTrigger Binding="{Binding Name}" Value="Ana Taylor">
                            <Setter Property="Background" Value="DarkOrchid"></Setter>
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </Setter.Value>
        </Setter>
    </Style>

As a kickoff test, I would like all Anastacia Santana rows to be RED and all Ana Taylor to be DarkOrchid.

My following tests should envolve a bit wether it is true or false, or a sum result wether it is positive or negative.

 

Can you please show me the best way to achieve this?

as a side note, I would like to keep my XAML as clean as possible. Thus the use of the resource file

 

Thank you very much!

 

Stefan Nenchev
Telerik team
 answered on 01 Apr 2016
1 answer
134 views

Hi,I'm currently working with all MailMerge Documents. Is there a way to grab the Mail Merge document value without disrupting the UI thread. 

 

this.radRichTextBox.Document.MailMergeDataSource.MoveToIndex(index);

 

 

this.radRichTextBox.Document.MailMergeDataSource.MoveToIndex(counter);
this.radRichTextBox.Document.MailMergeDataSource.MoveToIndex(counter);

 

 

 

 

Tanya
Telerik team
 answered on 01 Apr 2016
4 answers
185 views

Hello,

I've been working with the Chartview lately, and have a chart with a datetimecategorical axis, that utilizes a chartdatasource to group datapoints when the chart is zoomed out. My problem is that the default aggregation function being applied takes the average of grouped datapoints, and I am looking for the sum. To my knowledge there is no sumfunction of type ChartAggregateFunction, and very little information detailing how I go about creating a custom function to gain that functionality.

I was wondering if you could show me an example detailing how to go about solving my problem.

Anders Abildgaard
Top achievements
Rank 1
 answered on 01 Apr 2016
4 answers
203 views

Hi 
I need to implement RadComboBox Autocomplete after 2 chars entered..

After I enter the second char it removes the first char and shows the popup (see attachment).
Any ideas how to handle this ?

Codebehind:

 

1.private void RadComboBox_KeyDown(object sender, System.Windows.Input.KeyEventArgs e)
2.{
3.      var combo = sender as RadComboBox;
4.      if (!combo.IsDropDownOpen && combo.Text?.Length >=1)
5.         {
6.           combo.IsDropDownOpen = true;
7.         }
8.}

 

XAML:

 

01.<telerik:RadComboBox ItemsSource="{Binding PickTickets}"
02.                        DisplayMemberPath="PickTicketIdentity"
03.                        EmptyText="Please select a pick ticket"<br>
04.                        IsEditable="True"
05.                        IsFilteringEnabled="True"
06.                        TextSearchMode="Contains"
07.                        CanAutocompleteSelectItems="False"
08.                        StaysOpenOnEdit="True"
09.                        SelectedItem="{Binding SelectedPickTicket}"
10.                        KeyDown="RadComboBox_KeyDown"/> 

iahulg
Top achievements
Rank 1
 answered on 31 Mar 2016
2 answers
69 views

Hi,

I really like Visual Studio example from Telerik. When I play with the example I see that when I have floating document and double click window title it does not maximize to full screen. What's even worse, the window is cut off. See the screens.Unfortunately, I have the same effect in my application.

Maciej
Top achievements
Rank 1
 answered on 31 Mar 2016
1 answer
131 views

I just updated my Telerik Control panel, when I look at the demo charts, I don't see Spline chart anymore.  Is it still support?

Thanks

Martin Ivanov
Telerik team
 answered on 31 Mar 2016
1 answer
78 views
in attached screenshot, there is no data for PreviousDay for '3/26/2016', but tooltip on first bar is showing 'Previous Day : 0'. Tooltip should not be displayed when there is no data for corresponding legend item, please guide how can we remove additional tooltip showing 0 values (which is not required).
Martin Ivanov
Telerik team
 answered on 31 Mar 2016
0 answers
104 views
Hi,

I'm looking to populate an Avery label template, may I ask how would I do that with the richtextbox? 
 
Minh
Top achievements
Rank 1
 asked on 30 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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?