Telerik Forums
UI for WPF Forum
2 answers
160 views
Hi there,

In my project I have one implementation of RadScheduleView with custom appointments classes, which inherits from your IAppointment interface to show appointments into your control succesfully.

Now I'm trying to implement a TimeZone grouping without success, ATM: The IAppontment TimeZone property in my class implementation returns a system time zone for all my appointments. 

Then in my ViewModel I have a property TimeZonesSource (ObservableCollection<TimeZoneInfo>), which I've populated with my time zone I need to show.

And then in my view, I have the group descriptor:

<telerik:RadScheduleView.GroupDescriptionsSource>
    <telerik:GroupDescriptionCollection>
        <telerik:TimeZoneGroupDescription />
    </telerik:GroupDescriptionCollection>
</telerik:RadScheduleView.GroupDescriptionsSource>

When I run my project, I can see a group column for every appointment in my collection, and all appontments grouped in the last column (please see capture.png attached).

I think something is broken / not implemented properly in my custom IAppointment class. Any ideas?

Please help!

Thank you and regards.
Konstantina
Telerik team
 answered on 05 Jul 2013
1 answer
86 views
Hi,

i have the following problems/questions:

1. Is it possible to change the calendar week Logic within the Pivot? Currently the calendar week is wrong for germany.
2. Is it possible to reorder the Date-Items in the Date Tree (RadPivotList) ? I think that "Date - Quarter" Element has to come bevore the "Date - Month" element because Quarter is greater than Month.
3. Is it possible to hide some DateSteps? If the underliying data is already in years, it would make no sense to view this data in Month or Day granularity.

Thanks and best Regards,
Thomas 
Polya
Telerik team
 answered on 05 Jul 2013
8 answers
429 views
Hello,
Is there a way to show/hide columns in runtime?  I can think of a way to display the list of columns in a popup window and then toggle on/off the visibility of the columns.  What would be the recommended way to achieve this?  A code snipped will be appreciated

Thanks in advance,
Marco
Dimitrina
Telerik team
 answered on 05 Jul 2013
5 answers
139 views
If I use my own datatemplate for TimelineInstantItemTemplate then the selection functionality does not work, e.g. SelectionChanged never fires. It works fine when using the default template.

How can I make selection work when using my own template?

Thanks
Tsvetie
Telerik team
 answered on 05 Jul 2013
9 answers
184 views
I have a Telerik GridView inside a UserControl that's contained in a document panel in a composite WPF application. When I first bring the view into place, I programatically add a default selected item by calling SelectedItems.Add(item) and everything works fine. Once I give another document tab focus in the application, I notice the Unloaded event fires on the Telerik grid. When I return to that view (give the tab focus), the SelectedItems collection does not respond to method calls such as .Clear() or .Add(). No exception is thrown, but nothing happens either. For example, if there are 3 items in the SelectedItems collection and I call .Clear() on it, in the debugger, I inspect the collection only to find it still has the same 3 items in it. 

My question is, what makes SelectedItems stop responding to changes? Is it the fact that somehow the Unloaded event is fired, or is that just a coincedence? I've tried creating the grid in a simple standalone application, but the SelectedItems collection always responds to changes. I can't help but think this is causes by by the underlying FrameworkElement being unloaded. 
Dimitrina
Telerik team
 answered on 05 Jul 2013
5 answers
1.0K+ views
Hi!

I have a dataTable and one of its columns is a image (bitmap) column .
I've been trying to  show this images in my GridView by binding it to GridViewImageColumn but I don't get it. 

I read that GridViewImageColumn accepts byte[] and string types so I tryed to use this methods to convert the bitmaps and then put the result in other column and try to bind it to the  GridViewImageColumn: 

Public Shared Function BmpToByte(ByVal _bitmap As System.Drawing.Bitmap) As Byte()
    Dim _ms As New Global.System.IO.MemoryStream()
    _bitmap.Save(_ms, System.Drawing.Imaging.ImageFormat.Bmp)
    Dim _bmpArray As Byte()
    _bmpArray = _ms.ToArray()
    _ms.Flush()
    _ms.Dispose()
    Return _bmpArray
End Function



Public Function BitmapToString(ByVal bImage As Bitmap) As String
    Try
        Dim data As String
        Dim ms As New Global.System.IO.MemoryStream()
        bImage.Save(ms, System.Drawing.Imaging.ImageFormat.Bmp)
        Dim _bmpArray As Byte()
 
        data = Convert.ToBase64String(ms.ToArray())
        Return data
    Catch ex As Exception
        Return String.Empty
    End Try
End Function


The column in my gridView is still empty.....

I've tryed this code:

<telerik:GridViewImageColumn DataMemberBinding="{Binding Logo}" Header="Logo"/>


And this:


<telerik:GridViewDataColumn DataMemberBinding="{Binding Logo}" Header="Logo">
                    <telerik:GridViewDataColumn.CellTemplate>
                        <DataTemplate>
                            <Image Height="30" Width="30" Source="{Binding Logo}"></Image>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellTemplate>
</telerik:GridViewDataColumn>


I would really appreciate any help....



Yoan
Telerik team
 answered on 05 Jul 2013
3 answers
151 views
I'm looking for a command button in WPF, but it doesn't appear as if there is one.

I would like my command buttons' styling to match the other Telerik controls in the window. Would I be better off trying to match the style with the standard Visual Studio WPF command button or the Telerik WinForms Command Button?


Pavel R. Pavlov
Telerik team
 answered on 05 Jul 2013
5 answers
341 views
Hello,
I am building an application that plots points taken from the USB COM port, into C#, then i want to display these data, it reads a sample every 4 ms, the Y-axis is the value read, and the X-axis is the time.
Can it be done using your Grid View/ Live data control ? 
And is there a better control that i am not baying attention to ?
Any help is appreciated, 

Thanks in advance.
Regards,
Nada.
Nikolay
Telerik team
 answered on 05 Jul 2013
3 answers
93 views
I'm working on a project(appointment scheduler and clinic management system) for several months now using WPF Telerik controls and OpenAccess ORM.
But I have no idea how use RadScheduleView and OpenAccess ORM.
I really need an example which demonstrates how to use these two tools together.
Yana ,Kalin and  the other Telerik guys , please Help ..
Thanks in advance
hiwa
Hiwa
Top achievements
Rank 2
 answered on 04 Jul 2013
1 answer
341 views
When I used Telerik WPF VS Extension to convert my project to Telerik WPF project there was a check box to 'Add referenced assemblies' to project.

When I checked that and chose the few assemblies I needed in my project, I discoverd that ALL the Telerik WPF assemblies have been copied to ...\lib\RCWPF\2013.2.611.40, not just the referenced assemblies as the check box stated. Also ALL the language assemblies were copied as well eventhough I do not intend to use localization.

When I build my solution now only the assemblies I referenced are copied to bin/Debug folders so why did the WPF VS Extenstion copy ALL the WPF assemblies to my solution and can I just waste my time tracking down assemblies I do not need and delete them?

Also, all the localization assemblies are copied to bin/Debug eventhoug I do not need them... why is that and how do I get rid of localization assemblies? Can I just delete them?
Petar
Telerik team
 answered on 04 Jul 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
Book
FileDialogs
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
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
Bronze
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
Bronze
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?