Telerik Forums
UI for WPF Forum
3 answers
223 views
Hi,

I've got a problem styling the treeview i created.

I've added a template to it with an image and text (to display in the node) but i can't change the color of the nodes.

Even when i change de forecolor (to black) of the treeview its stays dark green.

Can you give some insights on this?

Regards
Dimitrina
Telerik team
 answered on 16 Sep 2010
6 answers
103 views
Hi

when I use * in the width of a column (width="20*")
and the grid is empty
the header is cut

do you have a solution?

Thanks
Orit
Top achievements
Rank 1
 answered on 16 Sep 2010
1 answer
115 views
RadControls_for_WPF35_2010_2_0812_DEV

The following properties exposed in Blend have no effect on the calender in the DatePicker:

- AreWeekNamesVisible
- AreWeekNumbersVisible
- CalendarWeekRule
- Columns
- DisplayMode
- HeaderVisibility
- isTodayHighlighted
- Orientation
- Rows
- ViewsHeaderVisibility

Also, the DisplayDate picked the first day of this month by default, not the current date.

Is this a bug or should those properties be hidden from the control? To the point, I need these properties to work.
George
Telerik team
 answered on 16 Sep 2010
1 answer
118 views
Question is simple enough.. is there a way that doesn't suck.. by which I can sort the grid by the displayed value in a ComboBox.  Let's say the backing data is really and int that maps to a string description.  Can I sort the grid on the description that is the DisplayValueMemberPath?
Maya
Telerik team
 answered on 16 Sep 2010
3 answers
243 views
I can visually scale the whole RadGridView control if I set the "LayoutTransform" property of RadGridView accordingly.

The problem with this method is that it scales everything including scrollbars on the sides, the headercell filter menus and so on.

Now is there a way to scale only the content of the RadGridView i. e. all cells (or rows if you will) including the header cells but excluding everything else (scrollbars, filter menus etc.), kinda like you can set LayoutTransform of the GridViewGroupPanel property and it changes only the group panel.

I have something in mind like in Microsoft Excel 2007 where you can zoom a whole table but all controls and menus remain unchanged.

I tried using ".ChildrenOfType<GridViewHeaderRow>()" and setting LayoutTransform to all rows but the HeaderRow remains unchanged and I get weird behaviour from other visual elements of the GridView. When I additionally set LayoutTransform of HeaderRow the filter menus are changed as well - what I do not want, and I get even weirder behaviour because HeaderRow and content rows are out of sync in their display.

Is there some way to do what I want to accomplish here?


Stefan Dobrev
Telerik team
 answered on 16 Sep 2010
1 answer
76 views
Hi, I have an issue, when I use Group Aggregates, see below

<telerik:RadGridView Name="radGridView1">
    <telerik:RadGridView.GroupDescriptors>
        <telerik:GroupDescriptor Member="tel">
            <telerik:GroupDescriptor.AggregateFunctions>
                <telerik:CountFunction Caption="Entries: "/>
            </telerik:GroupDescriptor.AggregateFunctions>
        </telerik:GroupDescriptor>
    </telerik:RadGridView.GroupDescriptors>
</telerik:RadGridView>

I get following error

Error   1   Invalid property or field - 'tel' for type: Customer   C:\Users\Martinek\Documents\My\Learning.Dot.Net\LINQ.2\LINQ.2\Window1.xaml   6   9   LINQ.2

But this only shows in WPF designer, I can easily compile code without any issues. Logically I believe that WPF designer use some sort of example data which does not contain "tel" column. So when I change column to "CustomerID" (this from example data) I get no errors at all.

Is there any possibility to modify example data shown in WPF designer to what I have from my SQL table. Or any other ideas?
Vlad
Telerik team
 answered on 16 Sep 2010
5 answers
160 views
I have a details presenter display the full detail of a row in the column to the right of my GridView.  This allows the user to look at and edit certain common attributes in the grid and see the complete record detail for only the selected record.  Is it possible to have this presenter populated when the user is inserting a new row?  As the grid works now the details presenter continues to show the data for the previously selected row which is rather confusing.  I assume I could just deselect the row when the new entry panel is started to get rid of the confusion but the preferable behavior would be for it to allow the user to edit the additional attributes of the row in the details presenter while they are entering the new row's information.

As a related question, is is possible to clear the details presenter when more than one row is selected?  As it works now it will keep displaying the detail for the first selected row of the group of selected rows which is rather confusing.
Daniel Meland
Top achievements
Rank 1
 answered on 15 Sep 2010
4 answers
62 views

I'm using the chart control to display a List<ObservableCollection<ResultPoint>> where the ResultPoint object has two properties - Data and Time.  The list has three collections within it.

The following code (for one of the collections) displays the data correctly, but none of the interactivity effects seem to work. 

// Create the Series Mapping for the Voltage Data

SeriesMapping voltageSeriesMapping = new SeriesMapping();

voltageSeriesMapping.CollectionIndex = 0;

voltageSeriesMapping.LegendLabel = "Voltage";

voltageSeriesMapping.ItemMappings.Add(new ItemMapping("Time", DataPointMember.XValue));

voltageSeriesMapping.ItemMappings.Add(new ItemMapping("Data", DataPointMember.YValue));

 


// Create the Series Definition for the Voltage Data

voltageSeriesMapping.SeriesDefinition = new LineSeriesDefinition();

voltageSeriesMapping.SeriesDefinition.AxisName = "Voltage";

voltageSeriesMapping.SeriesDefinition.ShowItemLabels = false;

(voltageSeriesMapping.SeriesDefinition as LineSeriesDefinition).ShowPointMarks = false;

voltageSeriesMapping.SeriesDefinition.InteractivitySettings = new InteractivitySettings();

voltageSeriesMapping.SeriesDefinition.InteractivitySettings.HoverScope = InteractivityScope.Series;

voltageSeriesMapping.SeriesDefinition.InteractivitySettings.SelectionScope = InteractivityScope.Series;

voltageSeriesMapping.SeriesDefinition.InteractivitySettings.SelectionMode = ChartSelectionMode.Single;

 


By looking at an example provided on the forum, I’ve postulated that the interactivity effects only work when the data is a single data object (not a collection as I'm doing) with many properties.  Is this true or am I missing something?

BTW, I'm using a list of Observable objects because the data collections have different numbers of ResultPoints (some have several thousand data points and some have tens of points).

 

Thanks,

Jeff

Jeff
Top achievements
Rank 1
 answered on 15 Sep 2010
1 answer
102 views
Hi,

Is it possible to use Book control for WPF browser application?

Or should I use Silverlight instead? Is there a similar component for Silverlight?

Regards
K.Robb
Viktor Tsvetkov
Telerik team
 answered on 15 Sep 2010
4 answers
228 views
Hello,

I have a listbox and Carousel populate dynamically in a TileView. The TIleView and the Listbox are binded to xml data and is working nicely. My Problem with syncing and binding the carousel. The Carousel is populating the image and text, but only to the first Table in the XML data. When selecting a Item in the listbox the carousel just spins.  I would like to select a item in the listbox and the image of the carousel would Bring to view(Front).
<Grid x:Name="ImGrid" 
                                          Margin="220,0,0,210" 
                                          DataContext="{Binding SelectedItem, ElementName=TileContentData1}" 
                                          Width="400" 
                                          Height="420">
    <Grid.Resources>
        <DataTemplate x:Key="customItemTemplate">
            <Border Background="LightSlateGray" Padding="10">
                <Grid>
                    <StackPanel>
                    <Image  Source="{Binding Source={StaticResource Recipe1},XPath=Image}" Height="240" Width="200" Stretch="Fill" />
                    <TextBlock FontSize="12"  Text="{Binding Source={StaticResource Recipe1},XPath=RecipeID}" />
                    </StackPanel>
                </Grid>
            </Border>
        </DataTemplate>
    </Grid.Resources>
                                        <telerik:RadCarousel
                                            ItemsSource="{Binding}"
                                            ItemTemplate="{StaticResource customItemTemplate}"
                                            Height="400"  />
                                          
                                    </Grid>
                                </Grid>


Any Thoughts?

Thank You
Rick Mueller
Rick Mueller
Top achievements
Rank 1
 answered on 15 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?