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

Thanks for giving answers.

 1).  By your code iam able to change the headerstyles perfectly to Parent but,
        I need to change at a single time for child also.I  may use single or double 
       RadGridView.

2). How to change the Scrollbar color.

3). Which you have given steps to Ticket , There are few options are iam unable
      to find.
4) I want to hide GroupPanel for child and Display for Parent.

Plz help me........As soon as.

Atanas
Telerik team
 answered on 21 Oct 2008
4 answers
369 views
Hi team ,

Please as soon as possible send me by tomorrow morning.


i need on Single click cell should be in edit  mode.currently when we double click we are getting cell in edit mode


Thank you.
Atanas
Telerik team
 answered on 20 Oct 2008
1 answer
162 views
Hi All,

Iam using RAD Grid for WPF,

Current i am having a problem with handling validation from BO

How can we use "ValueToDisplayTextConverter"...

How can i call BO Validatio for RAD Grid ?

Can any one help me in this ?

With Regards
Krishna M
Atanas
Telerik team
 answered on 20 Oct 2008
2 answers
433 views
Greetings,
  I have run into an issue when changing the GridViewRow background color.  I have changed the background color based on IsAlternating in the example below: (Note that VerticalGridLinesVisibility is set to True)
<Window.Resources> 
        <Style TargetType="{x:Type telerik:GridViewRow}" > 
            <Style.Triggers> 
                <DataTrigger Binding="{Binding IsAlternating}" Value="False"
                    <DataTrigger.Setters> 
                        <Setter Property="Background" Value="#ABD5F3" /> 
                    </DataTrigger.Setters> 
                </DataTrigger> 
                <DataTrigger Binding="{Binding IsAlternating}" Value="True"
                    <DataTrigger.Setters> 
                        <Setter Property="Background" Value="#CAEEFE" /> 
                    </DataTrigger.Setters> 
                </DataTrigger> 
            </Style.Triggers> 
        </Style> 
    </Window.Resources> 
    <Grid> 
        <telerik:RadGridView Name="radGridViewStyleSimpleTheme" VerticalGridlinesVisibility="Visible"
            <telerik:Theming.Theme> 
                <simple:SimpleTheme /> 
            </telerik:Theming.Theme> 
        </telerik:RadGridView> 
    </Grid> 

In this example the grid will not show vertical lines with in the rows.  I'm guessing this is due to how the controls are layered and the control (Border?) that serves as the row background is overlaying the base grid structure and hiding the grid lines.

I was going to attempt to just change the cell colors themselves based on whether or not they were in an alternating row, however I haven't found a way to accomplish that. I have been unable to find a way to tell if the cell is in an alternating row.

Is there tweak I can make to the control templates to allow grid lines to show in this scenario?

Thanks,
  Chris
Christopher
Top achievements
Rank 1
 answered on 17 Oct 2008
1 answer
118 views
Hi

I have created a windows user control (non wpf) which comprises of :- the WPF RadGridView control hosted in a ElementHost.

When adding a my user control to a controls collection at runtine I get the following error:-

Failed object initialization (ISupportInitialize.EndInit). The result of a query cannot be enumerated more than once.  Error at object 'Telerik.Windows.Controls.GridView.GridViewItemsControl' in markup file 'Telerik.Windows.Controls.GridView;;;Component/Themes/GridView/Telerik/TableView.Templates.xaml'.

any Ideas?

P
Dimitar Dobrev
Telerik team
 answered on 17 Oct 2008
1 answer
111 views
Hi All,

I am using RAD Grid for WPF...

I am trying to change only "Header Style" i.e. changing the font size, fontFamily, fontStyle..

Can any one help me it this...

With Regards
Krishna M
Dimitar Dobrev
Telerik team
 answered on 17 Oct 2008
7 answers
181 views
Hi,
         I am using RadGrid for WPF.My requirement is to show the Cursor in the first cell of Newly Inserted Record.
Can anybody suggest a way to do this ?

Regards,
Krishna
Dimitar Dobrev
Telerik team
 answered on 17 Oct 2008
2 answers
236 views
Greetings,
   I am attempting to do some custom styling based on the Simple theme.  I looked over the example provided on this post (http://www.telerik.com/community/forums/thread/b311D-bkeeck.aspx) however it does not work with the latest builds of the WPF gridview control.

Specifically I am having trouble styling the GridViewHeaderRow (or GridViewHeaderCell) and the row selectors (I haven't found the object name for these yet).

The following is a small piece of code from the styling: (Note the dark blue is for testing purposes, end goal is a gradient brush)
<Window x:Class="radGridStyling.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:radGrid="http://schemas.telerik.com/2008/xaml/presentation" 
    xmlns:Simple="clr-namespace:Telerik.Windows.Controls.Simple;assembly=Telerik.Windows.Controls.Simple" 
    Title="Window1" Height="401" Width="654" > 
    <Window.Resources> 
        <Style TargetType="{x:Type radGrid:GridViewRow}" > 
            <Style.Triggers> 
                <DataTrigger Binding="{Binding IsAlternating}" Value="False"
                    <DataTrigger.Setters> 
                        <Setter Property="Background" Value="#ABD5F3" /> 
                    </DataTrigger.Setters> 
                </DataTrigger> 
                <DataTrigger Binding="{Binding IsAlternating}" Value="True"
                    <DataTrigger.Setters> 
                        <Setter Property="Background" Value="#CAEEFE" /> 
                    </DataTrigger.Setters> 
                </DataTrigger> 
            </Style.Triggers> 
        </Style> 
 
        <Style TargetType="{x:Type radGrid:GridViewHeaderRow}" > 
            <Setter Property="Background" Value="DarkBlue" /> 
        </Style> 
 
        <Style TargetType="{x:Type radGrid:GridViewHeaderCell}" > 
            <Setter Property="Background" Value="DarkBlue" /> 
        </Style> 
 
    </Window.Resources> 
     
    <Grid> 
        <radGrid:RadGridView Margin="26,22,79,43" Name="radGridView1" > 
            <radGrid:Theming.Theme> 
                <Simple:SimpleTheme/> 
            </radGrid:Theming.Theme> 
        </radGrid:RadGridView> 
    </Grid> 
</Window> 
 

In the example above, the GridViewRow style changes work as expected. However the GridViewHeaderRow and GridViewHeaderCell styles have no impact.

Any guidance would be greatly appreciated!

Thanks,
  Chris
Christopher
Top achievements
Rank 1
 answered on 16 Oct 2008
1 answer
94 views
When try in to use the DatePicker control I get the following error when trying to open the calender drop down.

'ContentControl' TargetType does not match type of element 'Control'.

I'm currently on 3.5 sp1 (but found and downloaded the SP1 commpiled dll's)

The DatePicker in the sample app works fine but if a add a new form with your control on it i get the same error, as I cannot see the see whats in the QuickStart code its difficult for me to see what is different

Can anyone help


Cheers
Miroslav
Telerik team
 answered on 16 Oct 2008
0 answers
94 views
ttt
good work
vijay
Top achievements
Rank 1
 asked on 15 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?