Telerik Forums
UI for WPF Forum
1 answer
77 views
Hello! Recently found bug with RadTileView. In my project I have several modeless windows that have RadTileView inside them. Inside my main window TileView is working good, but inside all other windows item dragging inside RadTileView is buggy, when I start drag - there is no animation there and RadTileViewItems are not repositioned during drag operation. Only when I release mouse button I can see a result. And also if I spend some time dragging items in that TileViews, app often crashes with stack overflow in Telerik.Windows.Controls.Navigation.dll. Finally I've found the solution for that - always set Application.Current.MainWindow to window that is active at the moment. But this is not very convenient. Can you help me to solve that issue?

Best regards,
Ivan Petroff
Zarko
Telerik team
 answered on 16 Mar 2011
4 answers
414 views
I created a context menu for each row in a gridview following this example - http://blogs.telerik.com/vladimirenchev/posts/09-04-09/how_to_radgridview_for_silverlight_row_context_menu_in_three_simple_steps.aspx and it works fine without the SelectionChanged event.
Now, the problem is that I want a user to be able to left-click a row and it will take them to another page:
private void radGVInspectionForm_SelectionChanged(object sender, Telerik.Windows.Controls.SelectionChangeEventArgs e) 
        { 
             
            ////Get the reference to the selected item 
            object mySelectedRow = radGVInspectionForm.SelectedItem; 
 
            ////Get the id of the form 
            string id = ((InspectionFormDS.InspectionFormTableRow)mySelectedRow).Id; 
             
            ////Navigate to the edit form page 
            this.NavigationService.Navigate(new DisplayInspectionFormPage(Convert.ToInt32(id))); 
        } 
But this code fires when I try to right-click a row to get to the context menu. So the SelectionChanged event fires for both left and right clicks.
How can I figure out which mouse button was clicked in the SlectionChanged event so if a right button is clicked, then show context menu, if a left button is clicked, then navigate to other page?
Rossen Hristov
Telerik team
 answered on 16 Mar 2011
1 answer
89 views
Hi,

1) Could you please provide an example code for the Treelistview UI Virtualization code? Also, should it be "LINQ-Based Data Engine" always to avail the UI Virtualization feature? If yes then provide an example with LINQ based.

2) UI Virtualization still should work even if my Treelistview control has some editable columns?


Thanks,
Suman
Vlad
Telerik team
 answered on 16 Mar 2011
4 answers
188 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
110 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
249 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
143 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
173 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
225 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
158 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?