Telerik Forums
UI for WPF Forum
5 answers
185 views
With Q1 2010 themes no longer render correctly no matter which one is specified.
More info

Telerik.Windows.Controls.GridView
Telerik.Windows.Controls.Input
Telerik.Windows.Controls.Navigation
Telerik.Windows.Controls
Telerik.Windows.Data

 

 

 

 

<

 

Window x:Class="Telerick2010.Window1"

 

 

 

xmlns

 

="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

 

 

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

 

 

xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

 

 

Title="Window1" Height="300" Width="300">

 

 

 

<telerik:RadExpander telerik:StyleManager.Theme="Summer" Header="BOB" Grid.Column="0" Grid.Row="0" >

 

 

 

 

</telerik:RadExpander>

 

</

 

Window>

 


Error 1 '/Microsoft.Windows.Design.Developer;component/themes/GridAdorners.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Cannot create instance of 'GenericTheme' defined in assembly 'Microsoft.Windows.Design.Interaction, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Exception has been thrown by the target of an invocation.    Error at object 'ResourceDictionary_4'. C:\Users\bmitchell\Documents\Visual Studio 2008\Projects\Telerick2010\Telerick2010\Window1.xaml 6 9 Telerick2010
Ivan
Telerik team
 answered on 01 Apr 2010
4 answers
217 views
I'm in the process of testing out the telerik rad controls for WPF and trying to decide if these controls best fit my needs.
Currently I'm testing the RadDocking and what I'm looking to accomplish is, have any panel I put in have the ability to fill the container and then the next panel would split depending on where I dock it.

Example:
If I have two floating panels and if I drag and dock the first left, it will dock left and fill the whole RadDock, then if I take the second panel and dock bottom, it will split the first panel and appear to be on the bottom. then I'll continue to dock like this until the interface is built(with additional panels.
Also I'd like to not have any DocumentPanes, I don't want to see tabs unless I fill one panel inside another.

Hopefully this makes sensem I'd appreciate any example someone can provide to accomplish this.

thanks steve
steve white
Top achievements
Rank 1
 answered on 01 Apr 2010
3 answers
97 views
It seems like there are a 2 problems if you try to validate your data by using IDataErrorInfo.

- The UI doesn't get updated properly. I set the background to red for a test and added a breakpoint at the validation part of the code. The code gets validated properly but the background stays red once the error is resolved.
- If you enter a wrong value the text gets moved to the top left corner of the cell and you aren't able to edit the cell until you press escape.
Nedyalko Nikolov
Telerik team
 answered on 01 Apr 2010
1 answer
60 views
Hi Telerik,

When I set tick line styles as follows:

<Style x:Key="AxisTickStyle" TargetType="Line">  
        <Setter Property="Stroke">  
            <Setter.Value> 
                <SolidColorBrush Color="{DynamicResource ColorDarkGray}" />               
            </Setter.Value>           
        </Setter> 
    </Style> 
chart.DefaultView.ChartArea.AxisX.AxisStyles.TickLineStyle = Application.Current.Resources["AxisTickStyle"as Style;  
chart.DefaultView.ChartArea.AxisX.AxisStyles.MinorTickLineStyle = Application.Current.Resources["AxisTickStyle"as Style; 

They dissappear completely, looks like the actually width of them decreases to 0 because the ItemLabels come to the edge of the axis

Any help would be appreciated

Rav
Vladimir Milev
Telerik team
 answered on 01 Apr 2010
6 answers
2.5K+ views
Hi,

We've got the following code in the application's App class's constructor (the fact that we're doing this in the App class appears to be related to the issue):

            bool allGood = false
            do 
            { 
                LoginWindow loginWindow = new LoginWindow(); 
                loginWindow.ShowDialog(); 
                 
                if (loginWindow.DialogResult.GetValueOrDefault(false)) 
                { 
                    try 
                    { 
                        // Try and do something... 
                        allGood = true
                    } 
                    catch (Exception) 
                    { 
                        lastLoginFailed = true
                    } 
                } 
                else 
                    return
            } while (!allGood); 

In the LoginWindow, there's a button whose Click handler ends with a call to Close(). The "Try and do something" code tries something that may possibly throw an Exception. If it does, then allGood stays false and the loop happens again. If it doesn't throw an exception, allGood is set to true and the job ends.

The problem is this - the first call to ShowDialog works fine. The second call does nothing.

Any idea what we're doing wrong here?

Thanks,
yonadav
Garry Clark
Top achievements
Rank 1
 answered on 31 Mar 2010
1 answer
177 views
hi

am using rad tree view, i want to get the parent value, when am selecting a child
i mean, when i click on sub items in the tree i can get the values by selected items, but i want to get the  child value and corresponding parent value when am cliking the child. how i can do it
Tina Stancheva
Telerik team
 answered on 31 Mar 2010
4 answers
139 views
Hello,
I call Rebind to refresh my data. But I'm using the RowLoaded event to format my data conditionally.
It appears that the Rebind does not call this event.
How can I refresh my data and format it conditionally.
Thank You
Jon
Top achievements
Rank 1
 answered on 31 Mar 2010
1 answer
161 views
My chart has 3 Bar series, the 3 bars are shown next to each other and there's a gap between it and the next group of 3 bars. Is there a way to set the size of this gap? In my case I need it to be 0 (no gap).
Giuseppe
Telerik team
 answered on 31 Mar 2010
2 answers
104 views
Hi,
I have a TabControl where a list of my view model objects are bound.
The ContentTemplate uses a UserControl:

<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<Grid Margin="-30,0,10,10">
<Views1:ControlUnitView Margin="10" />
                                    
</Grid>
</DataTemplate>
</Setter.Value>
</Setter>
I had expected that each tab item gets its own copy of the user control. This seems not to be the case. Instead only one user control is created but the data context is switched between each tab selection. Is this the expected behavior?

Within my user control, I have a grid. I want to copy the selected items from my view model to the SelectedItems property of the grid after the tab changed. I tried to use the datacontext-Changed event. However, when i set the SelectedItems list during this event, the items are not highlighted. But that's the only event I get within my user control. Is there a better way to accomplish this?
Thanks
Kind regards
Hartmut
Dr. Hartmut Kocher
Top achievements
Rank 1
 answered on 31 Mar 2010
1 answer
198 views
I am able to bind an 'IndicatorList Value' in XAML to a source. But if I try to bind 'Min' and 'Max' of a 'Linear/RadialScale', it throws an error. How can I do that, as in my project these three values come from a class.
Andrey
Telerik team
 answered on 31 Mar 2010
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
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?