Telerik Forums
UI for WPF Forum
1 answer
261 views
Hi, 

i'm using the RadMaskedTextInput with NotifyOnValidationError and it works great. Currently it displays the message beside the textbox, but i need to show the error message below the textbox, how can i achieve this?
Pavel R. Pavlov
Telerik team
 answered on 27 Aug 2013
1 answer
129 views
Hi,

I am developing a application for a customer using telerik comoponents - so we tought we can use telerik GridView at the beginning it was ok but after i applied the windows8 theme the performnace is dead.

Here are a few hints which kills the performance:
* When the grid gets the FrameworkElement.Unloaded event it consumes too much time accessing hashCode
Please check the function "private void OnUnloaded(object sender, RoutedEventArgs e)" inside GridViewDataControl.cs line 202
The problem is that we have a nested loop where we iterate through a IDictionary<object, IEnumerable<IDisposable>> - please add the possibility to disable this behaviour (I see its only enabled when WPF is used) - i am good if the GC takes care of.

* Inside ClearIctdSubscriptions (GridViewDataControl) you call containskey on a map and than access it with a indexer this means we search twice - why do you guys do not use TryGetValue there?
And again stop calling dispose there on each element which consumes to much time if we want to switch fast between views

How to reproduce it
1) Telerik.Windows.Controls.StyleManager.ApplicationTheme = new Telerik.Windows.Controls.Windows8Theme();
2) Create a custom object and populate the grid with 10 items (yes thats enough to see the lag)


Nedyalko Nikolov
Telerik team
 answered on 27 Aug 2013
3 answers
401 views
Hi there,

I'm trying to assign resources to appointments in the code behind. When I assign them, the appointment displays the correct resource when I edit the appointment, however the appointment itself is displayed in the blank resource column.

Here is the XAML:
<telerik:RadScheduleView x:Name="ScheduleView" SnapAppointments="True">
    <telerik:RadScheduleView.ResourceTypesSource>
        <telerik:ResourceTypeCollection>
            <telerik:ResourceType DisplayName="Room" Name="Room">
                <telerik:Resource DisplayName="Room 1" ResourceName="Room 1" ResourceType="Room"/>
                <telerik:Resource DisplayName="Room 2" ResourceName="Room 2" ResourceType="Room"/>
            </telerik:ResourceType>
        </telerik:ResourceTypeCollection>               
    </telerik:RadScheduleView.ResourceTypesSource>
    <telerik:RadScheduleView.GroupDescriptionsSource>
        <telerik:GroupDescriptionCollection>
            <telerik:ResourceGroupDescription ResourceType="Room" ShowNullGroup="True"/>
        </telerik:GroupDescriptionCollection>
    </telerik:RadScheduleView.GroupDescriptionsSource>
    <telerik:RadScheduleView.ViewDefinitions>
        <telerik:DayViewDefinition DayStartTime="7:00" DayEndTime="19:00" MajorTickLength="1h" MinorTickLength="10min"/>
        <telerik:WeekViewDefinition DayStartTime="7:00" DayEndTime="19:00"/>
    </telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>

And here is the code behind:
private ObservableCollection<Appointment> appointments;
void ExamRoomScheduler_Loaded(object sender, RoutedEventArgs e)
{           
    appointments = new ObservableCollection<Appointment>();
    ScheduleView.AppointmentsSource = appointments;
 
    ExamRoomAppointment temp;
 
    temp = new ExamRoomAppointment("Test", DateTime.Now, DateTime.Now.AddMinutes(20), "Room 1");
    appointments.Add(temp);           
    temp.Resources.Add(new Resource() { ResourceType = "Room", ResourceName = "Room 1", DisplayName = "Room 1" });
}

ExamRoomAppointment inherits from Appointment.

I must be doing something wrong here but I can't seem to figure it out!

Thanks,
Anthony
Kalin
Telerik team
 answered on 27 Aug 2013
1 answer
112 views
I followed the instruction here: http://www.telerik.com/help/wpf/445c6c91-a5d2-4b2f-aa20-d238f1c4ad03.html to edit the style of my tabs.

I am editing a copy the RadTabControl template.  When I create a copy of the template using 'Edit a copy' The new copy has all of the settings in it but the tab doesn't respond to the mouse. Even if I 'Edit a Copy', and make no changes, just save and build the project, the tab stops responding to Mouse over and Normal state. They stay stuck in the Normal state even though the tabs do work and can be selected in the application.

As far as I understand, if I make a copy and make no changes, then it should behave the same as the other tabs using the default template. This is not the case

I am using Q3 2013 and Blend 5.

Thanks,

Bruce
Pavel R. Pavlov
Telerik team
 answered on 27 Aug 2013
1 answer
228 views
When a document is exported from RichTextBox into XAML it cannot be displayed in FlowDocumentReader control.

I looked at the exported XAML and the root element is <t:RadDocument>. This cannot be displayed in FlowDocumentReader control. I tried enclosing this within <FlowDocument> element but that did not help...

Anyway, how do I display XAML document exported by RichTextBox in FlowDocumentReader control? Or can this XAML genarated by RichTextBox only be displayed by the Telerik RadRichTextBox control?
Deyan
Telerik team
 answered on 27 Aug 2013
3 answers
357 views

i have been looking on the Forums and Documentation for some samples on how to edit Custom Styles for the Ribbon UI in XAML and also in Code Behind.

If there are links or fourm posts', could you link them, and I will look at those.

If not could you make s small project for WPF?

We want to add a custom style with Times New Roman Font Size 10
Sample Spacing so 1 not 1 1/2
Color Black
List Styles, pretty much the default ribbon styles and have it default to the styles I change?

 I added a attachment of the ribbon, and I would like to make it appear as the first choice.
Mihail
Telerik team
 answered on 27 Aug 2013
1 answer
136 views
Hi,

the AppointmentSaving event is running if i double-click a appointment in the schedule view! I make the
double-click on a appointment a my event is running before i can see the appointment mask and before i
click ok?

How can i solve this?

Thanks
Best regards
Rene
Kalin
Telerik team
 answered on 27 Aug 2013
2 answers
177 views
Hi,

i use the RadSchedule view with an MVVM, I group my appointments by Name of the customers. This works fine. I can add and remove
a group by clicking on the customer. But if I change to timeline-view this does not work. I see my selected groups, but I can't remove or
a one. If I switch back to month- or week view grouping is fine again!

Thanks
Best Regards
Rene
ITA
Top achievements
Rank 1
 answered on 27 Aug 2013
4 answers
183 views
Hi experts

I'm using RadAutocomplete box  to select customer  from list of customers . but when ever my mouse courser  pointed on radautocompleted box dropdown button cursor is changing .i'm unable to click on radautocompletebox dropdown

how to get it?

thanks in advance 
Pranavi
Top achievements
Rank 1
 answered on 27 Aug 2013
3 answers
223 views
Hi,

I have a GridView bound to a ObservableList<DynamicObject>. I need to use DynamicObject since there could be undetermined number of columns displayed in GridView. The binding to data works fine.

I would also like to notify user which rows are containing invalid data. When using regulkar types and DataAnnotations everything works fine. How can I achieve the same result with DynamicObject?

Only requirement is if data exists or not. All data are of string type, If required for UI validation, I can expose bool properties (like IsValid)

public class SomeObject : DynamicObject, INotifyPropertyChanged
{
    public bool IsValid { ... }
}


Regards,
Goran
Joel Palmer
Top achievements
Rank 2
 answered on 26 Aug 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
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?