Telerik Forums
UI for WPF Forum
3 answers
295 views
I am populating a treeview control from a database. I want to allow the user to drag and drop nodes to arrange the nodes in a sort order. I was trying to use the DragEnded event to get the new position in the tree and update the new position in the database. I thought I could use the IndexOf to get the new position in the tree the node is located. If I drag a root node the Items.IndexOf for the dragged node returns the correct position, lower level nodes return -1. The code I am using is as follows:

    Private Sub RadTreeView1_DragEnded(ByVal sender As ObjectByVal e As Telerik.Windows.Controls.RadTreeViewDragEndedEventArgs) Handles RadTreeView1.DragEnded  
 
        Dim newSortOrder As Integer 
        Dim parentId As Integer 
 
        Dim draggedItem As RadTreeViewItem = e.DraggedItems(0)  
        Dim eStore As eStoreDataDataContext = New eStoreDataDataContext  
 
        If IsNothing(draggedItem.ParentItem) Then 
            ' no parent then item is root node  
            parentId = 0  
        Else 
            parentId = draggedItem.ParentItem.Tag.ToString  
        End If 
 
        newSortOrder = RadTreeView1.Items.IndexOf(draggedItem)  
 
        MsgBox("parentId = " & parentId.ToString)  
        MsgBox("newSortOrder = " & newSortOrder.ToString)  
 
    End Sub 
 


 I am using the tag property to identify the parentId value in my database table. Does anyone know why the Items.IndexOf returns a number corresponding to the order the item is displayed in the tree for root node items and -1 for all other nodes?

Thanks.
Kiril Stanoev
Telerik team
 answered on 17 Jun 2009
1 answer
97 views

hi

I have a radgridview in this two column first column have string value and in second column  combo box contain list of string.When application run user select any value in combobox when save then i have two value one is string and another is string value which is select from combo box .how to iterate on radgridview,save values.how can i achieve this problem.please send an example. 
Stefan Dobrev
Telerik team
 answered on 16 Jun 2009
6 answers
405 views
Hey

How can I set ShowGroupPanel=False
in a child grid (when I use hirarchy)

Thanks
Rossen Hristov
Telerik team
 answered on 16 Jun 2009
3 answers
193 views
I see there's an API to scroll a record into view:

RadGridView.ItemsControl.BringRecordIntoView

But I also need the ability to insure that a specific cell is also in view (if the grid has horizontal scroll bars), but I see no public API to do this.

Milan
Telerik team
 answered on 16 Jun 2009
3 answers
664 views

hi

I have a class in this two property string,list<string> when I bind List<string> to GridViewComboBoxColumn then show empty combobox.how can i achive this problem.please give a example.

<Grid>
        <Grid x:Name="blobsSizeSettings">

            <telerik:RadGridView  Margin="0,0,0,0" Name="BlobSizeSettings" telerik:Theming.Theme="Vista" MultipleSelect="True" 
               AutoGenerateColumns="False" ShowGroupPanel="False" RowIndicatorVisibility="Visible"  Background="White" CanUserFreezeColumns="False"  CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" IsReadOnly="False" IsFilteringAllowed="False"  ColumnsWidthMode="Fill" ScrollMode="RealTime">
                <telerik:RadGridView.Columns>
                    <telerik:GridViewDataColumn HeaderText="BlockSize" UniqueName="FileSizeString"></telerik:GridViewDataColumn>

                     <telerik:GridViewComboBoxColumn HeaderText="Blocks" ItemsSource="{Binding Size}}"></telerik:GridViewComboBoxColumn>
                </telerik:RadGridView.Columns>
            </telerik:RadGridView>
           
        </Grid>
    </Grid>

Stefan Dobrev
Telerik team
 answered on 16 Jun 2009
1 answer
142 views
I am deploying some of the controls in my WPF application using InstallShield.  How can I resolve the warnings below:

ISDEV : warning -6248: Could not find dependent file penimc.dll, or one of its dependencies of component Telerik.Windows.Data.dll

ISDEV : warning -6248: Could not find dependent file presentationhostdll.dll, or one of its dependencies of component Telerik.Windows.Data.dll

ISDEV : warning -6248: Could not find dependent file wpfgfx_v0300.dll, or one of its dependencies of component Telerik.Windows.Data.dll

Milan
Telerik team
 answered on 16 Jun 2009
1 answer
92 views
I am reviewing the Telerik RadGridView for WPF. I've seen the demos and like what I see; however, the demos are quite simplistic. How innovative will I be able to get with the grid? Are there more examples out there? 

My Needs:
I would like to have a nested grid within a cell.

Or, I may want the ability to have different custom lookups within the same column for different rows depending on a given type. For example, row 1 may identify product A so column A may need a date lookup in Column 5. However, row 2 may be for a different product and column 5 may need a card layout lookup for that row.

 Are these possible?

Thank You.
Nedyalko Nikolov
Telerik team
 answered on 15 Jun 2009
2 answers
112 views
It keeps timing out the download right at the end - tried in a couple of different browsers. Is it just really busy right now?

I guess I'm getting what I paid for... :)
Daniel
Top achievements
Rank 1
 answered on 15 Jun 2009
1 answer
145 views
I don't have SQL Express or Northwind installed. I have the SQL Server 2008 Developer edition installed. Is there any way I can get the sample code to run without SQL Express? Where can I get Northwind for SQL Server 2008 Developer?
Milan
Telerik team
 answered on 15 Jun 2009
3 answers
345 views
How do you disable inserting new items into the grid?
Milan
Telerik team
 answered on 15 Jun 2009
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?