Telerik Forums
UI for WPF Forum
5 answers
91 views
Hi,

I just checked your documentation about RadScheduleView and aspnet-ajax RadScheduler.
The first looks like this:
http://www.telerik.com/help/wpf/radscheduleview-populating-with-data-binding-to-db-datatier.html
And for ajax it is:
http://www.telerik.com/help/aspnet-ajax/scheduler-database-structure.html

As far as I can see the DB-Structure is different.
For Recurrence I found - for WPF
[RecurrencePattern] [varchar](100) NULL,
and for AJAX
[RecurrenceRule] nvarchar(1024) NULL,
[RecurrenceParentID] INT NULL,

My approach is to build a "schedule manager" in WPF - and an ASPX page on the intranet where everyone can view the schedules.
Does this work?
Or in other words - is there a compatible DB structure, or not?

Thanks in advance
Manfred
Kalin
Telerik team
 answered on 14 Jul 2014
3 answers
279 views
Hi,

I have a RadGridView with a GridViewCheckBoxColumn defined like so:
<telerik:GridViewCheckBoxColumn AutoSelectOnEdit="True" DataMemberBinding="{Binding Selected, Mode=TwoWay}" EditTriggers="CellClick" />

The checkbox autoselect works as expected - one click checks or unchecks it.

I need the Selected property, bound to DataMemberBinding, to get notified/called any time checkbox check/uncheck happens. In my case this does not happen when the cell is in edit mode. So I click the cell, the check box gets checked, but no notification goes to the Selected property until I click on some other cell.
Looks like the event doesn't get sent to the bound property while the cell is in edit mode, even though the check box gets checked, only after leaving the edit mode the property gets the notification.
How can this be fixed so that one click both checks the checkbox and notifies my Selected property without having to leave the cell?

Really appreciate the help!


Yoan
Telerik team
 answered on 14 Jul 2014
2 answers
185 views
Hi.

I'd like to be able to disallow the user from selecting connections between the nodes.

I.e.: The user selects a group of nodes on the canvas by dragging the selection rectangle to include the desired nodes. By default, the connections in the rectangle are selected too: They are included in the SelectedItems (IEnumerable) at the time the SelectionChanged event is fired.
Is it in any way possible remove the links between the nodes from the selected items.



Pavel R. Pavlov
Telerik team
 answered on 14 Jul 2014
3 answers
175 views
Hi there,

I'm working on auto-scroll for the radTreeView and have come up against a slight issue.  The auto scroll works really well (referencing the blog post here: http://blogs.telerik.com/xamlteam/posts/10-11-25/how-to-implement-autoscroll-while-dragging-in-radtreeview.aspx), but I've come up against a slight issue.

Within the RadTreeView ItemContainer, I've got a textbox.  As soon as I drag over that textbox, it loses focus so the auto-scroll can go no further.  If I disable the textboxes, then it works fine.

Do you know of any workaround I could use to ensure that if I drag over a textbox, it will continue to scroll?

Many thanks
Pavel R. Pavlov
Telerik team
 answered on 14 Jul 2014
2 answers
80 views
Has anyone used Prism5 with the Telerik WPF Radcontrols?

We currently use a mixture of Prism4.1 & MVVM Light but the controls are not registered in Prism (just use regions, navigation, modularity etc).

Telerik say they haven't tested the controls yet with Prism5.

Has anyone had and success using Radcontrols with Prism5 and have any issues arisen?

Thanks.
N Mackay
Top achievements
Rank 1
 answered on 11 Jul 2014
1 answer
975 views
Hey,

I am using a DayTemplateSelector to on my RadCalendar to show a different style for days that have appointments. With my test setup this works fine, but when I'm contacting a service to retrieve appointment, the collection is empty at the moment the month is switched and the appointments are added on arriving back from the service (one by one).

The problem now is that the selector is not triggered when the binded property is changing. Is there a way to force a update on the selector?

I found a post with the next solution:
calendar.DisplayDate = calendar.DisplayDate.AddMonths(1);
calendar.DisplayDate = calendar.DisplayDate.AddMonths(-1);

BUT this will not work for me, when you change the mont the current date will be changed and I will retrieve a new list and the binded list is empty again. Why is the selector not listing to the changes of the property in the datacontext?
Konstantina
Telerik team
 answered on 11 Jul 2014
1 answer
153 views
Hi support,
I am facing the problem with Auto Complete Box.I have just downloaded the latest trial version.I want to use two way binding feature.I have observed that It is working fine.But the problem is when I type in the box DisplayMemberPath binding has broken.I am attaching the Xaml and VM also.

<telerik:RadAutoCompleteBox SelectionMode="Multiple" x:Name="tokenControl"
                                            Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="7" MaxHeight="100" Margin="0 5"
                                            ItemsSource="{Binding Source={x:Static local:Globals.Instance},Path=Users}"
                                            AutoCompleteMode="Suggest"
                                            DropDownItemTemplate="{StaticResource userDataTemplate}"
                                            TextSearchPath="DisplayName"
                                            DisplayMemberPath="DisplayName" SelectedItems="{Binding SelectedContacts,Mode=TwoWay}">
                    
                </telerik:RadAutoCompleteBox>

Property:-
  private List<Presentity> _SelectedContacts;
        public List<Presentity> SelectedContacts
        {
            get
            {
                return _SelectedContacts;
            }
            set
            {
                _SelectedContacts = value;
                NotifyOnPropertyChanged("SelectedContacts");
            }
        } 
Code For Selection:-
foreach (Recipient recipient in SelectedExistingTask.Recipients)
                    {
                        Recipient localRecipient = recipient;
                        Presentity user = Globals.Instance.Users.FirstOrDefault((p) => p.UserId == localRecipient.Id);
                        if (user != null)
                        {
                            users.Add(user);
                        }
                    }





















Vladi
Telerik team
 answered on 11 Jul 2014
4 answers
141 views
Hello everyone, 
I try to develop an export of the GridView to a PivotGrid. 
For that I turn the ItemsSource (IEnumerable <object>) of the GridView in a datatable with only the fields corresponding to the columns of the GridView.
It works fine but there is a performance problem when I iterate the source to add one by one the data in the datatable ( iteration + using reflection to get the values of each field ​​ + LoadDataRow in the datatable) 
Do you see an alternative to the use of a datatable? 
For example, a sub-list of my data source? 
thank you in advance for your suggestions... 
Greetings. 
Olivier.
Software
Top achievements
Rank 1
 answered on 11 Jul 2014
1 answer
208 views
IsTabStop="False" is not working for the AutoCompleteBox.
I was not going to use this control because of this problem.

I found a solution by googling elsewhere and will post it here.
Instead of using IsTabStop="False" use: KeyboardNavigation.TabNavigation="None"

NOTE:
When RadComboBox has IsEditable="True" then, like AutoCompleteBox, IsTabStop="False" does not work.
This solution will also apply to the RadComboBox problem.

I have my working AutoCompleteBox set up as below.​ I have bolded the code that will make tabbing skip the control.

<telerik:RadAutoCompleteBox Grid.Column="1" Grid.Row="0" 
   SelectionMode="Single"         
   WatermarkContent="Type a bylaw"    
   TextSearchMode="StartsWith"          
   TextSearchPath="Code"
   AutoCompleteMode="SuggestAppend"
   ItemsSource="{Binding Bylaws}"
   DropDownItemTemplate="{StaticResource BylawSearchTemplate}"
   SelectedItem="{Binding SelectedBylaw, Mode=TwoWay}"
   DropDownWidth="Auto"
   Style="{StaticResource EditRadAutoCompleteBox}"
   KeyboardNavigation.TabNavigation="None" /> 



Rosen Vladimirov
Telerik team
 answered on 11 Jul 2014
1 answer
234 views
When I set the select all text event on the combobox, when I click into the combobox it selects all the text then goes away. If I tab into the combobox everything stays selected. Am I missing something? Below is my xaml

​<telerik:RadComboBox ItemsSource="{Binding OptionCategories}" DisplayMemberPath="CategoryName" Grid.Row="1" IsEnabled="{Binding CanChangeOption}"
Margin="10 0" IsEditable="True" SelectedIndex="0" VerticalAlignment="Center" SelectedItem="{Binding SelectedOptionCategory}" SelectAllTextEvent="GotFocus" />
Rosen Vladimirov
Telerik team
 answered on 11 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?