Telerik Forums
UI for WPF Forum
4 answers
110 views
Hello,

we switched our Application (and therefore our RadGridView) from build version 2010.1.625.35  to 2010.2.714.40 - now quite a bit of code isn't working anymore.... We could isolate the problem to the following:

- The UniqueName of the column isn't assigned / created anymore when the column is added to a grid:

(newColumn can be GridViewDataColumn, GridViewImageColumn etc.)

newColumn.DataMemberBinding =
new Binding { Path = new PropertyPath("TEST") };
 
grid.Columns.Add(newColumn);

in version  2010.1.625.35  this would result in newColumn.UniqueName  => "TEST"
in version  2010.2.714.40 (also in 2010.2.812.40)  the value of newColumn.UniqueName is NULL!!!!

Since we use the UniqueName all over the place we need an urgent fix!!!!! 

Please advise...

Regards M.
M
Top achievements
Rank 1
 answered on 15 Sep 2010
3 answers
137 views
I´ve seen some demos of DataPager and all of them it was possible to go to a specific page by simply typing the page number in the DataPagerTextBox but I wasn´t able to do that. How can I implement this functionality ? It seems that DataPagerTextBox´s IsEnable property is false by default.
Rossen Hristov
Telerik team
 answered on 15 Sep 2010
3 answers
93 views
How to hide all radpane in a docking panel?
George
Telerik team
 answered on 15 Sep 2010
4 answers
300 views
I want to find out if one of the cells/rows in my GridView is in EditMode.

I tried this, but it didn't work:

        private bool GridInEditModus()
        {
            foreach (var row in myGrid.Items)
            {
                if (((GridViewRow)row).IsInEditMode)
                {
                    return true;
                }
            }
            return false;
        }
Unable to cast object of type 'Cars.Infrastructure.Car' to type 'Telerik.Windows.Controls.GridView.GridViewRow'.

Is there a simple way to find out if my grid is in editmode?
Rieni De Rijke
Top achievements
Rank 1
 answered on 15 Sep 2010
2 answers
128 views
Trying to get something similar to a RadSplitButton (text area and right-side button) working that actually raises a Command instead of opening a Popup. Basically I'd like to use it inside of a Template that has it's own logic to show whatever happens when you click the button.

Any ideas?
Miro Miroslavov
Telerik team
 answered on 15 Sep 2010
1 answer
460 views
I am using a bound treeview that has two different hierartcial data templates.  Both need to be able to expand, but on one I don't want the user to be able to select that treeviewitem.   Only expand it.  Is that possible?  Also, is there a way to disable the expander on a treeviewitem as well if I know beforehand they have no subitems?  I am using LoadOnDemand.

Here are my data templates

 <HierarchicalDataTemplate  DataType="{x:Type  Classes:Shmoog}" 
   ItemsSource="{Binding Converter={StaticResource childConverter}}">
        <StackPanel Orientation="Horizontal">
            <Image Source="/Images/DocumentIcon.png" Margin="0 0 3 0"></Image>
                <TextBlock Foreground="White" Text="{Binding DisplayName}" />
        </StackPanel>
    </HierarchicalDataTemplate>

        <HierarchicalDataTemplate DataType="{x:Type Model:WorkFlowTemplateItem}" 
   ItemsSource="{Binding Converter={StaticResource childConverter}}">
        <StackPanel Orientation="Horizontal">
            <Image Source="/Images/DropboxIcon.png" Margin="0 0 3 0"></Image>
                <TextBlock Foreground="White" Text="{Binding DisplayName}" />
             </StackPanel>
    </HierarchicalDataTemplate>

Kiril Stanoev
Telerik team
 answered on 15 Sep 2010
4 answers
217 views
How can i enable and validate custom cell in a grid ?

If i want my cell to have Both Checkbox AND textbox.. how can i achieve this ?

Thank you
Tgaud
Top achievements
Rank 1
 answered on 15 Sep 2010
1 answer
111 views
My app has Vista as the default style and I would like to use Office_Black as the style for and instance of RadDocking. So far I've got this:

<Controls:RadDocking Grid.Row="0" Controls1:StyleManager.Theme="Office_Black">
 
    <Controls:RadDocking.DocumentHost>
        <Controls:RadSplitContainer >
            <Controls:RadPaneGroup>
 
                <Controls:RadPane Header="Tab 1">
                    <UserControl1/>
                </Controls:RadPane>
 
                <Controls:RadPane Header="Tab 2">
                    <UserControl2/>
                </Controls:RadPane>
 
            </Controls:RadPaneGroup>
        </Controls:RadSplitContainer>
    </Controls:RadDocking.DocumentHost>
</Controls:RadDocking>

However, The style is applied to the tabs, but the RadPaneGroup is still the Vista style (a blue glow). If I set the StyleManager.Theme on each RadPane, then it is style correctly, but loses the style if I drag the control to another position in the dock. I've tried creating a style in RadDocking.Resources targetting the RadPaneGroup, but that doesn't work at all:

<Controls:RadDocking.Resources>
                <Style TargetType="{x:Type Controls:RadPaneGroup}">
                    <Setter Property="Controls1:StyleManager.Theme" Value="Office_Black"/>
                </Style>
</Controls:RadDocking.Resources>

Any suggestions how I can get my docking elements to all be styled as Office_Black? Thanks!
Geoff Smith
Top achievements
Rank 1
 answered on 15 Sep 2010
2 answers
80 views
Hi Support, 

Look at this stack:
http://screencast.com/t/NmJiNDc1ZW

I've tried:
1) Setting the DataGrid to read only
2) Column to read only
3) binding to ignore DataErrors

   <telerik:GridViewDataColumn Header="Country" UniqueName="Country" 
                                                    IsReadOnly="True"
                                                    DataMemberBinding="{Binding Country.Name,ValidatesOnDataErrors=False}">
                        </telerik:GridViewDataColumn>

Nothing seems to prevent the call (completelly unnecesary IMHO) to IDataErrorInfo.

I consider this to be a mayor problem.


Notes: 
  • I can't find ValidatesOnDataErrors @ RadGridView level. (only available for silverlight?) 
  • Using latest WPF version : 2010.2.812.35

thanks in advance, 
Sebastian Talamoni



Nedyalko Nikolov
Telerik team
 answered on 15 Sep 2010
1 answer
253 views
I know this could be a simple oversight on my part since I'm transitioning from WinForms to WPF.   I've created a simple WPF application using the RadControls for WPF40 2010 Q2 release. 

I have created my radmenu, figured out how to get my icons to appear on the main menu along with my text, etc.  When I follow the directions for an application wide theme, I added the following line right before my InitializeComponent(); of my main window:

StyleManager.ApplicationTheme = new SummerTheme();
InitializeComponent();

At runtime, nothing changed.  No theme was applied.  So I manually applied the Theme to my RadMenu in the XAML:

<telerik:RadMenu HorizontalAlignment="Stretch" Name="mnuMainMenu" VerticalAlignment="Top" telerikControls:StyleManager.Theme="Summer">

In the Visual Studio 2010 Designer, I can see the summer theme being applied but once again at Runtime, the application has the basic look/feel.  The Themes are not being applied at runtime.  I've cleaned the build and rebuilt with no changes.  I've restarted Visual Studio to make sure that the environment is reparsing and reloading the modules (based on past experience with previous Studio environments getting out of whack).

Any suggestions as to what I might be overlooking would be greatly appreciated.
George Peters
Top achievements
Rank 1
 answered on 14 Sep 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
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
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?