Telerik Forums
UI for WPF Forum
4 answers
422 views
Hi all!
In our project, we need to draw a curves on the map. Moreover, a dotted curves.
I've attached a cut of the design, so you can see what I want.

How can I do that ?
I've tried to inherit from MapLine, but that class is not inherit-friendly, almost sealed. So I failed
Petar Mladenov
Telerik team
 answered on 03 Dec 2014
1 answer
173 views
Hello,

is there a possibility to have a different design from the summary task when it is collapsed?
The goal is to have two designs depending on the summary expanded/collapsed state.
In collapsed state it should look like a normal gantttaskbar. In expanded state like current
summary task design.

Regards,
Richard




Polya
Telerik team
 answered on 03 Dec 2014
1 answer
739 views
I was surprised to not find a media player in Telerik UI for WPF.

Is there a way to use the RadMediaPlayer from Telerik UI for Silverlight in a WPF application.
Pavel R. Pavlov
Telerik team
 answered on 03 Dec 2014
1 answer
570 views
I was surprised to find no media player in Telerik UI for WPF.  

Is there a way to use the Silverlight RadMediaPlayer?
Pavel R. Pavlov
Telerik team
 answered on 03 Dec 2014
1 answer
101 views
Is there a way on the GridView to have a "blank" new row, rather than a clickable button?

I think the standard WPF DataGrid does this by default.
Maya
Telerik team
 answered on 03 Dec 2014
2 answers
230 views
I know that you can hold down the CONTROL key and use the mouse wheel to change the magnification in the RadRichTextBox.

Is there a way to do the same thing without using the mouse wheel?  Can I change the magnification using the keyboard only?

Also, we do not want to use a separate slider control to change magnification.  Just a simple key combination would be nice.
Joan VANDERWEYST
Top achievements
Rank 1
 answered on 02 Dec 2014
0 answers
422 views
Hi,

i use a RadGridView like this:

<telerik:RadGridView Grid.Row="2" Grid.Column="0" Margin="10,10,10,0" FontFamily="Tahoma" FontSize="12" x:Name="radGridView" AutoGenerateColumns="False" CanUserReorderColumns="False" CanUserInsertRows="False" CanUserDeleteRows="False" ShowColumnFooters="False" CanUserFreezeColumns="False" RowIndicatorVisibility="Collapsed" >
            <telerik:RadGridView.ColumnGroups>
                <telerik:GridViewColumnGroup  Name="Lokal" Header="lokal DB" />
                <telerik:GridViewColumnGroup  Name="abas" Header="abas-ERP" />
            </telerik:RadGridView.ColumnGroups>
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding AbasID}" Header="abas-ID" IsReadOnly="True" Width="70" UniqueName="AbasID" ColumnGroupName="Lokal"  />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Versionn}" Header="Versionn" IsReadOnly="True" Width="auto" UniqueName="Versionn" ColumnGroupName="Lokal" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Feldname}" Header="Feldname" IsReadOnly="True" Width="auto" UniqueName="Feldname" ColumnGroupName="Lokal" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Feldwert}" Header="Feldwert" IsReadOnly="True" Width="*" UniqueName="Feldwert" ColumnGroupName="Lokal" />
                <telerik:GridViewColumn Header="<<" ColumnGroupName="Lokal" Width="auto">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate >
                            <telerik:RadRadioButton IsChecked="{Binding Syncabastolokal, Mode= TwoWay}" GroupName="Sync" x:Name="Syncabastolokal" Height="25" Width="50"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
 
                <telerik:GridViewColumn Header=">>" ColumnGroupName="abas" Width="auto">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadRadioButton IsChecked="{Binding Synclokaltoabas, Mode= TwoWay}" GroupName="Sync" x:Name="Synclokaltoabas" Height="25" Width="50"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Xabasid}" Header="abas-ID" IsReadOnly="True" Width="70" UniqueName="XAbasID" ColumnGroupName="abas"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Xversionn}" Header="Versionn" IsReadOnly="True" Width="auto" UniqueName="Xversionn"  ColumnGroupName="abas"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Xfeldname}" Header="Feldname " IsReadOnly="True" Width="auto" UniqueName="Xfeldname"  ColumnGroupName="abas"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Xfeldwert}" Header="Feldwert " IsReadOnly="True" Width="*" UniqueName="Xfeldwert"  ColumnGroupName="abas"/>
            </telerik:RadGridView.Columns>               
        </telerik:RadGridView>

Why does the binding of the radiobuttons not work? If a select one RadionButton in a row the selection of the previous row is away.

Thanks
Rene
ITA
Top achievements
Rank 1
 asked on 02 Dec 2014
3 answers
542 views
Hi,

is it possible to set a width of a GridViewColumnGroup? I have to set two groups and each group
should be 50% width.

How can i solve this?

Best Regards
Rene
Nick
Telerik team
 answered on 02 Dec 2014
6 answers
163 views
Hi,

I have my grid in collapsible panel and its at the bottom of the page and the first column is a check box.

Now when page is loaded only first two or three records are visible. Instead of first scrolling down i tried to mark the check box of these two or three records. Instead of marking the check box control first goes to bring the grid in view means auto scroll downward. Then i have to click again to mark the check box.

I want this AutoBringIntoView functionality disabled. 

I have tried few things like ScrolMode='Deferred' but this didn't work.

I also used SalespersonAccessGrid_RequestBringIntoView event and only wrote e.Handled = True. This does not allow grid to scroll down but the selection that i have made was not persisting on the binding object/attribute.

Thanks.



Tony
Top achievements
Rank 1
 answered on 02 Dec 2014
3 answers
78 views
In the project that I am working on, I need to highlight differences, so in col1 I am displaying the source data and in col2 I am showing the target data.  When the cell value in cell1 is not equal to cell2, then I need to color cell 2 to show that there is a difference.  In my small sample app, I am using CellLoaded event and the code below.  This kind of works but from time to time the wrong cells are highlighted.  Also the approach to handle this use case seems kind of brute force and I was wondering if there is a better way to handle this.

Below is a sample piece of code that I have been using in the test

private void RowDataGrid_CellLoaded(object sender, CellEventArgs e)
{
    GridViewCell tgtFld = e.Cell as GridViewCell;

    if (tgtFld != null)
    {
        if (e.Cell.Column.UniqueName.ToUpper().EndsWith("_T"))
        {
             string fieldName = e.Cell.Column.UniqueName.ToUpper().Replace("_T", "_S");
             foreach (var item in e.Cell.ParentRow.Cells)
             {
             if (item.Column.UniqueName.ToUpper() == fieldName)
                {
                if (((GridViewCell)item).Value != tgtFld.Value)
                   {
                       tgtFld.Background = new SolidColorBrush(Colors.Green);
                   }
                   break;
                }
        }
     }
   }
}
Boris
Telerik team
 answered on 02 Dec 2014
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?