Telerik Forums
UI for WPF Forum
1 answer
159 views
Hi,

is it possible to pre-select the destination-folder on saving a document in the richtextbox by code?

Background:
For Each Project in my Application i have to create a Folder (d:/Projects/Holiday_2012/Docs/). After opening a project in my
application the user could create a document in the richtextbox. If the user wants so save the document the Dialog should open
in the wright Destination Folder.

SOLVED !!!!!

Thanks
Regards
Rene
Iva Toteva
Telerik team
 answered on 26 Jun 2012
1 answer
174 views
Using 2012.2.607.40 I receive an exception, "Cannot locate resource 'themes/genericmetrotouch.xaml'", in the VS 2010 Xaml designer when a RadNumericUpDown control is included in the form.  I've included a screenshot of the exception.  There is no exception when running the app, or if I display the form in Blend.
Thanks,
Steve
Dani
Telerik team
 answered on 26 Jun 2012
3 answers
139 views
Hi,

I have read an article where the when we use the rad pane to float. It uses FloatingOnly.  Is there a way to override this menu to use the method MakeFloatingDockable instead of MakeFloatingOnly

Also how would you re-dock a floating window from code.
Konstantina
Telerik team
 answered on 26 Jun 2012
3 answers
189 views
I need to make an hierarchical tree bound to an entity model. Shall I use a RadEntityFrameworkDataSource? Do you have any examples?
 
Eliyahu Goldin
Top achievements
Rank 1
 answered on 26 Jun 2012
1 answer
294 views
I'm trying to make a custom theme for the RadTimeline. 

Im my custom theme, I want to wrap a ScrollViewer around the Timeline's TimelineItemContainer just like described in this post: http://www.telerik.com/community/forums/silverlight/timeline/vertical-scrollbar-scrollviewer-and-radtimeline.aspx 
and I want to remove the horizontal scrollbar of the control (the RadSlider at the bottom).

I've tried to create a custom theme using the approach described here:
http://www.telerik.com/help/silverlight/common-styling-apperance-themes-custom-theme-project-telerik-approach.html 
(albeit the documentation is for Silverlight, couldn't find anything similar for WPF)
and I've also had a look at the sample project here:
http://www.telerik.com/community/forums/wpf/general-discussions/how-can-i-create-a-custom-theme-for-wpf-application.aspx 

I couldn't manage to get the theme working.
I'm not sure if I made everything right in the theme project - especially the following things in the XAML of my custom theme:
  •  <my:MyTheme x:Key="Theme" />
  • The many references to ThemeType=telerik:Office_BlackTheme
  • content of Generic.xaml
  • declaration of MyTheme class
Basically, I've just copied the file C:\Program Files (x86)\Telerik\RadControls for WPF Q1 2012 SP1\Themes\WPF40\Windows7\Themes\Telerik.Windows.Controls.DataVisualization.xaml which contains the style for RadTimeline to my CustomTheme project and modified the style there. I'm not quite sure, if that was correct, or what I've done wrong.


Actually, it doesn't have to be a whole custom theme, I just want to change the style of RadTimeline like described above. So, my first try was to edit the style using Expression Blend. I selected the RadTimeline and chose: Edit Template --> Edit a Copy. This alone shouldn't change the style at all, shouldn't it? But instead, the whole control is white/transparent - please see the attached files before_edit_template.png and after_edit_template.png. I expect it to look exactly the same as before calling Edit Template --> Edit a Copy. Why isn't it?

Here (http://johannes.unterguggenberger.info/TimelineCustomTheme.zip) is a Solution which contains 2 Projects: A custom theme project and a project which uses the custom theme (at least tries to) to change the style of a RadTimeline. Maybe someone could have a look at it and maybe tell me, what's the problem, or point me in a direction.

Thanks in advance!
Tsvetie
Telerik team
 answered on 26 Jun 2012
1 answer
241 views
Hi,

Is it possible to do these two things with TabControl (TabOrientation="Vertical" and TabStripPlacement="Left")

1) all TabItem headers to occupy all available space. (ex, if tabControl's Height is 500, and we have 5 TabItems, then each TabItem should have Header.Height = 100. I am using below template to make TabItem;'s header wider, but I am setting the Height explicitly.

<DataTemplate x:Key="tabItemTemplate">
    <Grid Height="100">
        <TextBlock Text="{Binding Mode=OneWay, Converter={StaticResource enumConverter}}" VerticalAlignment="Center"/>
    </Grid>
</DataTemplate>

<telerik:RadTabControl ItemsSource="{Binding Source={x:Static data:ActivityType.Production}, Converter={StaticResource enumWithoutNoneConverter}}"
                       ItemTemplate="{StaticResource tabItemTemplate}"
                       SelectedItem="{Binding SelectedType}"
                       TabOrientation="Vertical"
                       TabStripPlacement="Left" />

2) I would like to set the Content of each TabItem to null (Nothing). Currently it is displaying the same text as Header does, only without converter. I don't want it to display anything, I just need TabControl;s headers visible.

Regards,
Goran
Tina Stancheva
Telerik team
 answered on 26 Jun 2012
2 answers
170 views
I was hoping to implement SelectAll functionality when the user double clicks in the cell that is to the left of the first column and above the first row.

I tried using hittesting to detect when the user clicks there, but didn't have any luck since it wasn't coming up as a valid row or column. 

Is is possible to do this?
Darryn
Top achievements
Rank 1
 answered on 26 Jun 2012
6 answers
307 views
Hi,

I'm using RadControls for WPF (version 2012.1.326.40), and my question is about the RadTreeView.
I want to select by code a specific item even if all nodes of the treeview has not been generated.
My treeview is using the virtualization mode, so the items are not generated until the node is expanded.
How can I select an item ? If I explore the nodes, I have only the generated nodes.
And I can't use the BringPathIntoView method, because my nodes have different types so it's impossible for me to use the property TextSearch.TextPath.
Do you have any solutions ?


Hristo
Telerik team
 answered on 26 Jun 2012
1 answer
118 views
Hello,

It seems that on all of your examples, the gantt-tasks can be moved and resized on the fly.  How can I prevent this?  I already have "isManipulationEnabled" set to false.

Thanks,
Eric
Ventzi
Telerik team
 answered on 26 Jun 2012
0 answers
76 views
VirtualizingWrapPanel as RadGallery.ItemsPane does not show any item.
Thanks
Deepak
deepak
Top achievements
Rank 1
 asked on 26 Jun 2012
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?