Telerik Forums
UI for WPF Forum
1 answer
114 views
Hello,
I'm having the following problem,

In my screen has a TabControl with several TabItems. Each calls a different User Control. In one such User Control also has a TabControl. When I click this item it goes in a loop in the event of TabControl SelectionChange the main screen.

Can someone help me?
Thanks, Alexandre.
Miroslav
Telerik team
 answered on 09 Aug 2010
1 answer
168 views
sample project

Hi,

Please refer to my sample project. Due to my project need to integrate Winform Main program and WPF usercontrol, I add an ElementHost on Form to place WPF usercontrol with RadDocking, but I found that RadDocking Component on Winform has problem.
When I drag a pane and move it, sometimes the pane will disappear. Please exact may sample project and execute WindowsApplication1.sln, then start debugging to produce the scenario, if the problem does not happen, please drag and dock the pane several more times, thanks.

PS: After compile sample project,  WindowsApplication1\WindowsApplication\bin\Debug have 2 .exe files
AddPanes.exe is pure WPF application, WindowsApplication.exe is my scenario application.
George
Telerik team
 answered on 09 Aug 2010
3 answers
185 views
In one of our RadGridViews, we have a date-field. The GridView recognises the date-type and - hen in edit-mode - shows a nice RadDateTimePicker. This works fine! Even the culture has been set.

<telerik:GridViewDataColumn
DataMemberBinding="{Binding ADato}" Header="A dato." Width="80" UniqueName="ADato" DataFormatString="{}{0:d}" >    
 </telerik:GridViewDataColumn>

But...
- How can we use the ctrl + arrowdown to open the calendar (wihout using the mouse)? 
- How can we select the whole text/date when entering the DateTimePicker or when he's got focus?
- Isn't it a bit strange that the RadDateTimePicker accepts letters/text/words...?
George
Telerik team
 answered on 09 Aug 2010
1 answer
141 views
Hi,
For data loading efficiency, I want to load the amount of object that would be visible in the grid (without scrolling), and load the rest later in a different thread.

Is there a way I can get the amount of rows that would be visible in the grid before populating it with data?

Thanks,
David
Vlad
Telerik team
 answered on 09 Aug 2010
6 answers
714 views
Hi,

How can show Horizontal scrollbar only on radgridview using property or method?

Thanks,
-Narendra
Narendra
Top achievements
Rank 1
 answered on 09 Aug 2010
1 answer
294 views
Just wanted to say I love your guys controls and support.  I use them for about everything.  I have been using the Infragistics grid only because up until this release, they seemed to have strong Excel-like Copy/Paste functionality.  So I am using the Gridview with WPF.

My question is this. I would like there to always be a new row available to add at the top, like the Infragistics Gridview.  Another reason why this is so important is that in some cases, my users might select 10 rows in Excel, copy them, click on the New Row and click paste, and it will insert as many rows needed and then always have an available row again to Add New Row.

Is this possible with your Gridview?  I see how you can add a button that adds a new row, but I want it to always be there and then be able to paste multiple rows into the grid. I am trying to get it as much like Excel as possible.

Yavor Georgiev
Telerik team
 answered on 09 Aug 2010
1 answer
134 views
Hi,

  I have bound the GridView to a collection of objects implementing IDataErrorInfo for validation (as I want my validation on a view model, not in event handlers in the view). 

All appears to work well until I scroll horizontally or vertically.  Once I have seen an invalid cell on screen, scrolling to the side or up/down will then make it seem like other cells also have the same validation error. I assume this is down to the container recycling.  I have attempted to turn container recycling off using VirtualizingStackPanel.VirtualizationMode="Standard" but this had no effect.  There is way too much data to even consider turning row/column virtualization off.  Incidentally, I had this same grid working using the DataGrid from WPF Toolkit. Although the toolkit grid did have poorer performance it did not suffer this container recycling issue.

Is this a known issue - are there any workarounds? I'm really keen to start using the RadGridView but if I cannot get validation working as expected then I will have to stick to the toolkit.

Regards,

Andy
Nedyalko Nikolov
Telerik team
 answered on 09 Aug 2010
1 answer
183 views
Hi,

My RadGridView is binding to a DataTable, and one column is boolean checkbox. I have to click the chechbox for several times to enable to edit it, how do I solve this problem?

<Window x:Class="Window1"
    Title="Window1" Height="300" Width="300" xmlns:my="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView">
    <Grid>
        <my:RadGridView Name="RadGridView1" />
    </Grid>
</Window>
Class Window1 
  
    Public Sub New()
  
        InitializeComponent()
  
  
        Dim dt As New System.Data.DataTable
        dt.Columns.Add("hide", GetType(Boolean))
        dt.Columns.Add("highlight", GetType(String))
        dt.Columns(0).DefaultValue = True
        dt.Columns(0).ReadOnly = False
  
        dt.Columns(1).DefaultValue = "test"
        dt.Columns(1).ReadOnly = True
  
        Dim row1 As System.Data.DataRow = dt.NewRow
        row1("hide") = True
        row1("highlight") = "A"
        dt.Rows.Add(row1)
  
        Dim row2 As System.Data.DataRow = dt.NewRow
        row2("hide") = True
        row2("highlight") = "B"
        dt.Rows.Add(row2)
        RadGridView1.ItemsSource = dt
    End Sub
End Class
Vlad
Telerik team
 answered on 09 Aug 2010
1 answer
133 views
Is there a way to load up images from external folder and put inside the book?
Miroslav
Telerik team
 answered on 06 Aug 2010
7 answers
622 views
Try as I might, I can find no way to listen for a Click event within a GridViewHyperlink column cell. What am I missing? I am creating the columns of the grid dynamically based on metadata retrieved from a database, e.g.,

column = new GridViewHyperlinkColumn();
(column as GridViewHyperlinkColumn).ContentBinding = new Binding(columnInfo.FieldName);
column.DataMemberBinding = new Binding(columnInfo.FieldName);
column.IsFilterable = columnInfo.CanFilter;
column.Header = columnInfo.DisplayName;
column.IsEnabled = columnInfo.IsEnabled;
column.IsReadOnly = true;

What I would like to be able to do is write something like
(column as GridViewHyperlinkColumn).Clicked += MyClickHandler;
However, the Clicked event is not defined for the column type.

How can I receive the click event?

Thanks,
Chris.
Sathish
Top achievements
Rank 1
 answered on 06 Aug 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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
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
Rating
SplashScreen
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?