Telerik Forums
UI for WPF Forum
1 answer
372 views
I have a TreeView where the user can select any Item. The selected Item have a property which is of type ExpandoObject.
Then I have a PropertyGrid where I bind the PropertyGrid.Item to the ExpandoObject. This all works fine, when the user select an Item in the TreeView, the PropertyGrid will show all properties for the selected Item's dynamic properties. But all fields in the ExpandoObject is displayed with a TextBox (or CheckBox for booleans) in the PropertyGrid. The ExpandoObject can have properies of different types: strings, integers, decimals, booleans and sometimes I will need to have a dropdown list to select one value. How can get the PropertyGrid to display the proper editor based on the type of the property?

Maya
Telerik team
 answered on 30 May 2013
8 answers
139 views

I have an MVVM .Net 4.0 WPF application connecting to a database through entity framework.  I have a tab control where each tab is a distinct view.  Each of these tabs needs to maintain its own DBContext - so that when a tab is selected the previous tab’s context is disposed and the context for the new tab is created and will remain until the user leaves the tab.

This works fine while just navigating the items listed or paging through the items using the data pager control.  When a filter is applied, I can navigate away from the tab without issue, but when I navigate back to it, I get an ObjectDisposed exception on the ObjectContext when the onPropertyChanged is called for the bound QueryableEntityCollectionView.

Is there any means of avoiding this exception?  I’ve tried a number of different configurations and conditions to eliminate this, but can’t seem to find a solution. 

To demonstrate, I’ve attached a simple example that uses the AdventureWorks DB.  You’ll have to tweak the connection string in the app.config.

 You can browse and navigate between the Products and Employees tabs without issue until you apply a filter to one tab, leave it and then comeback to it.

 

Thanks for any help you can provide.

 Brian

Rossen Hristov
Telerik team
 answered on 30 May 2013
1 answer
120 views
Hi,

On Gridview when we scroll up and down using finger/mouse the row where the current mouse/finger is highlighted in a lighter gray color (we have windows 8 touch theme).  When row is selected it is highlighted by darker gray color. We would like to have -
a. Disable row highlight (of lighter gray color) when mouse/finger is on top of row.
b. When mouse/finger is on the top of row it should automatically take that row as selected (that is highlight by dark grey color).
I searched a lot in demos, couldn't find solution for these.
Any help would be appreciated. Thanks!
Yoan
Telerik team
 answered on 30 May 2013
3 answers
178 views
I think this is relatively new behaviour...

When I click in a table, the context sensitive ribbon appears (as expected).

The new behaviour is that this ribbon is automatically selected, which is not what I would expect.  This can be quite frustrating.

Is there any way I can control / stop this behaviour?

Thanks
Petya
Telerik team
 answered on 30 May 2013
1 answer
121 views
hi,
I had a Scheduler and now i want to implement Recurrence into an appointment, it works fine for creating but when appointment had recurrence, i have no way to edit this appointment unless drag this appointment to another position.
This issue not only happen for my scheduler but also for First Look sample of WPF Control Examples, please take a look on this screencast http://screencast.com/t/TojZgsK1
I'm using Telerik WPF version 2011.3.1220.40
Thanks
Kalin
Telerik team
 answered on 30 May 2013
4 answers
265 views
I am planning to use this behavior...

<Grid  >
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="4*"/>
                    <ColumnDefinition Width="4"/>
                    <ColumnDefinition Width="1*"/>
                </Grid.ColumnDefinitions>
                
                <Grid Grid.Column="0">
                    <Controls....../>
                </Grid>

                <GridSplitter Grid.Column="1"/>
                
                <Grid Grid.Column="2" >
                    <Controls: CustomControl/>
                </Grid>
            </Grid>


this custom control in the third column is a rad docking control as shown below:

<telerikDocking:RadDocking x:Name="dockPane" HasDocumentHost="False"> 
                <telerikDocking:RadSplitContainer InitialPosition="DockedRight" Orientation="Vertical" >
                    <telerikDocking:RadPaneGroup Background="White" >
                        <telerikDocking:RadPane  IsPinned="True" CanUserClose="True">

                            <telerik:RadGridView AutoGenerateColumns="False" ShowGroupPanel="False">
                                <telerik:RadGridView.Columns>
                                    <telerik:GridViewDataColumn>
..........
                                    </telerik:GridViewDataColumn>
                                    <telerik:GridViewDataColumn>
..........                                        
                                    </telerik:GridViewDataColumn>
                                </telerik:RadGridView.Columns>
                            </telerik:RadGridView>
                        </telerikDocking:RadPane>
                    </telerikDocking:RadPaneGroup>
                </telerikDocking:RadSplitContainer>            
        </telerikDocking:RadDocking>


Issues i am facing are as follows:
1) After unpinning, on mouse over of unpinned tab, exception is coming (cant not set the property width to -28.4)
2) If you do a unpin, document host is not getting collapse, it is visible, only the rad pane is tabbed on the right hand side but document host background is still visible even though i am setting the document host to false as part of docking control
3) If i want to add a rectangle at the top of the rad docking control , is it possible?
Manoj
Top achievements
Rank 1
 answered on 30 May 2013
1 answer
103 views
Hello

I have a little problem. When I open my DateTimePicker, the time is always display in gray and I don't know how to put it in black. I look in the properties, but I found nothing revelant. I attach a picture of my problem, so you can take a look at it. Anyone know what the problem is ? 

Ps : Here is how I create my dateTimePicker : <telerik:RadDateTimePicker Grid.Column="1"/>

Thank you,
David
Kalin
Telerik team
 answered on 30 May 2013
1 answer
115 views
Hello,

I see that RadPropertyGrid does not support multiselection feature as "SelectedObjects" property in Winform propertygrid, as I can only find 'Item' property, and not 'Items' property. "SelectedObjects" property finds multiple objects' shared properties and displays them, allowing them to be edited at one go. Does RadPropertyGrid have any supports for this, or do you have plans to develop it? This functionality seems crucial for Property Grid controls, so please include it in the nearing internal build.
Maya
Telerik team
 answered on 30 May 2013
1 answer
148 views
I am trying to set my x axis as a date. When I do that it seems to generate a random number of labels where only one has a value associated with it.

For example, if i had these two items:

measures.Add(new RandomItem{ Date = DateTime.Now.AddDays(-3).Date, ValOne= 5, ValTwo = 4, ValThree = 3, ValFour = 2, ValFive = 1 });
measures.Add(new RandomItem{ Date = DateTime.Now.AddDays(-2).Date, ValOne= 5, ValTwo = 7, ValThree = 3, ValFour = 2, ValFive = 1 });

The graph has the x-axis set to autocalculate and I get 13 values on the x-axis but only two distinct and only two are populated with the values above
           
<telerik:ChartArea.AxisX>
 <telerik:AxisX  LabelRotationAngle="90" Title="Day of Month"   IsDateTime="True"    />
 </telerik:ChartArea.AxisX>

What am I doing wrong? How can i get the graph to only show distinct values? I have a series set up for each val where the date is the XValue. This is an MVVM project.
Petar Kirov
Telerik team
 answered on 29 May 2013
6 answers
449 views
Hi, we're evaluating the Telerik suite for Wpf and Silverlight. If we decide to buy a license, we'll need the source code as our release schedule is pretty busy and we can't always wait for possible bugs to be officially fixed.

Looking at the License Agreement:

"1.5 .... (1) year update subscription that will provide you with Minor
and Major Updates for the Software as well as access to certain source
code for the Software"

What does exactly "CERTAIN" source code for the software means? We'll need the source code for the whole suite we're buying. Can you please clarify?

Regards,

Alessandro
Dimitrina
Telerik team
 answered on 29 May 2013
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
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?