Telerik Forums
UI for WPF Forum
4 answers
248 views
Hello,

we have the following problem on a radgridview that is bound to an observable collection of entities (entities of EF class):

After binding the collection to the grid the date is shown with its time portion just as expected. Problem is, when setting / edting the date (either manual or via the picker) the time is being re-set to 00:00:00, which can't be changed. When manually trying to specify the time it is again re-set to 00:00:00. Is there a way to edit the time portion as well, i.e. to set the time somehow (this feature would be crucial for us!!!!).

Our xaml is pretty standard:

            <telerik:RadGridView x:Name="radBerthingSlots" 
                AutoGenerateColumns="False" 
                MaxHeight="500" 
                IsEnabled="True" 
                ItemsSource="{Binding BerthingSlots}">  
                <telerik:RadGridView.Columns> 
                    <telerik:GridViewDataColumn Header="High Tide Date" DataMemberBinding="{Binding HighTideDate}" />
                </telerik:RadGridView.Columns> 
            </telerik:RadGridView> 

I tried a couple of things including adding a timespan property to our EF class to circumvent the issue, but I have given up now (spend already 2 days on this).

Please advise....

Regards...

M
Joel Palmer
Top achievements
Rank 2
 answered on 15 Mar 2011
1 answer
133 views
Hi,

what I have: a simple gridview with list of patients.
what I need to do: export the selected patients to excel, with details that are not in the gridview, like their measurements, activities and a graph generated by the telerik chart control. 
so my question is: how should I do this, taking advantage of the export features of the gridview?

Thanks!
L
Ivan Ivanov
Telerik team
 answered on 15 Mar 2011
1 answer
289 views

Hello

I need to implement is Dirty in the grid.

If the value in the cell in changed the grid is dirty.

If the value returns to the original value is not dirty.

I try to do this in the cell edit ended and save the cell that dirty

The problem is that the grid generates the cell again so that the cell is not the same.

How can I solve this?

Best regards

Ehud

   

Ivan Ivanov
Telerik team
 answered on 15 Mar 2011
4 answers
187 views
Hello,

I'm working with a RadDaraFilter and a GridView.

The data I show is a list of instances of multiple types that derive from a base type. The derived types have their own set of properties.

Knowing that the data filter wasn't going to go through my derived types' properties, I populated the filter item property definition manually.
Unfortunately, it seems like the data filter only does the filtering on the properties of the base type, or the one the generic collection is of.

Example:
class BaseType
{
string Name { get; set; }
}

class DerivedType1 : BaseType
{
string SubData { get; set; }
}

class DerivedType2 : BaseType
{
string AnotherSubData { get; set; }
}

var list = new List<BaseType>();
// add DerivedType1 and 2 instances to list.
dataFilter.Source = list;

My filter contains the item property definitions for Name, SubData and AnotherSubData.
- Filtering on Name is the only thing that works (guessing because it's in the base type).
- Filtering on SubData and AnotherSubData always results in an empty list in the grid view.

Is there any workarounds for this?

Thanks!
Matt
Matt
Top achievements
Rank 1
 answered on 15 Mar 2011
5 answers
200 views
Hello!

In my project I have multiple windows that have RadDocking as their content. Each window has several RadPanes in its RadDocking. What I want to have is the ability to drag RadPane from one window to any other and make it dock in RadDocking other than it was created for. But now when I'm dragging the pane onto the top of other window - it can't be docked and compass is not visible there. How could this be solved?

Best regards,

Ivan Petroff

Igor
Top achievements
Rank 2
 answered on 15 Mar 2011
3 answers
275 views
Hallo,

I'm using the Silverlight CoverFlow and need a control with the same behavior in WPF. So I've tried the RadCarousel. In the sample application is a CoverFlow example but the RadCarouselPanel has no ItemSource, which I need to bind my items. (By the way: It is not possible to select the last item without the scrollbar!). I've also tried to use the RadCarousel with an ItemsTemplate but I always have a border around the cover. And I'm also getting a NullReferenceException when I select an item with the mouse.

Can you please provide me an example for a carousel with coverflow behavior and binding?
I'm using the Q3 SP2 release.
Peter
Telerik team
 answered on 15 Mar 2011
2 answers
180 views
Hi,

I'm trying to make a simple demo application that includes a 2D bubble chart which needs to have the bubbles coloured differently if the YValue is greater than a certain value. It is basically the bubble equivalent of the MVVM example, but I am having trouble creating the style for the bubble.

Could you please provide an example style for this.

Thanks
Vladimir Milev
Telerik team
 answered on 15 Mar 2011
1 answer
101 views
I've been playing with a bunch of different charting engines trying to find wich one is right for our project.

Doing a binding like this:

<telerik:AxisY
AutoRange="False"
MinValue="{Binding Path=AxisProp.YMin}" 
MaxValue="{Binding Path=AxisProp.YMax}" 
Step="{Binding Path=AxisProp.YTick}"    />

Seems to work, but for some reason it doesn't seem to work.

Looking at the debug information in the output window I see entries like this:
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=AxisProp.YMin; DataItem=null; target element is 'AxisY' (HashCode=65127578); target property is 'MinValue' (type 'Double')

Any idea why this is failing?
Vladimir Milev
Telerik team
 answered on 15 Mar 2011
2 answers
115 views
Hi

In my application, I have created a custom template that can display ID - Name pairs in one cell. The problem is, that I cannot use filtering in this case.

I have specified DataMemberBinding for the column, but instead of binding directly to a property, I use a converter on the Binding to retrieve the value from the data object (converter gets the id and the name and puts them in a string). The converter works well in Excel export, however filtering options is still missing in the GUI.

Binding bnd0 = new Binding(".");
            bnd0.Converter = new IDValueColumnToStringConverter();
            bnd0.Mode = BindingMode.OneWay;
...
return new GridViewDataColumn() {... DataMemberBinding=bnd0 };

Filtering icon is not displayed at all. Is there any workaround on this issue? Can I write custom filtering methods, but use the design of Telerik filtering dialogs?

Thanks for the help in advance,
                                                     G. M.
Gergely
Top achievements
Rank 1
 answered on 15 Mar 2011
3 answers
111 views

Questions:

1) does virtulisation works if we have dynamic editable columns in the treelistview?
2) will this control can handle 70 columns with around 30k rows and 8 levels worth of data?

Please help us with some performance guidance.

Thanks,
suman
Top achievements
Rank 1
 answered on 14 Mar 2011
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
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?