Telerik Forums
UI for WPF Forum
1 answer
97 views
I need to call a custom method when the slider / scroller of the RadPdfViewer slides up and down. How can I do that ?
Kammen
Telerik team
 answered on 21 Jun 2012
1 answer
160 views
Hi,

I am using RadGridView to display a List of objects that implement IDataErrorInfo, this list is being populated by objects imported from an XML file. Unfortunately some of the records may contain invalid data which the application should point out. Implementing IDataErrorInfo lets me do this wonderfully.

However, I would like to find a way to get these invalid rows, and valid ones, and I have not managed to find a way to do so.

Any ideas?

Thanks,
Daryl
Nedyalko Nikolov
Telerik team
 answered on 21 Jun 2012
0 answers
140 views

Dear support,

When I click "Add", fill-in data and then "OK", the data has successfully put in the collection but "Add" button is still disabled.
I have to click "Edit" follow by "Cancel" so that the "Add" button become enabled again.

Now I know what cause the problem.
The dataform was bound to a ListCollectionView of objects that implement IEditableObject and INotifyPropertyChanged.
By design, those objects raised OnPropertyChanged event on EndEdit or CancelEdit method because there were some changes in their internal properties. This made the dataform think the object has been changed again so it didn't enable navigation and Add New buttons.

My question, can we make the dataform pay attention to only those properties bound to UI element under the dataform, or is there any other solution?

thanks,
Meaw

Sirilak Tanepoon
Top achievements
Rank 1
 asked on 21 Jun 2012
1 answer
78 views
I notice that out-of-the-box the RadGridView auto-generates columns for navigation properties from an OData source, regardless of whether or not they were actually expanded by the query. Is there anything built into the controls to more flexibly handle navigation properties? I was thinking it might be nice to automatically generate hyperlinks in these cells that would issue the appropriate query back to the service when clicked.

It looks like I could roll my own scheme by intercepting AutoGeneratingColumn and setting up a cell template, but then how would I determine the link information from the feed?
Vlad
Telerik team
 answered on 21 Jun 2012
1 answer
122 views
How can I set the column header text to Bold in the Transparent theme?

Thank you.
Vlad
Telerik team
 answered on 21 Jun 2012
2 answers
362 views
I'm looking for a quick way to implement a multi-select GridViewComboBoxColumn that will bind to a nested string list collection.  The most current discussion I could find was this post (http://www.telerik.com/community/forums/silverlight/gridview/multi-select-combobox-column-in-grid-view.aspx) which is 2 years old.  Has this feature been implemented since then? 
Vic
Top achievements
Rank 1
Iron
 answered on 21 Jun 2012
3 answers
194 views
Now that there is a CloseButtonPostion property which can be set to InPaneAndGroup, is there any way to determine the source of the PreviewClose event; either from a pane or from the group?  If not it would be useful.

Thanks in advance,
Steve
Steve
Top achievements
Rank 1
 answered on 20 Jun 2012
3 answers
83 views
Hi,
Using runtime set style only set telerik control not set wpf standard control.
Dimitrina
Telerik team
 answered on 20 Jun 2012
1 answer
180 views
I just installed version 2012.2 607 but I dont seem to have the PDFViewer. Is there something that I am missing?
Vasil
Telerik team
 answered on 20 Jun 2012
4 answers
331 views
Hi,
I need to bind some properties (background color) of my appointments to special fields added.

So, this is my extended Appointment class (inherits Appointment)
public class AppointmentExt : Appointment
{
    public planning_slot Slot { get; set; }
    public string SpecialTooltip { get; set; }
    public Color SpecialForecolor { get; set; }
}

This is my schedule XAML

<telerik:RadScheduleView x:Name="rsvCalendar" FirstVisibleTime="09:00" telerik:StyleManager.Theme="Metro" Grid.Column="1" Grid.ColumnSpan="2" Margin="8" Grid.Row="1" FirstDayOfWeek="Monday" Background="#BFFFFFFF" BorderBrush="#BFD6D4D4" Foreground="#BF767676" IsInlineEditingEnabled="False" AppointmentCreating="rsvCalendar_AppointmentCreating" AppointmentDeleting="rsvCalendar_AppointmentDeleting" AppointmentEditing="rsvCalendar_AppointmentEditing" ShowDialog="rsvCalendar_ShowDialog" AllowDrop="False" VisibleRangeChanged="rsvCalendar_VisibleRangeChanged" ToolTipTemplate="{DynamicResource ScheduleTooltip}" AppointmentStyleSelector="{DynamicResource AppointmentItemStyleSelector}">
            <telerik:RadScheduleView.ViewDefinitions>
                <telerik:DayViewDefinition MajorTickLength="1h" MinorTickLength="1h" MinTimeRulerExtent="200" MaxTimeRulerExtent="500" DayStartTime="07:00" DayEndTime="19:00"/>
                <telerik:WeekViewDefinition MajorTickLength="1h" MinorTickLength="1h" MinTimeRulerExtent="200" MaxTimeRulerExtent="500" DayStartTime="07:00" DayEndTime="19:00"/>
                <telerik:MonthViewDefinition/>
                <telerik:TimelineViewDefinition/>
            </telerik:RadScheduleView.ViewDefinitions>
        </telerik:RadScheduleView>

this is from my dictionary.xaml

<SolidColorBrush x:Key="AppointmentItemBackground_Selected" Color="???"/>
<Style x:Key="AppointmentItemBaseStyle" TargetType="local:AppointmentItem">
        <Setter Property="Background" Value="???" />

How can I bind ??? to SpecialForecolor properties of my AppointmentExt class ?

Thanks

p.s: SpecialTooltip is binded and worked fine



Aldo
Top achievements
Rank 2
 answered on 20 Jun 2012
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
MultiColumnComboBox
SyntaxEditor
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
Bronze
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
Bronze
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?