Telerik Forums
UI for WPF Forum
2 answers
836 views
I'm trying to layout my custom RadPane header using events. In the event handler I need the ActualWidth and ActualHeight of the RadPane. However both values are set to 27,96 and 46,65 while the RadPane is much bigger.

I tried using radPane.Measure() to get more actal values, but this does not change the ActuallWidth and ActualHeight.

I Also added a resize event handler to the RadPane, but my eventhandler isn't called when the RadPane resizes, the SizeChanged isn't called when or after the RadPane is resizing. So this makes it very hard to get the actual width en height of a given radPane.

Does anybody have a solution for this?
Pieter
Top achievements
Rank 2
 answered on 09 Oct 2011
2 answers
94 views
Good evening,

I get the following error for the RadRichTextBox when trying to run my application.

Missing Method Exception:
Method not found: '!!0 Telerik.Windows.Controls.DependencyObjectExtensions.GetVisualParent(System.Windows.DependencyObject)'.

I'm not really sure what's going on. I use all of the references that are mentioned in the documentation.
The error is thrown when I click on the RichTextBox and try to type characters into it.

Any help is greatly appreciated. I'm using version 2011.1.419.35.

Thank you very much.
Robert
Top achievements
Rank 1
 answered on 07 Oct 2011
1 answer
102 views
I'm about to use you controls for the first time, I have a few questions;

The examples, is there a copy where you get individual examples?  Loading the whole project takes a while.
The example demo does not show the source code correctly, the rendering is all broken, is there a reason for this?

Thanks
Teodor
Telerik team
 answered on 07 Oct 2011
4 answers
321 views
There is a Selection Highlight that highlights slots in the ScheduleView control; however it doesn't appear to actually select any appointments within the highlighted slots.

I am looking for information on how to use the selection highlight.

Thank you for your time.
Rebecca
Top achievements
Rank 1
 answered on 07 Oct 2011
3 answers
250 views
Hello,

We have a toolbar with a lot of buttons on it. The problem is number 4 (see image), after clicking the button, it gets a yellow innerborder.
We want to omit this by styles in our app.xaml. Could you help me?

http://imageshack.us/photo/my-images/35/statesb.jpg/

Thanks you.

Regards,
TLDesigner.
Tina Stancheva
Telerik team
 answered on 07 Oct 2011
3 answers
150 views
I'm having quite a hard time getting the styling done, it seems like I'm experimenting rather than designing. I tried using blend but go absolutely nowhere, now I am writing the styling in xaml. To override the styling I am using following code:

RowStyle="{DynamicResource TopGridRow}"
AlternateRowStyle="{DynamicResource TopGridAlternateRow}"
HeaderRowStyle="{DynamicResource TopGridHeaderRow}"
VerticalGridLinesBrush="{DynamicResource TopGridVerticalBrush}"
HorizontalGridLinesBrush="{DynamicResource TopGridHorizontalBrush}"
telerik:Theming.Theme="Vista"

my current result looks like this:
http://dl.dropbox.com/u/11491365/gridviewWhite2.JPG

following problems:
1. I dont know how to adjust the style for the rectangle at the top-left
2. How do I change the gray padding around the hierarchical element
3. I applied the theme Vista application wide, but it is only being applied to the radgridview in the lower hierarchy, thats why i am setting the Theme on the control itself again
4. Is there a better approach to this?
5. What on earth is that dark line between JobID and Auflage (you can drag it around for reasons unknown to me. has a gradient on it)
marc
Top achievements
Rank 1
 answered on 07 Oct 2011
6 answers
178 views
I'm really new to Telerik.  We've purchased the suite a while ago, but haven't had a chance to use it yet.  Now I'm trying to.  I've installed it onto my desktop, and so has my colleague.  When creating a new WPF project, selecting the Telerik RAD projects, all I have in the Project Configuration Wizard, if a Components tab.  My colleague has the Components tab and a Theme tab.  Why is it that I don't have the Theme's tab, and how do I get it?
Rod
Top achievements
Rank 1
 answered on 07 Oct 2011
2 answers
105 views
Hi -- I'm wondering about the best idea for a UI metaphor I'm trying to replicate.  I'm trying to create something like a query builder along the lines of the Work Item Query Editor window within VS 2010.  This is shown in two places using two slightly different approaches in the following web page:TFS 2010 Work Item Tracking Blog Entry.

The key screenshots are the first and the fifth.  I'm specifically looking for thoughts on how to achieve the effect they use for grouping and ungrouping conditions in the query.  If you highlight two (or more) adjacent rows that are not already grouped, it allows you to group them.  If you do that, there is a visual indicator that now spans the grouped rows.  If you leave them highlighted, you can ungroup them.  Further, you can continue the grouping beyond the grouping you've already created.

I've got something similar I need to create and am looking for some thoughts on how to do this with the Telerik controls (I figured the GridView would be the area where this would apply). 

It doesn't need to look exactly like the VS 2010 editor, just something that will visually make sense to users.

Thanks in advance for any thoughts on this....
-Erik
Erik
Top achievements
Rank 2
 answered on 07 Oct 2011
1 answer
229 views
Hi,

I am trying to have a an autocomplete combobox with an Editorstyle at the sametime.

The autocomplete works without the Editorstyle, but putting the editorstyle in like this, will stop the autocomplete from working.

Any idears ?.

Best

Ole



<
telerik:GridViewComboBoxColumn UniqueName="cmbActionBy"  IsComboBoxEditable="True" Header="Action by" DataMemberBinding="{Binding Path=tblContact}"  telerik:TextSearch.TextPath="ShortName" DisplayMemberPath="ShortName" Width="80" SortMemberPath="tblContact.ShortName" EditorStyle="{Binding Source={StaticResource MyStyle}}">

 

 

<Style x:Key="MyStyle" TargetType="telerik:RadComboBox">
 
           <Setter Property="ItemTemplate">
 
               <Setter.Value>
 
                   <DataTemplate>
 
                       <StackPanel Orientation="Vertical"   VerticalAlignment="Center">
                           <TextBlock Text="{Binding Path=Name}" TextAlignment="Left" HorizontalAlignment="Left" />
                           <TextBlock Text="{Binding Path=ShortName}" TextAlignment="Right" HorizontalAlignment="Right" Margin="5,0,0,0"/>
                       </StackPanel>
 
                   </DataTemplate>
 
               </Setter.Value>
 
           </Setter>
 
       </Style>

Maya
Telerik team
 answered on 07 Oct 2011
1 answer
208 views
I have a dialog with a grid view. When the dialog is closed, the view is kept in memory. I used ANTS memory profile to find the cause. See the attached retention graph.

It shows that my view (ImportRecipesView) is references by a grid row which is kept in memory by some event handlers. Do you have any idea why the event handlers aren't released when the dialog is closed?

Am I missing something?

BTW: Here's a link how to read the graph: Retention Graph
Vlad
Telerik team
 answered on 07 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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?