Telerik Forums
UI for WPF Forum
2 answers
105 views
Hi,

I've just started using the RadTileList control, which is great.

Now I have a request to had pagination to the tileList, meaning that instead of scrolling horizontally, I'd have the tiles split up between as many pages as needed, with a navigation system (little dots at the bottom). So I have 2 simple questions on the subject:

- is pagination already available? (I did not see anything looking like it, but I'm still asking, just in case), or is it maybe planed?
- if not, is there a way to drag/drop tiles between 2 radTileLists ? because I can quite easily make up a pagination system on my wn, with each page containing a radtilelist, but then when dragging a tile from one page to another (and so from one radtilelist to another), I get stuck :-(

any ideas?

thanks
Michel
Top achievements
Rank 1
 answered on 05 Jul 2013
2 answers
141 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
71 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
387 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
121 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
173 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
935 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
132 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
303 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
80 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?