Telerik Forums
UI for WPF Forum
2 answers
185 views
Hi All,
I have inserted an image into RadRichTextBox...Can i access the path of this image, the location from where i inserted it? Is there some Property to access path of inserted image(s)?

Iva Toteva
Telerik team
 answered on 18 Oct 2011
1 answer
123 views
I am using SortDescriptor  for multi column sorting in TreeListView. My requirement is there is a context menu appearing on columns cells with option like "Sort Ascending" & "SortDescending". When user right click on any cell then i find the corresponding column and add to SortDescriptor. So now when i add the column to SortDescriptor then the column header is highlighted with a small tringle. This is working fine for multiple columns.

My Problem is suppose I have 10 columns out of which I have added three columns to SortDescriptor and now 3 column header are highlighted. This is done by right click context menu. Now user directly click on 4th column header to sort. In that case the previous 3 columns are removed from SortDescriptor automatically and the user clicked column only highlighted. In my case I need to show all those 4 columns highlighted with 4 values in SortDescriptor. Please help me how I will be able to do.

Thanks
Ivan Ivanov
Telerik team
 answered on 18 Oct 2011
1 answer
166 views
Hi,
we are evaluating RadRichTextBox at the moment, because we have some specifice requirements.

We wanna show a textbox where the user can enter simple text, but furthermore we have some custom links in the text. This links point to another item in our application.

This can look like this:

"[X] is doing [Y]" where [X] and [Y] are two links. The source of this links are simple Ids, but we also wanna shows some custom tooltip.

I guess that I can do this using a InlineUIContainer.
 
The second requirement is that we wanna support Intellisense for the links, how can we do this and is there any example for this requirement?
Boby
Telerik team
 answered on 18 Oct 2011
8 answers
119 views
Hi,
I've a bar graph which can contain from only one value to a hundred values and the bars and the axis labels are too small to be readable. So i've modified my xaml to use a scrollviewer but tha's not enough : the scrollbars appears too late; the axis label are still too small.
How can i change the threshold making the scrollbars visible ?
Sample
Thanks

- Cedric -

<telerik:RadChart x:Name="RadChart1" ItemsSource="{Binding Data}" UseDefaultLayout="False">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
  
                <Grid Grid.Row="1">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <TextBlock Text="{Binding ElementName=chartArea, Path=ActualWidth, StringFormat=AreaWidth \{0\}}"/>
                    <TextBlock Text="{Binding ElementName=chartArea, Path=ActualHeight, StringFormat=AreaHeight \{0\}}"
                               Grid.Column="1" />
  
                    <TextBlock Text="{Binding ElementName=RadChart1, Path=ActualWidth, StringFormat=WWidth \{0\}}"
                               Grid.Row="1" />
                    <TextBlock Text="{Binding ElementName=RadChart1, Path=ActualHeight, StringFormat=WHeight \{0\}}"
                               Grid.Row="1"
                               Grid.Column="1" />
  
                    <telerik:ChartLegend x:Name="legend"
                                         Grid.Column="2" Grid.RowSpan="2"
                                         ItemsPanelOrientation="Horizontal"
                                         BorderThickness="0"
                                         Padding="5,0"
                                         Header="" />
                </Grid>
                <ScrollViewer HorizontalScrollBarVisibility="Auto"
                              VerticalScrollBarVisibility="Auto">
                    <telerik:ChartArea Grid.Row="0"
                                       x:Name="chartArea"
                                       Legend="{Binding ElementName=legend}"
                                       EnableAnimations="False"
                                       Padding="5,10,20,10">
                        <telerik:ChartArea.AxisX>
                            <telerik:AxisX  />
                        </telerik:ChartArea.AxisX>
                    </telerik:ChartArea>
                </ScrollViewer>
            </Grid>
                  
            <telerik:RadChart.SeriesMappings>
                <telerik:SeriesMapping LegendLabel="Close"
                                       ChartAreaName="chartArea">
                    <telerik:SeriesMapping.SeriesDefinition>
                        <telerik:HorizontalBarSeriesDefinition ShowItemLabels="True" />
                    </telerik:SeriesMapping.SeriesDefinition>
                    <telerik:SeriesMapping.ItemMappings>
                        <telerik:ItemMapping FieldName="Name"
                                             DataPointMember="XCategory" />
                        <telerik:ItemMapping FieldName="Value"
                                             DataPointMember="YValue" />
                    </telerik:SeriesMapping.ItemMappings>
                </telerik:SeriesMapping>
            </telerik:RadChart.SeriesMappings>
        </telerik:RadChart>
Yavor
Telerik team
 answered on 18 Oct 2011
2 answers
124 views
On our RadMap we have some layers. The layers contain some objects/mapItems.
All these objects have tooltips and when moving the mouse over an object the cursor changes to a hand-cursor and the ToolTip shows..

This works fine.
But...
When ScaleVisibility = "Visible" this won't work for objects which are placed in the bottom of the map. Or you can say: it doesn't work for objects lying on or under the same height as the ScaleBar.
When ScaleVisibility = "Collapsed" all the objects are working OK.
Could this be a bug in the z-index of the Scalebar?

For your information:
     <DataTemplate.Triggers>
            <Trigger SourceName="pin" Property="IsMouseOver" Value="true">
                <Setter Property="Cursor" Value="Hand"/>
            </Trigger>
        </DataTemplate.Triggers>
Rieni De Rijke
Top achievements
Rank 1
 answered on 18 Oct 2011
1 answer
58 views
Is it possible that the RadMap.PanningFinished not only fires when the panning is finished?
In our application PanningFinished fires continously when you are panning (with the mouse)?

We have "SpringAnimation" set to "false"
The version we are using is: 2011.2.Sp1.Internal  2011.2.1010.40  Runtime Version: v4.0.30319


Andrey
Telerik team
 answered on 18 Oct 2011
3 answers
141 views
Guys, why there is not "IsTransitionChanged" event in transition control? WPF--- Change Notification. Anyone? That should have been one of the basic functional requirements for this control.
How can I detect when my views have successfully transitioned in place, relative easily without the use of PropertyDescriptors. 
Yana
Telerik team
 answered on 18 Oct 2011
2 answers
132 views
Hi telerik,

I have an application with dockable windows. to 'protect' windows that might be undocked during long-running operations, I have applied BusyIndicators to each individual window. The BusyIndicators are linked to a singleton viewmodel and it works perfectly.

As for the visual part of the BusyIndicator, I only want it in the main window.

Can you advice me on how to style the BusyIndicator on child windows to make the progress/busy indicator invisible?

Thanks,

Anders, Denmark
Anders
Top achievements
Rank 1
 answered on 17 Oct 2011
4 answers
184 views
Hi everyone!

I am trying to build a custom theme which is based on "OfficeSIlver" - or any other built-in theme... My first approach was to simply copy the according theme project to my solution and then run a "Search & Replace" to replace "Office_Silver" to "Office_Custom". I changed the "Build"-Settings of the project (assembly-name and default-namespace) accordingly.

Then I added a custom "Theme" class which derived from "Theme" and is named "Office_CustomTheme".
I referenced the new theme-project, instantiated the theme and set it as application-wide theme.

I get a LOAD of xaml-parsing-errors. Nothing seems to work right.
The least of my problems was the "external" namespace definition:
xmlns:external="clr-namespace:Telerik.Windows.Controls.External" 

 
(which just does not exist)

or some mysterious "external:Office_SilverThemeExternal":
x:Key="{telerik:ThemeResourceKey ThemeType=external:Office_SilverThemeExternal , ElementType=telerik:RadButton}"

After fixing that (renaming to my new local theme) still nothing works as expected, xaml-files are referenced but not found - if that is fixed some other obsucre errors pop up. After that I just gave up.

I am very disappointed - since telerik advertises that everything is easily and effortless to customize (in Blend even)
The documentation link that "should" probably describe how it is done the right way is down.

I would very much appreciate a step by step description on how to achieve this.

Thank you very much.

Kind regards,
Wolfgang

Sia
Telerik team
 answered on 17 Oct 2011
1 answer
203 views

I'm using the MVVM pattern to build an application. I have a GridView that shows a collection of ViewModels that are connected to entities. These entities have validation implemented in them.

 

All this works, and the grid indicates cells that have validation errors by giving them a red border.

 

It is possible for the entities to be edited in another place in my application while they are displayed in the GridView. When this happens, these entities will be reloaded in the GridView and validated again. This works and I have verified that the validation errors are set as they should.

 

However, the GridView doesn't show the validation error immediately. If a cell that is visible has an error, the red border is not displayed. But if I scroll the GridView so that the cell is no longer visible, and then scroll it back into view, the red border appears!

 

Somehow I need to tell the GridView to update the validation errors. How can I do that?

Yordanka
Telerik team
 answered on 17 Oct 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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?