Telerik Forums
UI for WPF Forum
5 answers
133 views
Hi Guys - congratulations on Beta 2 - it's a big step forward and seems to fix most of the issues we encountered in the first release!

Just a couple of issues that have come up for us with the new release:

 1. Is it possible to turn off the filtering feature?
 2. The autofit column algorithm does not include the header text (we would expect it to)
 3. When adding field descriptions dynamically and refreshing the data, we get:

{System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.UI.DistinctFilterControl.PopulateDistinctValues()
   at Telerik.Windows.Controls.UI.DistinctFilterControl.<DistinctFilterControl_Loaded>b__0()}

Any help with these would be much appreciated,

Will Holley
Hristo Deshev
Telerik team
 answered on 08 Jul 2008
4 answers
239 views
It would be useful to be able to bind commands to LeftMouseClick (using RadGridView.InputBindings). For example,

<UI:RadGridView.InputBindings> 
     <MouseBinding Command="{x:Static Entity:EntityCommands.EditCommand}" MouseAction="LeftDoubleClick"/> 
</UI:RadGridView.InputBindings> 


However, it appears that this is not supported, even when the fields are set to readonly.

If I change the above snippet to use MiddleClick, the command is fired.

Is this a bug or intended behaviour?

Many thanks,
 
Will Holley
Will
Top achievements
Rank 1
 answered on 07 Jul 2008
3 answers
92 views
Hi Telerik Team.

Thanks for the filtering functionality in Beta 2

2 questions

1: is it possible to switch off filtering on a specific column. i haven't been able to find a property to set on the column only on the entire grid.?

2: use of the Simple theme which is provided in your examples. I believe the easiest way to set the Theme property on the grid must be Telerik:Theming.Theme="Simple"
but "Simple" is not part of the values to choose. I have added the Reference "Telerik.Windows.Controls.UI.Simple" to the project. but still its not able to set. what am i doing wrong.



Hristo Deshev
Telerik team
 answered on 07 Jul 2008
2 answers
125 views
Hi,

I have a problem with getting the child row that is selected.

I have a grid with in the first column of the child grid a checkbox to select/deselect.  When the check changed i handle the event.  But i get the parentrow in the selected row and not the child row

How can i get the selected child row?

Little info on how i fill the childcolumn
  radGridResubmit.TableDefinition.ChildTableDefinitions[0].AutoGenerateFieldDescriptors = false;  
 
                    Telerik.Windows.Controls.UI.GridViewDataColumn desc = new Telerik.Windows.Controls.UI.GridViewDataColumn();  
                    desc.HeaderText = "";  
                    desc.UniqueName = "IsSelectedForResubmit";  
                    desc.IsAutoGenerated = true;  
 
                    desc.CellStyle = new Style();  
                     
                    desc.CellStyle.Setters.Add(new Setter(TemplateProperty, FindResource("CheckBoxColumnTemplateAction")));  
                    radGridResubmit.TableDefinition.ChildTableDefinitions[0].FieldDescriptors.Add(desc);  
 
                     
                    desc = new GridViewDataColumn();  
                    desc.IsReadOnly = true;  
                    desc.HeaderText = "ActionName";  
                    desc.UniqueName = "ActionName";  
                    desc.IsAutoGenerated = true;  
                    radGridResubmit.TableDefinition.ChildTableDefinitions[0].FieldDescriptors.Add(desc);  
                    

Regards
NS
Top achievements
Rank 1
 answered on 07 Jul 2008
1 answer
85 views
Well done guys.

Is there any RadControls WPF Beta2 Documentation ?

BTW, can you give us a Roadmap for WPF & SL?

RibbonControl (WPF and SL)?

Greetings,
Michael
Nikolay
Telerik team
 answered on 07 Jul 2008
1 answer
311 views
Is there any way to increment as integers instead of two position decimal?
P.Petrelli
Top achievements
Rank 1
 answered on 05 Jul 2008
1 answer
87 views
It worries me that there is not going to be a feature complete beta of these controls - beta 1 and 2 are quite buggy for us and seem to be in some state of flux - . If features are still being added, can we expect the quality to improve?

For future releases, would you consider producing public nightly builds (similar to the way JetBrains do with Resharper) and also making debug symbols available to help with diagnosis of problems?

Kind regards,

Will Holley


Milan
Telerik team
 answered on 04 Jul 2008
3 answers
76 views
Hi,

How can i set the background of a row to a color based on the value of one of its columns?

I have written a convert that changes the statusid to a brush but i don't know how to apply it to the row

I tried this but that didn't work
 
 
 
<Grid.Resources> 
            <Style TargetType="{x:Type Telerik:GridViewRow}">  
                <Setter Property="Background">  
                    <Setter.Value> 
                        <SolidColorBrush Color="{Binding Path=StatusId, Converter={StaticResource ConvertDocumentColor}}"></SolidColorBrush> 
                    </Setter.Value> 
                </Setter> 
            </Style> 
        </Grid.Resources> 

Regards,

Bram
NS
Top achievements
Rank 1
 answered on 03 Jul 2008
1 answer
169 views
Hi,

I have a grid that i declare in xaml but i want to define the child columns of the hierarchy (not autogenarated).

How can you do that?

My code:
Defining the child relation  
GridViewTableDefinition detailDefinition = new GridViewTableDefinition();  
detailDefinition.Relation = new PropertyRelation("QueueItemActions");  
radGridResubmit.TableDefinition.ChildTableDefinitions.Add(detailDefinition);  
 
 
Grid declaration  
       <Telerik:RadGridView HorizontalAlignment="Stretch" Width="Auto" Grid.Column="0" Grid.ColumnSpan="3" x:Name="radGridResubmit" AutoGenerateColumns="False">  
                <Telerik:RadGridView.Columns> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="" UniqueName="IsSelectedForResubmit" > 
                        <Telerik:GridViewColumn.CellStyle> 
                            <Style TargetType="{x:Type Telerik:GridViewCell}">  
                                <Setter Property="Template" Value="{StaticResource CheckBoxColumnTemplate}"/>  
                            </Style> 
                        </Telerik:GridViewColumn.CellStyle> 
                    </Telerik:GridViewDataColumn> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="JobId" UniqueName="JobId" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="ConfiguredBy" UniqueName="ConfiguredBy" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="BuildLocal" UniqueName="BuildLocal" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="Copies" UniqueName="Copies" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="ParentId" UniqueName="ParentId" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="StatusId" UniqueName="Status.Description" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="QueueItemId" UniqueName="QueueItemId" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="ImportId" UniqueName="ImportId" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="QueueDescription" UniqueName="Queue.Description" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="QueueEnvironment" UniqueName="Environment" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="PrinterTray" UniqueName="PrinterTray.Description" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="Printer" UniqueName="PrinterTray.Printer.Name" /> 
                    <Telerik:GridViewDataColumn DataType="{x:Null}" HeaderText="ReportService" UniqueName="PrinterTray.Printer.ReportService.Name" /> 
                </Telerik:RadGridView.Columns> 
                  
            </Telerik:RadGridView> 

Regards
Hristo Deshev
Telerik team
 answered on 02 Jul 2008
1 answer
65 views
Hi,

Is there a way to know when there's an other record selected?

Because i can't find an event like SelectedIndexChanged.

regards
Milan
Telerik team
 answered on 30 Jun 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?