Telerik Forums
UI for WPF Forum
1 answer
149 views
      public ObservableCollection<ABC_Class> Avldata = new ObservableCollection<ABC_Class>();

             Avldata.Add(new GrpClass() { A =1, B = 1, C = 1});
             Avldata.Add(new GrpClass() { A =2, B = 2, C = 2});
             Avldata.Add(new GrpClass() { A =3, B = 3, C = 3});
            ((GridViewComboBoxColumn)this.ABC.Columns["B"]).ItemsSource = GetOptions();
             this.ABC.ItemsSource = Avldata.ToList();

  <telerik:RadGridView Name="ABC"
                             AutoGenerateColumns="True"  Grid.ColumnSpan="4"  Grid.RowSpan="3"
                             ShowGroupPanel="False" EnableRowVirtualization="True" EnableColumnVirtualization="True"  RowIndicatorVisibility="Collapsed" Margin="10,0,0,6" CellValidating="CellValidating" AddingNewDataItem="AddingNewDataItem" RowEditEnded="RowEditEnded" DataLoaded="Dataload" KeyDown="KeyDown" CellEditEnded="CellEditEnded" RenderTransformOrigin="0.5,0.5" Grid.Row="2" BeginningEdit="BeginningEdit" RowLoaded="RowLoaded"  VerticalAlignment="Top" CanUserResizeColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" CanUserSortGroups="False" ColumnWidth="80" KeyboardNavigation.AcceptsReturn="True" MaxColumnWidth="150" MinColumnWidth="80"  CanUserFreezeColumns="False" ContextMenuService.IsEnabled="False" IsFilteringAllowed="False" EnableLostFocusSelectedState="False" IsLocalizationLanguageRespected="False">
            <telerik:RadGridView.Columns>

                <telerik:GridViewComboBoxColumn UniqueName="B" DisplayMemberPath="Name" SelectedValueMemberPath="ID" DataMemberBinding="{Binding Option}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>  I am trying to show combo box in Column "B" edit mode so user can select value from combo.but combo box appearing in column index "0".how to fix the problem .thanks







Stefan
Telerik team
 answered on 16 Mar 2015
1 answer
183 views
Is there a way to set the cell text orientation to vertical or a specific angle?
Tanya
Telerik team
 answered on 16 Mar 2015
3 answers
150 views
Hi

We have a requirement wherein a NumericUpdown has to display numbers in a 2 digit decimal format.

So the User enters - 40.12

and Model value should be set to 0.4012

can this be done by some formatting options ?

Hope my question is clear.

Thanks
Nasko
Telerik team
 answered on 16 Mar 2015
2 answers
194 views
Hi,Telerik:
How to customize the GridViewHyperlinkColumn column in the RadGridView, and the expansion of custom columns GridViewHyperlinkColumn
function, according
to the type of
column Link to
different XAML
pages, the hope
can give an
example, thank
you!
Gao
Top achievements
Rank 1
 answered on 16 Mar 2015
1 answer
138 views
I have display whether 10 or more records in RadGridView. then i can scroll down. in my functionality click checkBox after that RadGridView itemsource are assigned or refreshed Radgridview fully refreshed. in this situation i need to display previously scroll position.

Ex:
----
this.MedicalNoteHistoryGrid.ScrollIntoViewAsync(this.MedicalNoteHistoryGrid.Items[this.MedicalNoteHistoryGrid.Items.Count - 1],
                                                                      this.MedicalNoteHistoryGrid.Columns[this.MedicalNoteHistoryGrid.Columns.Count - 1],
                      new Action<FrameworkElement>((f) =>
                         {
                           (f as GridViewRow).IsSelected = true;
                        }

                     ));

i can try above the code display last index of gridview row. in my functionality how to get the scroll position.

Regards,
Dhanush.


Dimitrina
Telerik team
 answered on 16 Mar 2015
1 answer
377 views
I have a RadGridView that is using filters. And i have a RadDataPager with its source set to the "Items" of the RadGridView. I want to display the total number of filtered items in the grid. What is the best approach to get the number of filtered items? Since i use paging, i cant just count the visible rows in the grid. And i cant use the RadDataPager.PagedSource.ItemCount, since that value is not affected by the filtering. Is there no "FilteredItemsCount" i can use? ;)
Dimitrina
Telerik team
 answered on 16 Mar 2015
7 answers
335 views

Hello

I need to give the numeric up down IsReadOnly property, and the user can't input data.

IsEditableProperty =False  the user can insert data in the keys up/down arrows,page up/down keys.

How to implement this scenario?

Best regards

Ehud.

Kalin
Telerik team
 answered on 16 Mar 2015
1 answer
162 views
Migrating from Telerik UI for WPF 4.0 2014.3.1021 to 2015.1.225.40 I've found the following issue.

A requirement of the project I'm working on is that some shapes must have only the 'Auto' connector (others are programmatically removed as below):

var connectorsToBeRemoved = shape.Connectors.Where(x => x.Name != "Auto").ToList();
 
foreach (var connector in connectorsToBeRemoved)
{
    shape.Connectors.Remove(connector);
}

Connecting an arc from any shape to this kind of shape the connection EndPoint is equals to StartPoint, so the connection is not visible.
Adding a fake connector solves the issue, but of course is a workaround:

private static void WorkaroundTelerik2015Q1(RadDiagramShape shape)
{
    var fakeConnector = new RadDiagramConnector {Offset = shape.Connectors[0].Offset, Name = "Fake", IsEnabled = false,};
    shape.Connectors.Add(fakeConnector);
 
    Canvas.SetZIndex(fakeConnector, -999);
}

Another workaround - not viable for me because of existing saved diagrams - is to rename the 'Auto' connector to something else.

Is there a better solution?
Is this the desired behavior or is it a bug?

Thank you for your time.

Regards, 


Manuel
Milena
Telerik team
 answered on 16 Mar 2015
5 answers
578 views

I am trying to display data vertically using wpf telerik RadGrid, which needs to be exported to excel in the same layout format. I have set LayoutTransform property of the telerik wpf radgrid to an angle so as to achieve this, but have run into below issues:

export the data with vertical layout intact,
grid lines disappeared after applying rotation style to the grid cells,
unable to hide the row selection highlight,
horizontal and vertical scrolls are not aligned correctly

Can someone please help me with these? I am also wondering, if is it preferable to use PivotGrid for such layout?

Any suggestions would be of great help!

Thanks in advance, Lax

 

Dimitrina
Telerik team
 answered on 13 Mar 2015
2 answers
279 views
I am using the solution from another thread to hide the group headers, that works fine but i can still see a small line/rectangle, is there a way to hide that. (attached image).

Thanks
vikas

<local:OrientedGroupHeaderContentTemplateSelector.HorizontalResourceTemplate>
                <DataTemplate>
                    <ContentPresenter Content="{Binding FormattedName}" Height="0" Margin="0" Visibility="Collapsed" />
                </DataTemplate>
            </local:OrientedGroupHeaderContentTemplateSelector.HorizontalResourceTemplate>
Vikas
Top achievements
Rank 1
 answered on 13 Mar 2015
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
InlineAIAssistant
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?