Telerik Forums
UI for WPF Forum
1 answer
87 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
145 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
165 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
68 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
139 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
82 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
66 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
79 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
4 answers
248 views
Hi

I trying to set GridViewComboBoxColumn itemsSource when GotFocus event is fired but it doesn't work.
I ' m using Q2 2010 SP1 libraries and I put

this.AddHandler(RadComboBox.GotFocusEvent, new RoutedEventHandler(comboGotFocus));

in the control constructor while the handler is

void comboGotFocus(object sender, RoutedEventArgs args)
{
    GridViewCell cell = args.OriginalSource as GridViewCell;
    if (cell != null && cell.Column.UniqueName == "RegionId")
    {
        District district = cell.DataContext as District;
        if (district != null && cell.Content is LookupElement)
        {
            string countryId = district.CountryId;
            RadGridView gridView = (RadGridView)this.districtRegistryControl.ChildrenOfType<RadGridView>().First();
            RadComboBox comboBox = (cell.Content as LookupElement).ComboBox;
            if (comboBox != null)
            {
                comboBox.ItemsSource = null;
                if (string.IsNullOrEmpty(countryId) == false)
                    comboBox.ItemsSource = from r in iGasContext.Context.Regions
                                           where r.CountryId == countryId
                                           select r;
                else
                    comboBox.ItemsSource = iGasContext.Context.Regions;
            }
        }
    }
}

Thanks
Ivano
Ivano
Top achievements
Rank 1
 answered on 01 Oct 2010
1 answer
111 views
i have multiple series added in single chart..but problem is that i am not able to distinguish in legend...i have attached image..showing for first and second series..i want to customize the items for particular series..like for first series  ..each label items on legend should end up like april first,may first and for second each label items on legend should end with second...

i have used seriesdefinition.legendlabel="some text" but it doesnt give desired result.....

Thanks,
Kapil Garg
Vladimir Milev
Telerik team
 answered on 01 Oct 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?