Telerik Forums
UI for WPF Forum
1 answer
168 views
We are using the telerik:StyleManager.Theme = "Windows8Touch" for TextBox.
The validation errors using IDataErrorInfo are being displayed as seen in the attached screenshot.
Is there a way to have the flyouts automatically align to the Left of the control, if there is no space on the right?
Vanya Pavlova
Telerik team
 answered on 01 Jan 2014
1 answer
222 views
Hi,

We  are using Telerik TreeView in which checkbox have been added. When we enter the space bar, check box is not checked.
But when we enter three times space bar then checkbox will be checked.
The same scenario, when we trying to simple WPF tree view control all working as well. But in Telerik Treeview we have noticed, while entering the space bar in first hit Index will be focused, in second hit focus will be lost and when we enter third time space, the checkbox will be checked.
NOTE: In our treeview control have not child items of their parents.
 I have tried lots but no effect....

Please help Is it either Telerik Treeview issue or we are missing something.
Tina Stancheva
Telerik team
 answered on 31 Dec 2013
3 answers
105 views
I use ObservableCollection<XElement> as ItemsSource. I found that the Group Panel does not accept selected column headers. Is there any possibilities that i can still use XElement as DataSource.
Dimitrina
Telerik team
 answered on 31 Dec 2013
1 answer
87 views
When I update Itemssource about 300ms to add one point to ScatterLine,but when add A few minutes,the view occurred some  block,
could you Have Solution?


Pavel R. Pavlov
Telerik team
 answered on 30 Dec 2013
1 answer
138 views

Hi ,
Am using a RadGridview control to populate my data and using the ElementExporting event to customize the data while exporting to Excel.

My customization need goes like, I want to add some metadata(some info the grid like report name, date generated, owner etc , at the top A1 cell ) to the grid data that is getting exporting . beneat that my actual grid data should be shown, and it should be sorted as my need.
I could able to append the metadata using the

grdRiskClarityReport.Export(stream,

new GridViewExportOptions()

{

Format=

ExportFormat.Html,

ShowColumnHeaders =

true,

ShowColumnFooters =

true,

ShowGroupFooters =

false,

});


and my event goes like this,

private void grdRiskClarityReport_ElementExported(object sender, GridViewElementExportedEventArgs e)

{

if (e.Element == ExportElement.HeaderCell && temp== 0)

{

// if (obj != null)

{

e.Writer.Write(

String.Format(@"<tr><td style=""background-color:#CCC;"" colspan=""{0}"">","dfdfd"));

e.Writer.Write(

String.Format(@"<b>Proposal Name:</b> {0} <br />", "dfdfd")); //need to input properdata

e.Writer.Write(

String.Format(@"<b>Proposal Status:</b> {0} <br />", "dfdfd"));

e.Writer.Write(

"</td></tr>");

temp = 1;

// using the restrict the metadata to the first cell

}

}

}



Could you please provide me a sample in wpf version that serves my need ?


Thanks in advance,
Srinivas J
Yoan
Telerik team
 answered on 30 Dec 2013
3 answers
211 views
Hi,

I am using the Virtual Queryable Collection View with the telerik Grid Views. When I scroll using the Mouse Wheel and the Scroll Direction is Down it calls the Items Loading event which lets me fetch the next set of view models; However when the scroll direction is UP using the Mouse Wheel I would like to load the set of View Models which are above the current item. This will avoid firing the Items Loading event for every single Item when scrolling UP using the Mouse Wheel.


Please refer the image file attached for more details.

Thanks,
PD.




Dimitrina
Telerik team
 answered on 30 Dec 2013
6 answers
345 views
I am somewhat new to WPF and styling, but I understand most of the basics.

I have managed to modify the expander as well as a few other items.

But one simple thing has escaped me - styling the foreground of the RadTreeViewItem.

This:
<Style TargetType="{x:Type telerik:RadTreeViewItem}">
   <Setter Property="Foreground" Value="#ffff0000"/>
</Style>
is not only not setting the font color, but no items show up.

Any help?  I'm sure it's simple.

Also, I second the suggestion for more examples and perhaps more documentation.

This is my favorite page: http://www.telerik.com/help/wpf/radtreeview-structure.html

Thanks!


Tak
Top achievements
Rank 1
 answered on 30 Dec 2013
5 answers
1.0K+ views
Running the latest 2013 version.

I read this:
http://www.telerik.com/help/wpf/radgridview-performance-tips-tricks.html

And it makes sense that a large dataset should be time consuming...
"Binding large dataset to the RadGridView is a time consuming task that can at times test the user’s patience."

I'm binding to 10 items and it takes 62 milliseconds (measured from DataLoading to DataLoaded). However, the control takes around a second to display the items. This makes no sense at all. I have bound to a simple data item with simple dependency properties:

<Window x:Class="Vironova.MiniTem.Views.MyTableWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="MyTableWindow" Height="700" Width="300">
        <telerik:RadGridView x:Name="radGridView" Width="Auto" Height="Auto" AutoGenerateColumns="False" ItemsSource="{Binding MyViewModel.MyObjects}" SelectionMode="Multiple" DataLoadMode="Asynchronous">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding MyType}" Header="Type"/>
                <telerik:GridViewDataColumn DataFormatString="F1" DataMemberBinding="{Binding Value}" Header="Value"/>
            </telerik:RadGridView.Columns>   
        </telerik:RadGridView>
</Window>

MyObjects is an ObservableCollection<>.

Also, when scrolling this list of items (setting the height to a lower value) it lags.

What could be causing this?

UPDATE:
I just realized that all filter functions seem to clear the list. If I sort on the first column, the items go away. I then have to click two times until the sort arrow disappears - then the items are re-populated (after a second of wait).
Dimitrina
Telerik team
 answered on 30 Dec 2013
3 answers
240 views
I was trying to get the "Databinding" tab control demo working that allows you to dynamically add and remove tabs, and I don't see how to set the content for the currently selected tab. This is what I would like to do.

I have a search button. When I press the search button, I want to be able to dynamically add content to the selected tab. The content should remain when the user switches tabs as well(I am assuming for this I just need to set the IsContentPerserved flag). I would like to be able to do this in the code-behind, as I am pulling data with entity framework to populate a user control, which I will then put in the selected tab. How would I do this? Thank you.
Pavel R. Pavlov
Telerik team
 answered on 27 Dec 2013
2 answers
227 views
Hi.

I'm struggling to fit the PivotGrid to my use case and can't seem to find any relevant example.
Basically, I have two group levels, let's say Product Category (first level) and then Product Name (second level, with each category containing one or more products). The Product Sale Amount is the numeric value I need to group on (Sum). The columns of the pivot will be the sale dates, in months. The problem is that products could be in different currencies, but each product is always in the same currency.
Would it be possible to have the Level 2 as "Product Name" + "Currency", as two adjacent columns? I can get the currency as a third level but that is not ideal since I need to unnecessarily expand an extra level.
Also, since it would be incorrect to sum amounts in different currencies, would it be possible to remove (or hide) the "Grand Total" column for Level 1 only?

Many thanks
Domenico
Ventzi
Telerik team
 answered on 27 Dec 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
DataPager
PersistenceFramework
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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?