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

I am trying to use data virtualization with radtreelistview.

SummaryData 

[] lstData = GetSummaryData();
VirtualQueryableCollectionView vqResults = new VirtualQueryableCollectionView(lstData) { LoadSize = 100, VirtualItemCount = 100000 };
radTreelistView.ItemsSource = vqResults ;


But i am getting a blank screen.

If I directly assign the source to radtreelistview, it loads correctly.
I need to implement data virtualization with radtreelistview.  Are there any demerits of using data virtualization ?
Can you please provide an example project.

Thanks.

 

Vlad
Telerik team
 answered on 28 Feb 2013
4 answers
308 views
Hi,

I wonder if it is possible to extend the Section, Block and Paragraph objects, and wither they have any visual representation to them?

We are trying to create an editor using the RadRichTextbox, where the user should add one or more section (similar to the container concept in WPF) to the document, and then then add blocks within each section, and then they add text, images, inline controls...etc. to each block. After that, we want to enable the user to re-order those sections or the blocks within each section. So ideally, when a mouse over a section, the whole section border will be visible, to show the section boundaries. When the user right clicks, a context menu will show up to allow moving the section up/down. Same functionality should be there for blocks.

Can we use the section object “Telerik.Windows.Documents.Model.Section” to achieve this functionality? We are inspiring our specific purpose editor from this hierarchy

http://www.telerik.com/help/wpf/radrichtextbox-features-document-elements-hierarchy.html

and would like to reuse those object! Any advice?

Cheers
Petya
Telerik team
 answered on 28 Feb 2013
1 answer
190 views
Hi
I am using data annotations to validate items in a collection presented in a RadGridView.
It successfully validates a property of an item in the collection e.g. a name is required
// ...
{
    public class GroupOfItems
    {
        [Required(ErrorMessage="Name must be provided!")]
        public string GroupName { get; set; }
// ...

I now want to ensure the name is unique within the collection. I have tried adding the [Key] attribute but no error is indicated if I enter another item with the same name. It may be that [Key] is not appropriate in this context.

What can you suggest I do to implement this validation rule?
Thanks
Craig
PS. I'm using C#, WPF, MVVM, Rad Controls for WPF 2012.3.1129.40

Nedyalko Nikolov
Telerik team
 answered on 28 Feb 2013
1 answer
81 views
For some reason, vertical lines do not appear on our scheduleview until the vertical scroll bar is used. I've attached two images for reference.

Please Advise.
Yana
Telerik team
 answered on 28 Feb 2013
6 answers
393 views
I have a radribbonview defined as this:

<telerik:RadRibbonView IsMouseWheelTabScrollingEnabled="False" ApplicationButtonVisibility="Collapsed" TitleBarVisibility="Collapsed" Background="HotPink">
          <telerik:RadRibbonTab HeaderVisibility="Collapsed">
              <telerik:RadRibbonGroup />
              ...
              <telerik:RadRibbonGroup />
          </telerik:RadRibbonTab>
<telerik:RadRibbonView />

I set the background to hotpink to illustrate my problem. There is only one radribbontab inside the radribbonview - so I really do not need any header for it.

In my program it looks like this (see attached file). The top row of tabs ("Project", "Contacts"... are not part of this problem, my problem is on a radribbonview inside the "Suppliers" tab).

I changed it resently from RadRibbonBar to RadRibbonView because it kept bugging me that RadRibbonBar is obsolete.

How do I make the large "margin" in top go away (the margin is not really a margin - it is where my RadRibbon tab would have had it's header if it had one). Anything else I need to collapse?

Thanks
Inger Marie
Inger Marie
Top achievements
Rank 1
 answered on 28 Feb 2013
0 answers
569 views
Hello telerik team. I have problem with CellEditTemplate navigation. I have GridViewDataColumn with RadMaskedNumericInput CellEditTemplate:
<telerik:GridViewDataColumn Name="RateColumn" DataMemberBinding="{Binding Rate,Mode=TwoWay}"
                          Header="{x:Static properties:Resources.CurrencyRateHeader}" DataFormatString="{} {0:#########0.00000000}">
                        <telerik:GridViewDataColumn.CellEditTemplate>
                            <DataTemplate>
                                <controls:RadMaskedNumericInput InputBehavior="Insert" Value="{Binding Rate, Mode=TwoWay}"
                                                                IsClearButtonVisible="False" Mask="##.########" FormatString="########00.00000000"
                                                                SpinMode="PositionAndValue"
                                                                UpdateValueEvent="PropertyChanged"
                                                                SelectionOnFocus="SelectAll"
                                                                KeyboardNavigation.TabNavigation="Local"
                                                                HorizontalAlignment="Stretch"
                                                                />
                            </DataTemplate>
                        </telerik:GridViewDataColumn.CellEditTemplate>
 
                    </telerik:GridViewDataColumn>

The problem is in navigation: when i'm ending editing of this cell i cannot navigate to the next row's cell on hitting enter button. Navigation work's only with Tab button. How can i achieve desired result?
Alex Suutri
Top achievements
Rank 1
 asked on 28 Feb 2013
5 answers
364 views
Hello, the problem is such DataDrid to create a context menu, but it has a function of interaction with the selected row, so that when one line is highlighted, and we click the right mouse button on the 2, the context menu appears for the selection, that is, for one. Need to by pressing the right button on the DataGrid stood Item and its context menu. Tell me how to implement this.
Владимир
Top achievements
Rank 1
 answered on 28 Feb 2013
1 answer
67 views
Hi Telerik,

is it possible to have multiple zooms in a chart with multiple y-axes? (for each Y axis it's own zoom)


Greetings Uwe
Peshito
Telerik team
 answered on 28 Feb 2013
3 answers
63 views
I'm trying to use the RadGridView control for a WPF app (.NET 4.5). We've got a WCF service which runs a SQL query that looks at 2 tables in 1 database, and a third table in a secod database. The WCF service returns all of the results. The results include things like client number, case number, client's first and last names, date of birth, etc. We want to group the results by the client number, and that's easily done, but what we also want to do is display things like the client's first and last name, DOB, etc in the group header. Clearly, however, we don't want to group by the client's name, or DOB, etc. Only by the client number (the case number does change from one record to the next and some other fields do too, but aren't relevant to this discussion).

My question is a simple one, is it possible to put into the group header data that isn't a part of the group, like client's first and last name, DOB, etc? If so, how is that done. But if not, then how do we get the data in a way that the RadGridView will display it the way we need it displayed?
Vlad
Telerik team
 answered on 28 Feb 2013
0 answers
98 views
Hi,
I'm trying to use the GridView export to *whatever format*, and they all seem to work fine, except the export to Text. I tried using your demo online, and that gave me the same problem. When I save it, it saves as a .doc (I also tried with .docx), and then the file is naturally saved to my drive as that format. However when I open it, it tries to open in a browser (in my case IE), and throws an error and won't open. First of all, have you seen this before, and secondly why would it try to open in a browser? Shouldn't it just be Word?

Thanks,
Ryan
Lars
Top achievements
Rank 1
 asked on 27 Feb 2013
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)
DesktopAlert
WatermarkTextBox
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?