Telerik Forums
UI for WPF Forum
2 answers
92 views
I can initiate the insertion of a new row by pressing [insert] or clicking on the "Click here to add..." row, but RadGridView.BeginInsert() does nothing. Likewise, I can cancel the addition of a new row by pressing [esc] twice (once for the cell and once for the row), but RadGridView.CancelEdit() does nothing. CancelEdit() also does nothing for a non-new row in edit mode.

Am I missing something? I have tried just about everything short of simulating the keystrokes, which I will try if I can't find a solution that is less of a hack.
sprucely
Top achievements
Rank 1
 answered on 03 May 2011
2 answers
60 views
How can I get a handle to the Rows of the items listed in the removed items list on selectionchanged event???
I'm trying to change the fontweight property on the rows once there deselected.
Brandon
Top achievements
Rank 1
 answered on 03 May 2011
1 answer
340 views
I want to add a simple context menu to a treeview. So far I have

<telerik:RadTreeView ItemsSource="{Binding Customers}">
  
    <telerik:RadContextMenu.ContextMenu>
        <telerik:RadContextMenu>
            <telerik:RadMenuItem Header="New" />
            <telerik:RadMenuItem Header="Open"/>
            <telerik:RadMenuItem Header="Delete" />
        </telerik:RadContextMenu>
    </telerik:RadContextMenu.ContextMenu>
</telerik:RadTreeView>

When I run it and right-click the treeview, I get nothing. There is no data, so there are no nodes, but that shouldn't matter - how would the user selected the New option?


Petar Mladenov
Telerik team
 answered on 03 May 2011
1 answer
149 views
Hi,

I'd like to be able to insert content (like a table or image for example) during during the RichTextBox drop event. During the drop event, I'd like to tag it somehow so that at a later time I can identify the table or image and replace with new content.

I've considered using a Comment as a marker - but have some questions around this:

1.) Is this the best way to achieve this?
2.) I've been able to add the comment to the document, but don't understand how to access the content contained between the CommentRangeStart and CommentRangeEnd elements.


Thanks in advance!

Jason
Iva Toteva
Telerik team
 answered on 03 May 2011
2 answers
106 views
Hello,

Recently we upgraded our telerik controls to version 2011.1.419.35. In this project we're hosting a RadGridView control in a RadTileViewItem. The problem we're running into is when we resize any of the RadTileViewItem's the one containing the RadGridView isn't behaving like the rest. sometimes it will be too big or too small or the other items disappear from view.

below is simple example that repeats my problem.

<Window x:Class="WpfApplication18.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadTileView>
            <telerik:RadTileViewItem>
                <telerik:RadGridView />
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem>
                <Button Content="Button 1" />
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem>
                <Button Content="Button 2" />
            </telerik:RadTileViewItem>
            <telerik:RadTileViewItem>
                <Button Content="Button 3" />
            </telerik:RadTileViewItem>
        </telerik:RadTileView>
    </Grid>
</Window>

Any Ideas?

Thanks Much,
~Boots
Boots
Top achievements
Rank 1
 answered on 03 May 2011
2 answers
108 views
Hi, I want to have a custom column with a user control that floats when activated like the window in an embedded combo box does. I used your examples and was able to embed my custom user control, but when it activates (I hit space) it sizes the column to the height and width of the user control. I would like to have the user control actually float on top like a combo box does when you dropmit down. My user control will have multiple controls. I will actually have several custom user controls placed in multiple custom columns. These will represent compound data the may not always be used I will already be using multiple level hierarchies in the caraway. The goal is to make a green screen replacement keyboard centric data input screen. The idea with the user controls is to let the person doing the data entry drop Into these sub levels when needed. Since these sub types are needed infrequently, rather than fill up a row with columns that aren't used most of the time, I want to be able to fold up the functionality like this. The structure I am mapping is not only complex, but the columns available changes depending on the customer and the type of order being placed. Thanks formthe help
Tom Testa
Top achievements
Rank 1
 answered on 03 May 2011
1 answer
49 views
Hi,
I want to use the CustomFilterRow for the GridView as explained in the WPF Demo application. So far it's working pretty fine but it still lacks some functionality that I need to have: Like in the filtering control that is shown when built-in filtering is enabled I need to show the distinct values in the filterrow. Therefore I want to replace the Textbox by a Combobox and bind it to distinct values of the corresponding column. Alternativly It would be nice to be able to use the built-in like filtering control and show it by the customfilterrow. I am quite sure that all of my requierements can be done, but I haven't found anything applicable while searching for hours!

Thanx for any hints!
Vlad
Telerik team
 answered on 03 May 2011
0 answers
176 views
I am using Telerik gridvew and created dynamically. I want to Show Each column Header under two subheader through programatically in wpf using c#
Satyajit
Top achievements
Rank 1
 asked on 03 May 2011
1 answer
96 views
Hi,

I have implemented loadondemand for my radtreelistview

when the control is loaded,
the filter on one of the colums is only displaying data members that exists in the first level items
this is fine,
but I would expect when I expand some rows,
and open the filter panel again, the data members exist in child rows should also be availible in the filter panel

however, typing the child level data member in the text boxes and apply filter works
is there any way to regenerate the list in the filter panel?

in addition, when I have null values in the column, the apply filter takes forever to complete, the application just hang

I want to explain a bit of what I need to achieve with radtreelistview below,
so I can get some help and to see whether I can achieving the goals better with radtreelistview

What am I trying to do here is the following:

1. a three level radtreelistview, each level is a different type
2. each type will have different attributes or properties specific for them
3. since radtreelistview will have different levels to share the same columns, we decided to combine those attributes and set them to be editable only when applicable
4. some of the columns will be combobox columns, however, I don't want the user to select from a combo box when they are on a row that they shouldn't select one for that attribute
5. so I have set cell templates for those columns, in the cell template I have put in just a combo box, and has its Visibility binded to view model object
6. then the user can only select whenever applicable
7. now when i want to filter them, i can only use the numbers (the data memebers or value memebers) but not text (display memeber), do I need to create an attribute in the view model and fill in the value (text) depends on the view model's data or value memeber? or is there an easier way of doing it?

Cheers
Vlad
Telerik team
 answered on 03 May 2011
1 answer
104 views
Hi,

Currently the horizontal scrolling on the RadGridView cuts through the columns while scrolling horizontally. For example when you scroll, I would like to skip the entire column instead of half of it remaining on the viewing screen itself which doesn't seem presentable.

I  am passing over a screen shot of the issue we are facing. As you can notice that we have a few frozen columns as well.

http://i51.tinypic.com/65bqtt.png

Thanks,
Farhan

<telerik:RadGridView IsFilteringAllowed="False"
                                     x:Name="PricingEcoList"                                                                        
                                     ItemsSource="{Binding Path=TrancheDataCollection}"
                                     AutoGenerateColumns="False"                                                                                                                                          
                                     SelectedItem="{Binding SelectedTranche, Mode=TwoWay}"                                     
                                     FrozenColumnCount="4"                                   
                                     AlternationCount="2"
                                     EnableRowVirtualization="True"
                                     Style="{DynamicResource RadGridViewStyle}"
                                     SelectionMode="Extended"
                                     Background="{DynamicResource DealOverViewBackGrndGrad}"
                                     HeaderRowStyle="{DynamicResource GridViewHeaderRowStyle}"
                                     telerik:StyleManager.Theme="Windows7"
                                     >
Vlad
Telerik team
 answered on 03 May 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?