Telerik Forums
UI for WPF Forum
1 answer
104 views
I'm having some issues implementing this in general, so I was wondering if the RDP had some support for this built in?  How can I configure it so that, for example, left/right moves to the previous record/next record?
Nick
Telerik team
 answered on 13 Jul 2012
5 answers
332 views
Hi,

Is it possible to change the orientation of just one of the pages in a document or must all pages be arranged with the same orientation?

Thanks,

Rob
Robert
Top achievements
Rank 1
 answered on 13 Jul 2012
1 answer
94 views
I have a screen with a gridview on it where the user can select a row and it populates information on the screen.  In the edit section I have created a Next and Previous button
private void NextButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {           
            GeneralLedgerGridView.Items.MoveCurrentToNext();
            var selectCommand = RadGridViewCommands.SelectCurrentUnit as RoutedUICommand;
            selectCommand.Execute(null, this.GeneralLedgerGridView);
        }

The problem is is if the user clicks on a row with the mouse then hit the previous or next button the application seems unaware of the current row that was selected by the mouse click.  How do I set the Currentrow info on a mouse click.
Eric Klein
Top achievements
Rank 1
 answered on 12 Jul 2012
2 answers
268 views
Hello,

I have dock that starts out docked right.  When I undock it, and try to add it to the document host (center) on the right side, I get a null reference exception before I even realease the mouse.  The exception detail is listed below, as well as a shortened version of the docking I am using.  Any idea why this might happen?

EDIT: Using Q2, WPF, .Net 4.0

Thanks,
Eric

<telerik:RadDocking Grid.Row="1" x:Name="radDock"
                            telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True"
                            BorderThickness="0"  Padding="0" Visibility="Hidden">
            <telerik:RadDocking.DocumentHost>
                <telerik:RadPaneGroup x:Name="MainGroup">
                    <telerik:RadPane x:Name="GanttPane" Header="Build Directories" ContextMenuTemplate="{x:Null}">
                        <Grid>
                       </Grid>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadDocking.DocumentHost>
            <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="300,800" x:Name="RightContainer" InitialPosition="DockedRight">
                <telerik:RadPaneGroup x:Name="RightGroup">
                    <telerik:RadPane x:Name="DirInfoPane" Header="Directory Information" IsHidden="True">
                        <ListBox ScrollViewer.HorizontalScrollBarVisibility="Disabled">
                        </ListBox>
                    </telerik:RadPane>
                </telerik:RadPaneGroup>
            </telerik:RadSplitContainer>
</telerik:RadDocking>


System.NullReferenceException was unhandled
  HResult=-2147467261
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.Docking
  StackTrace:
       at Telerik.Windows.Controls.RadDocking.GetElementPositionAtScreenRoot(FrameworkElement element) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 1473
       at Telerik.Windows.Controls.RadDocking.GetCuePosition(RadPaneGroup targetGroup, DockPosition position, Size draggedElementRelativeSize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 1370
       at Telerik.Windows.Controls.RadDocking.AdjustCueSizeAndLocation(Size draggedElementRelativeSize, Size draggedElementInitialSize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 1385
       at Telerik.Windows.Controls.RadDocking.OnDragContainer(RadSplitContainer container, Point globalMousePosition) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 389
       at Telerik.Windows.Controls.RadDocking.OnToolWindowDrag(ToolWindow window, Point globalMousePosition) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Docking\RadDocking.cs:line 276
       at Telerik.Windows.Controls.Docking.ToolWindow.OnDragDelta(Point globalMousePosition, Rect initialRect, Rect destinationRect, Boolean isResize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Parts\ToolWindow.cs:line 522
       at Telerik.Windows.Controls.WindowBase.Telerik.Windows.Controls.InternalWindow.IDragAware.OnDragDelta(Point globalMousePosition, Rect initialRect, Rect destinationRect, Boolean isResize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\WindowBase.cs:line 1267
       at Telerik.Windows.Controls.InternalWindow.WindowHostBase.OnDragDelta(Point globalMousePosition, Rect initialRect, Rect destinationRect, Boolean isResize) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowHostBase.cs:line 85
       at Telerik.Windows.Controls.InternalWindow.ChromelessWindowHelper.OnWindowPositionUpdating(Rect windowPosition) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowChrome\ChromelessWindowHelper.cs:line 350
       at Telerik.Windows.Controls.InternalWindow.ChromelessWindowHelper.HandleMoving(IntPtr hwnd, IntPtr wParam, IntPtr lParam, Boolean& handled) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowChrome\ChromelessWindowHelper.cs:line 551
       at Telerik.Windows.Controls.InternalWindow.ChromelessWindowHelper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) in c:\TB\117\WPF_Scrum\Release_WPF\Sources\Development\Controls\Navigation\Window\InternalWindow\WindowChrome\ChromelessWindowHelper.cs:line 857
       at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
       at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
       at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  InnerException:
Eric
Top achievements
Rank 1
 answered on 12 Jul 2012
0 answers
136 views
Hi,

How to bind radGridview directly from a dataReader, without the need to fetch to an intermediate DataTable or object List.
I have an inmemory database (SQLLite) and need to bind directly to a table.

Thanks
imad
Top achievements
Rank 1
 asked on 12 Jul 2012
3 answers
205 views
I'm currently using the mvvm pattern along with the Timeline to display time based information.
I can't seem to find a good way of displaying the varying sets of data with a preset zoom level.

Sometimes, the dataset will contain values that are within seconds of one another. In this case, I would want to zoom level to show 6 gaps of 10 seconds. Other times, my dataset may have values that are minutes within one another or hours within one another. I would want the zoom level to be lower so that I can see all of the data at the first glance.

Using the mvvm pattern, I set RadTimeline.Intervals once in the XAML but they don't necessarily suit my needs for all the varying sets of data.

For example, say my Intervals are:
<telerik:MinuteInterval/>
<telerik:SecondInterval/>

I then set the Start and End periods to be that of the first and last data point.


Is it possible to change the Interval time depending on the data that is being displayed?
Robert
Top achievements
Rank 1
 answered on 12 Jul 2012
2 answers
100 views
Hi,

The CloseButton the RadWindow works fine!!!

But I'dlike to add a custom RadButton with "Close" that make exactly that....close the RadWindow in .NET

thats is possible?

Thanks all.....
Romell
Top achievements
Rank 1
 answered on 12 Jul 2012
1 answer
166 views
Hello,

I would like to add a a button to each ganttview event style (because the events can get really tiny and I would like a fixed size button).  It seems as though changing EventContainer and SummaryContainer only effect what's in the event box.  This is not desireable because of the small size of the events.  Is there a way to add the item next to the event?

Thanks,
Eric
Masha
Telerik team
 answered on 12 Jul 2012
1 answer
147 views
Is there any way to mark a Gantt task as a certain percentage complete?

I would like to see a visual indication in the gantt chart for the percentage...perhaps some type of shading or options to fill the chart with color via brush, etc. to visually indicate a percentage complete.

Thanks, nelson
Masha
Telerik team
 answered on 12 Jul 2012
0 answers
131 views
hii,

I use telerik wpf tools 2012 Q1,

I am trying to do constant grouping by date like outlook (Today ,Lastday, Lastweek....),
how I can do it?
(for now what i did was createing a  Calculated property in the model thet get the string of Today ,Lastday, Lastweek )

next Question,
I want to order the date grouping not by alphabetical order,insted i want it to be ordered by the date it represents,
how can i achieve it?

last Question,
in the RadGridView.GroupDescriptors i am trying to add a descriptor with a converter that will convert the value of the binded member
so i could group by that value,
the problem is, the member property of GroupDescriptor can only be set to string (not bindable).
how can i workaround that problem?

thanks Guy.
Guy
Top achievements
Rank 1
 asked on 12 Jul 2012
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?