Telerik Forums
UI for WPF Forum
3 answers
268 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
85 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
179 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
70 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
109 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
245 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
4 answers
123 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
145 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
96 views
How to hide all radpane in a docking panel?
George
Telerik team
 answered on 15 Sep 2010
4 answers
312 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
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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?