Telerik Forums
UI for WPF Forum
1 answer
112 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
342 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
180 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
81 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
164 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
321 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
2 answers
81 views
Hello

Could you please provide me with any working example of firing gridview event from ribbonview.
I'd like to ribbon option click to grid deleting event. Any help will be greatly appreciated.


regards
AndyL
Top achievements
Rank 1
 answered on 20 Jun 2012
4 answers
553 views
Hello,

From my reading of this line "

When you are using the RadBusyIndicator control you always have to set its Content property. This will be the content on top of which you want to visualize the RadBusyIndicator control." in this article http://www.telerik.com/help/silverlight/radbusyindicator-getting-started.html I mocked up this quick demo to see if I could use it. WPF app loads a window. In the window is a frame which loads a page. On that page is a button that when clicked puts the thread to sleep for 3 seconds. In that button I get a handle to the parent window and set the IsBusy to true....but it never shows. I've tried numerous variations but I can't get it to work in my project or my mockup??

MainWindow:

<Window x:Class="LoadingTest.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadBusyIndicator x:Name="Thnk" IsBusy="false" telerik:StyleManager.Theme="Expression_Dark"  >
            <Frame Name="frm_BigBro" Grid.Row="0" Source="Page1.xaml" SnapsToDevicePixels="True" />
        </telerik:RadBusyIndicator>
    </Grid>
</Window>

Main Page cs

public void StartThinking()
        {
            Thnk.IsBusy = true;
        }
 
        public void StopThinking()
        {
            Thnk.IsBusy = false;
        }


Page1 XAML

<Grid>
    <TextBlock Text="My Page" />
    <Button x:Name="Button1" Click="Button1_Click" Width="80" Height="20" />
</Grid>

Page1 cs

private void Button1_Click(object sender, RoutedEventArgs e)
        {
            MainWindow wndow = new MainWindow();
 
            wndow = Window.GetWindow(sender as DependencyObject) as MainWindow;
            wndow.StartThinking();
 
            System.Threading.Thread.Sleep(3000);
 
            wndow.StopThinking();
 
        }

I'm sure it works so I must be doing something wrong?

TIA
JB

ITA
Top achievements
Rank 1
 answered on 20 Jun 2012
1 answer
129 views
Hi,

How do I get the Or or AND operators, them from the RadFilterControl

I have a RadDataFilter that allows us to create Filter conditions.

I want to access the Filter expression created,

The FieldDescriptors gives me a list like

1. FirstName IsEqualTo Brian
2. LastName IsEqualTo Jackson
3. ... etc

how do I get the operators between the descriptors i.e
something like -- FirstName isEqualToBrian "Or" LastName IsEqualTo Jackson


Dimitrina
Telerik team
 answered on 20 Jun 2012
0 answers
126 views

Hi we are using Telerik controls 2011 Q1.

We have an application that has a Docking control, and inside another control that has Docking control.

The parameter AllowUnsafeMode = "true" on both.

When we drag the inner Docking we got next exception:

Exception.Message:

 "The specified Visual is not an ancestor of this Visual."

Exception.CallStack;

 at System.Windows.Media.Visual.TrySimpleTransformToAncestor(Visual ancestor, Boolean inverse, GeneralTransform& generalTransform, Matrix& simpleTransform)

   at System.Windows.Media.Visual.InternalTransformToAncestor(Visual ancestor, Boolean inverse)

   at System.Windows.Media.Visual.TransformToAncestor(Visual ancestor)

   at Telerik.Windows.Controls.RadDocking.GetElementPositionRelatedToPopup(FrameworkElement element) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadDocking.cs:line 1868

   at Telerik.Windows.Controls.RadDocking.MoveCompassToElement(FrameworkElement element) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadDocking.cs:line 1883

   at Telerik.Windows.Controls.RadDocking.ShowHideCompass(Point position, RadPaneGroup group, Boolean isCompassOverDH) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadDocking.cs:line 1823

   at Telerik.Windows.Controls.RadDocking.MoveDraggedElement(Point position, ToolWindow draggedWindow) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadDocking.cs:line 1782

   at Telerik.Windows.Controls.RadDocking.OnDragDelta(Point globalPosition, Object draggedElement) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadDocking.cs:line 862

   at Telerik.Windows.Controls.RadDocking.OnDragDelta(Object sender, DragInfoEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\RadDocking.cs:line 1309

   at Telerik.Windows.Controls.Docking.DragInfoEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\DragDrop\DragInfoEventArgs.cs:line 48

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

   at Telerik.Windows.Controls.Docking.FakePopup.<.ctor>b__0(Object s, RoutedEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\Popup\FakePopup.cs:line 26

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)

   at Telerik.Windows.Controls.Docking.DragDropHelper.DragDelta(UIElement target, UIElement dragRoot, MouseEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\DragDrop\DragDropHelper.cs:line 55

   at Telerik.Windows.Controls.Docking.DragDropHelper.DragDelta(UIElement target, MouseEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\DragDrop\DragDropHelper.cs:line 50

   at Telerik.Windows.Controls.Docking.ToolWindow.OnToolWindowMouseMove(Object sender, MouseEventArgs e) in c:\Builds\WPF_Scrum\Release_WPF\Sources\Development\Controls\Docking\Docking\ToolWindow.cs:line 712

   at System.Windows.Input.MouseEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)

   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)

   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)

   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)

   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)

   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)

   at System.Windows.Input.InputManager.ProcessStagingArea()

   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)

   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)

   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)

   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

   at System.Windows.Interop.HwndSource.InputFilterMessage(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, Boolean isSingleParameter)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

   at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter)

   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)

   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

   at System.Windows.Forms.Application.Run(Form mainForm)

   at xxxxxxxxx.Main(String[] args) in C:\xxxxxxxx\SplashForm.cs:line 155

There is fix for that?

albu
Top achievements
Rank 1
 asked on 20 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?