Telerik Forums
UI for WPF Forum
6 answers
214 views
hello,

i'm having a problem collapsing a details grid from within the details grid. the master grid has a GridViewToggleRowDetailsColumn to display details and close them. the problem is, there is a button in the details grid (of type RowDetailsTemplate) which does some operation and afterwards should close the details automatically. i'm using event LoadingRowDetails so using a HierarchyChildTemplate is a problem.
how can i collapse the details grid with the button inside?




since the documention is very poor on wpf controls i'm having difficulties figuring out which property and which method does what. examples (how to's) are really appreciated.


thanks,
Milan
Telerik team
 answered on 22 Mar 2010
0 answers
100 views

Hi.. again...
I have GridViewComboColumn in a GridView. How can I programatically set focus the combox in the current row and open it?
I have button on a form that addes a new row... so I want to set focus to the combobox so the user can begin entereing.... thanks again

<
telerikPresentation:GridViewComboBoxColumn DisplayMemberPath="comm_name" SelectedValueMemberPath="comm_name" DataMemberBinding="{Binding comm_name}" Header="Commodity" Width="175" />

 

Jon
Top achievements
Rank 1
 asked on 22 Mar 2010
2 answers
165 views
Hi

I am having serious problems performing something that seems quite simple.
I want a RadScheduler filling the form, and a RadExpander to the right of it. When I expand the Expander, the Scheduler should decrease its size accordingly.
When I try this with the Expander on top, it works as intended, but when I put the expander to the right, the scheduler just will not stretch over the form. It stretches well vertically, but not horizontally.
I believe I have altered the directions etc on the components as I should, but without any luck.

This is my very small form:
<Page x:Class="RadControlsWpfBrowserApp2.Page1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="Page1" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">  
    <Grid> 
        <StackPanel Orientation="Horizontal">  
            <telerik:RadScheduler Name="radScheduler1" HorizontalAlignment="Stretch" /> 
            <telerik:RadExpander ExpandDirection="Left" HorizontalAlignment="Right">  
                <telerik:RadExpander.Header> 
                    <Grid HorizontalAlignment="Stretch">  
                        <Grid.ColumnDefinitions> 
                            <ColumnDefinition Width="Auto" /> 
                            <ColumnDefinition Width="*" /> 
                        </Grid.ColumnDefinitions> 
                        <TextBlock Text="Header" /> 
                        <Rectangle Grid.Column="1" Margin="5,0,0,0" VerticalAlignment="Center" Height="2" Fill="Gray" /> 
                    </Grid> 
                </telerik:RadExpander.Header> 
                <StackPanel Orientation="Vertical" > 
                    <Ellipse Width="33" Height="33" Margin="5" Fill="Yellow" /> 
                    <Ellipse Width="33" Height="33" Margin="5" Fill="Blue" /> 
                    <Ellipse Width="33" Height="33" Margin="5" Fill="Red" /> 
                </StackPanel> 
            </telerik:RadExpander> 
        </StackPanel> 
    </Grid> 
</Page> 

See attached screen shot.
Rappen
Top achievements
Rank 1
 answered on 22 Mar 2010
1 answer
181 views
Hi,

First of all let me tell you that We are using Q1 2009 Telerik controls.

I have a Time Picker in my window,Its showing proper 12 hour format when i select from time from Time Picker, Now When i say like radTimePicker.SelectedTime=new TimeSpan(23,05,00) it showing 24 hour format..

Another thing, its working fine with "Page" but not with  window and usercontrol.

Thanks,
Ravi Lakhani
Kaloyan
Telerik team
 answered on 22 Mar 2010
1 answer
208 views
Hi,

I have added a RadGridView and populated some data. Now i am giving an option to the user to select the column, i.e. when the user selects a column, we would make that record as selectedItem and scroll to that record.
I have used the following code :

this

 

.radGridView1.SelectedItem = radGridView1.Items[RecordNumber-1];

 

 

 

this.radGridView1.ScrollIntoView(this.radGridView1.SelectedItem);

 

 


The correct item is selected, but the scroller is still pointing to the first one.
I am attaching the screen shot for reference.  

Regards,
Prithvi
Rossen Hristov
Telerik team
 answered on 22 Mar 2010
1 answer
68 views
The RadTreeViewItem.RootItem property used to return an item's highest ancestor node (as of version 2009.1103), but in the current version (2010.0309) it always returns a reference to itself. Does anyone else see this behavior?

Here's a very simple example:
    <StackPanel> 
        <telerikNavigation:RadTreeView x:Name="tree"/> 
        <TextBlock x:Name="msg"/> 
    </StackPanel> 
 

And the code behind:
        private void Window_Loaded(object sender, RoutedEventArgs e) 
        { 
            RadTreeViewItem item1 = new RadTreeViewItem() { Header = "item1" }; 
            RadTreeViewItem item2 = new RadTreeViewItem() { Header = "item2" }; 
            RadTreeViewItem item3 = new RadTreeViewItem() { Header = "item3" }; 
 
            tree.Items.Add(item1); 
            item1.Items.Add(item2); 
            item2.Items.Add(item3); 
 
            // item3.RootItem returns item1 in 2009.1103 version (CORRECT) 
            // item3.RootItem returns item3 in 2010.0309 version (WRONG) 
            msg.Text = "item3.RootItem is " + item3.RootItem.Header.ToString(); 
 
            tree.ExpandAll(); // <-- This also doesn't seem to be working 
            item1.ExpandAll(); // <-- Neither does this 
        } 
 

Tihomir Petkov
Telerik team
 answered on 22 Mar 2010
5 answers
225 views
I am using the sample TreeView In ComboBox from this blog (http://blogs.telerik.com/valerihristov/posts/09-08-27/treeview_in_combobox_take_3_silverlight_3_wpf_and_radcontrols.aspx) and it looks really good. Now I would like to modify it a little by only allowing selection of the lowest level item from the tree view. How can I disable selection of higher level items but still allow the items to be collapsed?
Bobi
Telerik team
 answered on 22 Mar 2010
2 answers
260 views
I'm trying to use the TreeViewItem in a RadOutlookBar to provide a navigation system for my app.

I'm trying to use Commands in a MVVM pattern to launch the views...

TreeViewItem lacks a Command property.. is there a way to do this?
k f
Top achievements
Rank 1
 answered on 20 Mar 2010
5 answers
174 views
What properties have replace UseAlternateRowStyle and MultipleSelect?

Q1 2010 is not supporting these and I see nothing in the release notes talking about this and I'm not seeing anything in the intellisense drop downs for a replacement.
Beckie
Top achievements
Rank 1
 answered on 20 Mar 2010
2 answers
145 views
All it shows is an empty rectangle for which one cannot change style or template.
In VS 2010 RC designer, however, it displays correctly.
What can be done to make Expression Blend work with NumericUpDown?
Thanks
Nick Polyak
Top achievements
Rank 1
 answered on 19 Mar 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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?