Telerik Forums
UI for WPF Forum
2 answers
130 views
Hi Everyone
Thanks IN Advance,
I have a gridview with a radiobutton in a datatemplate, the problem is if i click on any of the radiobutton list in the grid the selected item of the gridview doesnot change as it would happen normally.

Example:
 <telerikGrid:GridViewDataColumn Header="Magnifier" DataMemberBinding="{Binding IsPrimary}" IsReadOnly="True">
                                                <telerikGrid:GridViewDataColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <RadioButton HorizontalAlignment="Center" IsChecked="{Binding IsMagnifier}" x:Name="radMagnifier" GroupName="magnifier" Checked="radMagnifier_Checked" />
                                                    </DataTemplate>
                                                </telerikGrid:GridViewDataColumn.CellTemplate>
                                            </telerikGrid:GridViewDataColumn>                                            
                                        </telerikGrid:RadGridView.Columns>

If there are ten rows populated if am clicking on the third row then the selectedItem object of the grid doesnot change to the third row, Can anyone helpme out in this case.

Thanks 
Sampath Kumar



Sampath
Top achievements
Rank 1
 answered on 01 Sep 2010
1 answer
100 views
Is there a way to move the map navigation control from the bottom center to the bottom right or left?  Also, can we change the height and width to make it smaller?

Also, I changed the MaxZoomLevel="6" MinZoomLevel="2" on my map provider.  But now when I use the slider in the map zoom control, the range of the slider didn't update.  Is it possible to update the slider's range?

Thanks
Christopher
Top achievements
Rank 1
 answered on 31 Aug 2010
1 answer
129 views

I have the latest build. 2010 Q2 SP1.
I have an issue wtih the RadNumericUpDown minimum property. Let's say the minimum property is set to 5 and the Value Property is bound to an object that has not been set yet. The control appears initially with a value of 0 and you cannot change it using the updown buttons since moving it up does not meet the minimum value.

Any suggestions?

Here is my xaml:

<ItemsControl ItemsSource="{Binding WorkingVentilatorOrder.VentilatorOrderParameterValueList_}">
    <ItemsControl.ItemTemplate>
        <DataTemplate>
            <StackPanel Visibility="{Binding EndTime, Converter={StaticResource NullVisibilityConverter}, ConverterParameter=visible}" Margin="10,5,10,5">
                <TextBlock Text="{Binding VentilatorParameter_.Name}" Style="{DynamicResource DialogTextBlockStyle}" />
                <telerik:RadNumericUpDown Value="{Binding Path=Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Minimum="{Binding VentilatorParameter_.MinValue, Converter={StaticResource NullValueConverter}, ConverterParameter=0}" Maximum="{Binding VentilatorParameter_.MaxValue, Converter={StaticResource NullValueConverter}, ConverterParameter=1000}" ValueFormat="Numeric" />
            </StackPanel>
        </DataTemplate>
    </ItemsControl.ItemTemplate>
</ItemsControl>
StevenDale
Top achievements
Rank 2
 answered on 31 Aug 2010
3 answers
251 views

 

Hi,

 

How can I pin the RadPane programmatically when I click on RadPane tab header?

 


Thanks

RJ



Igor Macedo
Top achievements
Rank 2
 answered on 31 Aug 2010
1 answer
210 views
I am adding a RadDocumentPane to a PaneGroup inside a DocumentHost with no issue with the following code:

 

RadDocumentPane docPane = new RadDocumentPane();

 

docPane.Header = header;

docPane.Content =

"New Pane";

 

 

docPane.CanUserClose =

false;

 

paneGroup.Items.Add(docPane);

docPane.MakeFloatingDockable();


This opens the pane without docking it.  However I cannot set the size of the pane.  I have attempted using docPane.Width / docPane.Height and docPane.RenderSize(w,h) with no change to the size of the pane. 

Is there a way to set the width and height of a document pane programatically? 

2nd Item:  I notice that if I resize the pane manually and then dock the pane; when I drag the pane to undock it, it returns to the default width / height.  Is there way to remember the width / height that the pane was docked at and return to that size when it is undocked?

Last Item:  I am attempting to use the docking as a MDI replacement.  My users are slow to change and may resist this because there is no minimize / maximize and the panes can be dragged outside the parent window.  The dragging is more important than the min / max buttons but, is there a reasonable solution / work around for these items?

Thanks in advance.

- Adam

Konstantina
Telerik team
 answered on 31 Aug 2010
1 answer
148 views
I want to know if RadDataFilter can handle the following scenario and if so how would you implement it. What I am needing is an advanced search feature and I think that RadDataFilter may fit. Below is the mock up of my advance search box.

<DockPanel>
                           <telerikData:RadDataFilter Name="radDataFilter" 
                              DockPanel.Dock="Top" 
                              Source="{Binding Items, ElementName=listResidents}"
                              Margin="1"/>
                           <StackPanel Orientation="Horizontal" Margin="5,2.5,5,2.5" DockPanel.Dock="Top">                               
                               <TextBox x:Name="textSearchAdvanced" MinWidth="192" ToolTip="Search Enities By LastName, FirstName, or TaxID(SSN)" Text="{Binding SimpleSearchText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
                               <telerik:RadButton x:Name="btnFindAdvanced" Width="24" Margin="5 0" HorizontalAlignment="Right" VerticalAlignment="Center" 
                                              telerik:StyleManager.Theme="{Binding Source={StaticResource settings}, Path=Default.CurrentTheme}"
                                              Command="{Binding SimpleSearchCommand}" IsDefault="True">
                                   <telerik:RadButton.Content>
                                       <Image Source="../Resources/Search.png" Height="16" Width="16" ToolTip="Find Resident"/>
                                   </telerik:RadButton.Content>
                               </telerik:RadButton>
                           </StackPanel>
                           <ListView Margin="5,2.5,5,2.5" Name="listResidents" ItemTemplate="{StaticResource ResidentTemplate}" ItemsSource="{Binding ResidentListing}" ext:Selected.Command="{Binding PersonSelectedCommand}" />
                       </DockPanel>
 
The issue though is that RadDataFilter doesn't actually populate the fields you can filter on until I load all of the data. Since I am using OpenAccess to mock up the business objects can it not just read the fields contained in the collection? Also since I am using OpenAccess each class can contain references to other classes. Is there a way to navigate this relationship tree so for example I have a Parent class that has a chail class and I want to search for a field in the child class. Is there a way to do that?

Please let me know if I am not making myself clear. I would really like to use RadDataFilter here, but I also can't pull every record and then start to filter them. Would be way to slow.

Thanks!
Rossen Hristov
Telerik team
 answered on 31 Aug 2010
3 answers
124 views
Haw can i calculate the datapager size to fill (rows) all the area avaiable for the grid?

Is that possible?
Vlad
Telerik team
 answered on 31 Aug 2010
6 answers
170 views
Hi,
i got a problem with TAB, ive got radtoolbar with 2 buttons, and RadPanelBars with textboxes, i want to allow tabing over all textboxes, but when i hit tab its always going on first button than second, and going back to fist, its never going over textboxes i got tabindexes etc but still not working, when textboxes are not in RadPanelBar its working normal.
Jon
Top achievements
Rank 1
 answered on 31 Aug 2010
10 answers
507 views
Hello,
do you have any example for reordering items in listbox with colomns and rows.
My listbox looks like this:
 <ListBox x:Name="lbImageItems"   
                             dragDrop:RadDragAndDropManager.AllowDrop="True"   
                             BorderThickness="0" Background="Transparent" 
                             Style="{StaticResource DraggableListBox}" 
                             ItemContainerStyle="{StaticResource DraggableItemStyle}" 
                             ItemsSource="{Binding Path=DisplayItems}">  
                        <ListBox.ItemsPanel> 
                            <ItemsPanelTemplate> 
                                <primitives:RadUniformGrid Rows="{Binding Path=ItemsRowsCount}" Columns="5" 
                                                           HorizontalAlignment="Left" VerticalAlignment="Top" /> 
                            </ItemsPanelTemplate> 
                        </ListBox.ItemsPanel> 
                    </ListBox> 

I found an example in this form for listbox with only one column, but its not working well with my listbox

thank you
Tsvyatko
Telerik team
 answered on 31 Aug 2010
1 answer
81 views
When I add an ItemsSource of a collection of buttons, the button images do not show up, only the image filename is displayed in the button.

Milan
Telerik team
 answered on 31 Aug 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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
SplashScreen
Rating
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?