Telerik Forums
UI for WPF Forum
3 answers
232 views
Hi,

I'm using the DragDropManager to allow dragging from one RadListBox to another RadListBox. But I need to identify the exact RadListBoxItem on the target list box where the item was dropped onto.

I was hoping to achieve this by using this style for the target list box:
<Style x:Key="DroppableListBoxItem" TargeType="telerik:RadListBoxItem">
   <Setter Property="AllowDrop" Value="true" />
</Style>

And applied this to the list box:
<telerik:RadListBox ItemContainerStyle="{StaticResource DroppableListBoxItem}"
              ItemTemplate="{StaticResource ItemTemplate}"
              ItemsSource="{Binding Path=MyItems}"/>

Note: I did not set AllowDrop=true on the list box itself (I tried it, but I made no difference).

But my DropHandler never returned the list box item, instead I was getting the list box itself.

BTW
Is there a way to highlight the list box item below the the mouse while dragging an item over it?

Thanks,
Thorsten

(I'm using RadControls for WPF Q2 2013)
Vladi
Telerik team
 answered on 08 Aug 2013
1 answer
79 views
Hi Team,

            I want to change the validation image shown in the rowindicator column(Refer attached image). Please provide the solution for this. If possible send me the sample project.

            Thanks in Advance.
Vanya Pavlova
Telerik team
 answered on 08 Aug 2013
3 answers
107 views
I would like to replace the default "error" image that is used to denote and invalid column (see attached image).  What's the best way to do so?
Vanya Pavlova
Telerik team
 answered on 08 Aug 2013
1 answer
140 views
Hello.
Please help...
How can i add wrappanel into  RadRibbonGroup with HierarchicalDataTemplate?
I have a xaml code and it works fine:
<telerik:RadRibbonView DockPanel.Dock="Top">
            <telerik:RadRibbonTab Header="RadRibbonTab">
                <telerik:RadRibbonGroup Header="RadRibbonGroup" VerticalContentAlignment="Top">
                    <WrapPanel Orientation="Vertical">
                        <telerik:RadRibbonButton Text="RadRibbonButton" Height="5" VerticalAlignment="Top"/>
                        <telerik:RadRibbonDropDownButton Text="RadRibbonDropDownButton" Height="5" VerticalAlignment="Top"/>
                        <telerik:RadRibbonButton Text="RadRibbonButton" Height="5" VerticalAlignment="Top"/>
                        <telerik:RadRibbonDropDownButton Text="RadRibbonDropDownButton" Height="5" VerticalAlignment="Top"/>
                        <telerik:RadRibbonButton Text="RadRibbonButton" Height="5" VerticalAlignment="Top"/>
                        <telerik:RadRibbonDropDownButton Text="RadRibbonDropDownButton" Height="5" VerticalAlignment="Top"/>
                    </WrapPanel>
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
        </telerik:RadRibbonView>

How can I do the same with the ItemsSource and HierarchicalDataTemplate?
Thank you.
Kiril Vandov
Telerik team
 answered on 08 Aug 2013
3 answers
61 views
Hi,
I am using RadTreeList View, when i set EnableRowVirtualization= "False" every time i am getting one extra row after clicking the Expandar.
I am not understanding why RowVirtulization is adding an Extra Row and how to get Rid of this Issue. 
Yordanka
Telerik team
 answered on 08 Aug 2013
2 answers
160 views
Hi,

First of all, thank you for the wonderful products and controls. I am getting familiarized with the code and everything has been going smoothly so far.

My question is, is it possible to add elements to RadChart ChartArea DataSeries in an asynchronous way, so that the main UI would not be blocked during setting the variable?

Thank you!
EM
Top achievements
Rank 1
 answered on 07 Aug 2013
7 answers
108 views

Hello, 

I need to update te value of a cell in my radgrid view. When I try to change it the grid does not uptate its value until I reagroup or manipulate the grid in any other way

This is my code:

selectedItem = TryCast(Me.rgv_attributes.Items.Item(0), c_accionAtributo)
Me.rgv_attributes.Items.EditItem(selectedItem)
selectedItem.Value = "algo"
Me.rgv_attributes.Items.CommitEdit()


The itemsource is an ObservableCollection(Of c_accionAtributo) 
Me.rgv_attributes.ItemsSource = atributes


Any help?

Thanks!





Daniel
Top achievements
Rank 1
 answered on 07 Aug 2013
0 answers
118 views
Hi Experts,

I have a RadGridView with HierarchyChildTemplate relationship in my WPF application, here i want to expand a parent Row and highlight a child row. Also i want to bring that record at the top of my Grid in button click event.

We are able to expand the Parent row but we are not able to highlight the Child row, please let me know how to access the Child Grid and highlight the Row.

This is very urgent for us, so help us asap.

Thanks in advance,
Bharathi.
Bharathi
Top achievements
Rank 1
 asked on 07 Aug 2013
2 answers
113 views
Hello,

Is there any way that I can bind to the Filtered Source so that I can update something else on my control only when th Filtered Source changes.  I'm currently listening to all of the filter descriptor collection events, but the filtered source doesn't update until after all of those events fire when removing a filter.  So if I could do something like dataFilter.FilteredSource.DataChanged += blahblah it would make everything a lot easier.

Thanks,
Aaron
Aaron
Top achievements
Rank 1
 answered on 07 Aug 2013
4 answers
390 views
I have a page based wpf application, where a user enters information and clicks on a "Next" button, and is brought to a new page, passing the information along.  When the second page is reached, I want to dynamically add tab(s), group(s), and wrappanel(s), based on how many inputs they submitted.  I am trying the following, but it is exceptioning out with the following error:

Layout measurement override of element 'Telerik.Windows.Controls.RibbonView.Primitives.RibbonGroupsPanel' should not return PositiveInfinity as its DesiredSize, even if Infinity is passed in as available size.

Code:
             RadOrderedWrapPanel checkpointwrap = new RadOrderedWrapPanel();
            checkpointwrap.Name = "ckwrap";

            RadRibbonGroup checkpointgroup = new RadRibbonGroup();
            checkpointgroup.Name = "ckp_" + "2";
            checkpointgroup.Items.Add(checkpointwrap);
            checkpointgroup.Header = "GroupTest";

            RadRibbonTab checkpointtab = new RadRibbonTab();
            checkpointtab.Name = "CKP1";
            checkpointtab.Items.Add(checkpointgroup);

            this.Grid1.Children.Add(checkpointtab);
Pavel R. Pavlov
Telerik team
 answered on 07 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?