Telerik Forums
UI for WPF Forum
6 answers
479 views
hi

 

i have main window for the WPF aplication.
how can i put the radwindow onside the  main windows,
so the  sub radwindow  will be only onside the main window, (detemine RestrictionZone,some thing like MDI)

private
void button1_Click(object sender, RoutedEventArgs e)

 

{

 

RadWindow t = new RadWindow();

 

t.Width = 500;t.Height = 300;

t.Show();

}


/*
on asp  .net telerik i know how to do it, But on WPF i have no idea( need help)

 

<telerik:RadWindowManager ID="RadWindowManager1" RestrictionZoneID="windowsDataArea" runat="server">

 

 

<Windows>

 


*/

Kalin
Telerik team
 answered on 27 Nov 2014
1 answer
144 views
Hi!

I try to use the ScheduleView control for tasks of my agents.
Every task has a date, but not a time, therefore I want to hide Time ticks.
I write this xaml code:

<telerik:WeekViewDefinition MajorTickLength="1day" MinorTickLength="1day" ShowTimeRuler="False" ShowAllDayArea="False"  />

The result shown in WeekViewDefinition.png attached file.
My questions are:

1. why I see a long vertical scrollbar? and how can I fix it?
2. I want show the Appointments in matrix, [like WeekViewMatrixDefinition.png attached file]. how can I do it?

Thank you for any help.
yehuda
Yana
Telerik team
 answered on 27 Nov 2014
3 answers
171 views
Hi

I want to change the behaviour of certain commands - as one example, I want to be able to execute ChangePageOrientationCommand in a protected document.  The current value of CanExecuteBehaviorInProtectedDocument for that command is CanExecuteBehaviorInProtectedDocument.Never.

So, easy, right?  I can derive from ChangePageOrientationCommand and override CanExecuteBehaviorInProtectedDocument.  Done.

Then what I'd like to do is derive from RichTextBoxCommands, override the virtual ChangePageOrientationCommand and set the public Commands dependency property on RadRichTextBox... but I can't - the RichTextBoxCommands constructor is internal.

Is there an extensibility point I'm missing?  

While I could just instantiate this new command elsewhere and point by ribbon button to this, I'd also like to subtly change the behavior of InsertCommand and DeleteCommand (so they don't execute in certain scenarios).  This is much harder, as they're called internally by keyboard and mouse handling.

Thanks

Charlie
Mihail
Telerik team
 answered on 27 Nov 2014
1 answer
146 views
I have a small application for editing elements on a Canvas placed inside a ListBox as the ItemsPanel.  As the CurrentSlide via timer or pager buttons I would like the Transitions to be displayed against the entire canvas.
What would be the best way to place the Canvas into a TransitionControl and notify it that the outer CurrentSlide has changed.  I would prefer not placing the entire ListBox within a DataTemplate which is the only available option I can see off hand.  Any help would be appreciated.


<TextBlock Text="{Binding CurrentSlide.Name}" />
<TextBlock Text="{Binding CurrentSlide.Description}" />
  
// Would like to overlay Transitions onto the Listbox below when the CurrentSlide changes.  Listbox uses a canvas to position and render elements.
<ListBox x:Name="SlideList" BorderBrush="Transparent" BorderThickness="0" ItemsSource="{Binding CurrentSlide.Elements}" SelectionChanged="SlideList_SelectionChanged" >
                                    <ListBox.ItemsPanel>
                                        <ItemsPanelTemplate>
                                            <Canvas x:Name="editCanvas"  Background="{Binding CurrentSlide.Background, Converter={StaticResource BackgroundConverter}}" />
  
                                        </ItemsPanelTemplate>
                                    </ListBox.ItemsPanel>
</ListBox>
Nasko
Telerik team
 answered on 26 Nov 2014
1 answer
75 views
Hi,

I received an unhandled exception today when copying and pasting a table from a Word Document into a radrichtextbox and trying to select the table by holding the left mouse button down and dragging the cursor from the top left of the table (or just outside the top left of the table) to the bottom right of the table.  It seems to be random, though.  I can't reproduce it all the time.  I have attached a stack trace to expedite debugging.  I am using the latest official release 2014.3.1021.45.

Please advise.

Thanks,
Tony
Svetoslav
Telerik team
 answered on 26 Nov 2014
1 answer
101 views
Hi,
i got a problem that i got 3 Lineseries which got just 1 not matching XAxis-Value.
My Database looks like this

Series 1
value    Date
0    2014.11.25 09:00:00
5    2014.11.25 02:00:00
10    2014.11.25 03:00:00
15    2014.11.25 04:00:00

Series 2
20    2014.11.25 01:00:00
25    2014.11.25 02:00:00
30    2014.11.25 03:00:00
35    2014.11.25 04:00:00

Series 3
40    2014.11.25 01:00:00
45    2014.11.25 02:00:00
50    2014.11.25 03:00:00


When i add them to my chartview the first series is displayed right. But the order of the second and third series are messed up so the first item is the last point.

For the XAxis i already use DateTimeContinuousAxis.
Its the same Problem as from this thread: http://www.telerik.com/forums/multiple-x-axis-lineseries-issue
Matthias
Top achievements
Rank 1
 answered on 26 Nov 2014
4 answers
1.1K+ views
Hi,
I wondered if i can reach to this result with the rad progress bar (see attached file).
I have tried to reach to this result without success....
Kalin
Telerik team
 answered on 26 Nov 2014
1 answer
189 views
Hi,
Can you please help me in this...

I am facing a problem, using RadGrid and since it has many records I have used RadPager. I have a GridViewSelectColumn in my grid to select and deselct all. The paging works perfectly. I am using MVVM patterm in my solution.
Please Help me in achieving following scenarios:

1) When Select All suppose I have 186 records and my page size is 10 so I have 19 pages in raddatapager and last one has only 6 records. how can I select all the 186 records  

2) To capture my selecteditems I have attached a behaviour to grid to get the selected Items in my view model. There I am only getting the first page selected Items
((CAManagementViewModel)this.AssociatedObject.DataContext).SelectedVehicles = this.AssociatedObject.SelectedItems;

3) In the above property of selected Items if user selects different records on different page how to get all maintained in SelectedItems of
grid.

Thanks a lot in advance. Please some help, Its urgent.
Dimitrina
Telerik team
 answered on 26 Nov 2014
5 answers
280 views
Hello,

I am using your trail PDFViewer and its nearly perfect.
I will buy it as soon as you fix the only problem I have.

The problem is that the panning is very slow, when I swipe down/up to browse the the pages, I feel like the loading speed of the page / the speed of browsing is very slow compared to scroll using the scrollbar / mousewheel
Deyan
Telerik team
 answered on 26 Nov 2014
1 answer
48 views
Hi,
I am trying to figure out how to show a diagram in my Radgridview if that is even possible... The diagram must be shown above rows (rows contained under image are the detail of parts contained in diagram). In my datasource I have a bunch of parts which contain the image path of diagram and diagram names... I have been able to group data by diagram name but still looking for a way to show diagram in grid. I also attached an ugly mock up of what I am trying to achieve.

Thanks to all of you for your answers.
Alex
Alexandre
Top achievements
Rank 1
 answered on 26 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?