Telerik Forums
UI for WPF Forum
1 answer
120 views
Hi,

In my application,I have a combobox in a window, in which some numeric values are there to set zoom for the application.
when I Click on the combo box and than click on the restore button of the window, I get a window that ask for RadTreeViewItem.Events.cs file.

It gives follwing code at disassambly.

c:\Builds\WPF_Scrum\WPF_Team\Sources\Development\Silverlight\Telerik.Windows.Controls.Navigation\TreeView\RadTreeViewItem.Events.cs
00000000  push        ebp 
00000001  mov         ebp,esp
00000003  sub         esp,8
00000006  mov         dword ptr [ebp-8],ecx
00000009  mov         dword ptr [ebp-4],edx
0000000c  cmp         dword ptr ds:[075A0B60h],0
00000013  je          0000001A
00000015  call        6D42ADF1
0000001a  mov         ecx,dword ptr [ebp-8]
0000001d  xor         edx,edx
0000001f  call        005A8148
00000024  mov         ecx,dword ptr [ebp-8]
00000027  call        005A78F0
0000002c  nop             
0000002d  mov         esp,ebp
0000002f  pop         ebp 
00000030  ret         4 

after this my application get crash.Can anybody help me out to find the reason behind this.

***Application works well if Combo's IsEditable= False,but if it is True application gets crash.

Thanks,
Anshul
Miroslav Nedyalkov
Telerik team
 answered on 18 Jun 2009
3 answers
199 views
Hi
I have an async data source in my ViewModel class.
I want to force the grid to show it's animation.
I set that DataLoadMode property to Asynchronous but it's not working (the grid don't know that there is background operation)
How can I make it work?
(In silverlight it was IsBusy state but here it's readonly )
Thanks
Adiel
Adiel
Top achievements
Rank 2
 answered on 18 Jun 2009
5 answers
319 views
Hi

Is there any documentation on using this feature (I'm assuming this will allow us to show some animation whilst the grid is loading data)?
Milan
Telerik team
 answered on 18 Jun 2009
1 answer
556 views
                    <telerik:GridViewDataColumn Width="25">  
                        <telerik:GridViewDataColumn.CellStyle> 
                            <Style TargetType="telerik:GridViewCell">  
                                <Setter Property="Template">  
                                    <Setter.Value> 
                                        <ControlTemplate TargetType="telerik:GridViewCell">  
                                            <Button   
                                            Command="{Binding IngredientDeleteCommand}" 
                                            HorizontalAlignment="Center"   
                                            VerticalAlignment="Center">  
                                                <Image Height="20" Width="20" Source="/CakeBoss.WPF;component/Images/delete.png" /> 
                                            </Button> 
                                        </ControlTemplate> 
                                    </Setter.Value> 
                                </Setter> 
                            </Style> 
                        </telerik:GridViewDataColumn.CellStyle> 
                    </telerik:GridViewDataColumn> 

I've got a column that is for deleting a row, and I'm using MVVM so i'm binding to a command instead of using the click event on the button.  The command does not fire from inside the grid, but the Click event does.   If I copy the button outside the grid the button works just great.  Any clues?
Jon
Top achievements
Rank 1
 answered on 18 Jun 2009
3 answers
268 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
78 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
365 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
168 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
632 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
123 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
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?