Telerik Forums
UI for WPF Forum
7 answers
261 views
Hi,

I was looking RadComboBox trial version. Do you know how I can open the dropdown when we start typing not on the OpenDropDownOnFocus?

Thanks,
Akhil
George
Telerik team
 answered on 04 Oct 2010
2 answers
833 views
Hi,
I am creating a combobox in which I have placed check boxes which allows me multiple selection. I tried it in two ways:

1. I used a collection of objects of entities defined by me.
2. Created a datatable and then assigned it to the combobox.

In both the approaches I have same problem of showing the seleced items with check box selected in the combobox.

I have used follwoing code, which is showing me values correctly in the combobox but the problem occures when I want to show the selected item's check box selected. Can anyone suggest me a solution for this Or if you have any other better idea to implement the multiple selecte combobox then I will be greatful to you.
i have used :

<ComboBox  Name="cboBox1"
                              Style="{StaticResource ComboBox}" ItemsSource="{Binding}"> 
                        <ComboBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
                                    <CheckBox Margin="3" Name="chkInsideCboBox1"
                                              DataContext="{Binding ElementName=BusinessEntityName, Path=BusinessEntityId}"
                                              IsChecked="{Binding Path=Default}"  Style="{StaticResource CheckBoxFilter}"></CheckBox>
                                    <TextBlock Text="{Binding Path=BusinessEntityNameField}" ></TextBlock>
                                </StackPanel>
                            </DataTemplate>
                        </ComboBox.ItemTemplate> 
                    </ComboBox>

Thanks in advance
Murray
Top achievements
Rank 2
 answered on 04 Oct 2010
1 answer
81 views
Hi,
I have a treeview with checkboxes.
The problem is that when i expand a node that is checked it looses its state and gets unchecked.
Im using load on demand to get the new nodes .... i don't know if it has anything to do with it.

Thanks .
Petar Mladenov
Telerik team
 answered on 04 Oct 2010
1 answer
132 views
Hi guys,

Do you take apply RenderTransforms to the transition?
For example:
<telerik:RadTransitionControl ClipToBounds="False" Content="[Bound to data]" Margin="30" Duration="0:0:0.2"
                                                                      VerticalContentAlignment="Center" HorizontalContentAlignment="Center">
                                            <telerik:RadTransitionControl.Transition>
                                                <telerik:MotionBlurredZoomTransition />
                                            </telerik:RadTransitionControl.Transition>
                                            <telerik:RadTransitionControl.RenderTransform>
                                                <TranslateTransform Y="Some value, i.e. -200" />
                                            </telerik:RadTransitionControl.RenderTransform>
                                        </telerik:RadTransitionControl>

This transition will position the Content disappearance at center instead at TranslateTransform-ed location.
Pana
Telerik team
 answered on 04 Oct 2010
1 answer
159 views


Hello teleriks,

Can we able to set the customiable styles for datetimepicker ?

 when i tried it only allows me to pput style for fontsize and fontstyle for the date we type . can we put styles like

background foreground ?

The style can define:

- Text Font style, size, color and alignment.

- Background / Foreground colors.

- Tooltip style (font, background and foreground).

- Image (size and position).

- Style of the associated button.



Please reply me . share me some sample if you have.

Thanks & regards,
srinivas
Pana
Telerik team
 answered on 04 Oct 2010
1 answer
62 views

Hello,

We are using the PrintExtensions class as mentioned in Vlad's post 9 months ago.

Our application is a WinForms app that has an ElementHost we use to load the control.  It has started crashing on the following line:

 

element.Arrange(new Rect(new Point(0, 0), element.DesiredSize));

It doesn't even throw an exception in Debug mode (F5), it just crashes to desktop.  We stepped through the code to identify where the exception occurs and found it on that line.  The only other thing I see is some first chance exceptions in the Debug Output window like so right after the exception occurs:

Step into: Stepping over non-user code 'System.Windows.Point.Point'
A first chance exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll
Step into: Stepping over non-user code 'System.Windows.Threading.ExceptionWrapper.TryCatchWhen'
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Step into: Stepping over non-user code 'System.Windows.RoutedEventArgs.InvokeEventHandler'
Step into: Stepping over non-user code 'System.Windows.RoutedEventArgs.InvokeHandler'
Step into: Stepping over non-user code 'System.Windows.UIElement.RaiseEventImpl'
Step into: Stepping over non-user code 'System.Windows.RoutedEventArgs.InvokeHandler'
Step into: Stepping over non-user code 'System.Windows.UIElement.ReRaiseEventAs'
Step into: Stepping over non-user code 'System.Windows.RoutedEventArgs.InvokeHandler'
Step into: Stepping over non-user code 'System.Windows.UIElement.RaiseEventImpl'
Step into: Stepping over non-user code 'System.Windows.UIElement.RaiseEvent'
Step into: Stepping over non-user code 'System.Windows.Threading.Dispatcher.InvokeImpl'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner'
Step into: Stepping over non-user code 'SchedApp.SchedAppFrame.Dispose'
Step into: Stepping over non-user code 'System.ComponentModel.Component.Dispose'
Step into: Stepping over non-user code 'System.Windows.Forms.ApplicationContext.Dispose'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.DisposeThreadWindows'
Step into: Stepping over non-user code 'System.Windows.Forms.Application.ThreadContext.Dispose'

I'm not quite sure where to look for more information.  So the FrameworkElement coming into the FixedDocument is of type Telerik.Windows.Controls.RadGridView, is the Arrange method being overridden?  How would I troubleshoot what looks like an exception in the System.Windows.Point.Point structure?

Vlad
Telerik team
 answered on 04 Oct 2010
1 answer
131 views
I'm trying to come up with a good way to have a cell that can be clicked on to navigate to another window related to the entity chosen in the cell. Typical application navigation. The edit mode for the cell has a button on the far right which opens a pop up window that lets the user query for an instance and choose it. Thus the user is able to edit the relationships of the data. Nifty.

Problem is I'm trying to come up with a good way to both allow the navigation in the cell, and switch to edit view. If I put a button in the CellTemplate, then the button is clicked on, instead of entering into edit mode. And there appears to be no further way to enter edit mode.

I was hoping the grid view had some way to show a control to enter edit mode, that was built in, so I wouldn't have to write it. If not, is there a RoutedCommand that can be raised from within the cell's template in order to enter edit mode? If so, I guess I could put in my own edit button.
Nedyalko Nikolov
Telerik team
 answered on 04 Oct 2010
4 answers
78 views
<telerik:RadGridView x:Name="grdList" ItemsSource="{Binding }"
      <telerik:RadGridView.Columns
            <telerik:GridViewDataColumn Header="角色代码" DataMemberBinding="{Binding Code}"/> 
            <telerik:GridViewDataColumn Header="角色名称" DataMemberBinding="{Binding Name}"/> 
            <telerik:GridViewDataColumn Header="最后编辑人员" DataMemberBinding="{Binding LastEditBy}"/> 
            <telerik:GridViewDataColumn Header="最后编辑时间" DataMemberBinding="{Binding LastEditDate}"/> 
            <telerik:GridViewCheckBoxColumn Header="是否禁用" DataMemberBinding="{Binding Disable}"/> 
            <telerik:GridViewColumn Header="操作"
                <telerik:GridViewColumn.CellTemplate
                    <DataTemplate
                        <telerik:RadButton Content="设置成员" x:Name="btn" CommandParameter="{Binding Code}" Click="RadButton_Click" Height="25" Margin="3"/> 
                    </DataTemplate
                 </telerik:GridViewColumn.CellTemplate
              </telerik:GridViewColumn
          </telerik:RadGridView.Columns
</telerik:RadGridView>
How can I get the button?
Bennet
Top achievements
Rank 1
 answered on 03 Oct 2010
2 answers
59 views
Hi,
   i have installed Q2 release for WPF dated 12th august. but after installing i m unable to see my controls in Expression blend. whole form is empty. previously i m having version Q1 0603 release i.e. 3rd jun 2010. is there anything else to configure..... ?

im getting following error i.e. : Cannot Locate resource Themes/GenericTransparent.xaml for every Telerik control
Betsy
Top achievements
Rank 1
 answered on 01 Oct 2010
2 answers
69 views
Hello,
Is it possible to change the minimizedItemsPosition from the UI, from button click?

Regards,
Rick
Rick Mueller
Top achievements
Rank 1
 answered on 01 Oct 2010
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?