Telerik Forums
UI for WPF Forum
1 answer
123 views
Hello
I have a grid with tow columns
when there is no data in the grid
only the header of the first column is shown
 this is my xaml
 <Grid> 
                        <telerik:RadGridView  Name="gvCustomersIn" AutoGenerateColumns="False" Margin="10,10,10,10" Height="auto" ColumnsWidthMode="Fill" 
                                 HorizontalAlignment="Center" IsFilteringAllowed="False" FlowDirection="RightToLeft" ShowGroupPanel="False" Width="auto" 
                                 BeginningEdit="Grid_BeginningEdit" CellEditEnded="gvCustomersIn_CellEditEnded">  
                                <telerik:RadGridView.Columns> 
                                <telerik:GridViewComboBoxColumn     
                                    DataMemberBinding="{Binding Path=CustomerUnitID}"      
                                    DisplayMemberPath="Name"     
                                    SelectedValueMemberPath="Id"     
                                    Header="שם לקוח"     
                                    UniqueName="CustomerUnitName"     
                                    />                                  
                                <telerik:GridViewComboBoxColumn     
                                    DataMemberBinding="{Binding Path=CustomerTypeID}"      
                                    DisplayMemberPath="Name"     
                                    SelectedValueMemberPath="Id"     
                                    Header="סוג לקוח"     
                                    UniqueName="CustomerTypeName"   
                                    /> 
                                </telerik:RadGridView.Columns> 
                            </telerik:RadGridView>    
                    </Grid>       

Thanks
Missing User
 answered on 05 Nov 2009
3 answers
352 views
Hi,

I am implementing a treeview with a collection. I want to adjust the height of rows, want thinner and it does not occupy a lot of space.

How can I do it?

Thanks,
Dimitrina
Telerik team
 answered on 05 Nov 2009
1 answer
245 views
Hello Telerik,

I have editable radcombobox, and i need to open the dropdown of the combobox when a user clicks on/inside the combobox.
can any one update me how to implement above functionality asap...

Thanks,
Kranthi
Valeri Hristov
Telerik team
 answered on 05 Nov 2009
5 answers
172 views
Hello
I want to add a check box column
but in a specific row (Value="{x:Null}")
I dont want to see the checkbox
just to have an empty cell
one more thing-
in that specific row I want to have a specific style to the all row
this is my code

the style to the all row
<Style TargetType="{x:Type telerik:GridViewRow}">  
                                <Style.Triggers> 
                                    <DataTrigger Binding="{Binding Path=ParentID}" Value="{x:Null}">  
                                       <DataTrigger.Setters> 
                                            <Setter Property="FontSize" Value="12" /> 
                                            <Setter Property="FontWeight" Value="Bold" /> 
                                        </DataTrigger.Setters> 
                                    </DataTrigger> 
                                </Style.Triggers> 
                            </Style> 
in this row I dont want to see the check box.

the checkbox column
<ControlTemplate x:Key="cellTemplate" TargetType="{x:Type telerik:GridViewCell}">  
                                    <Border BorderBrush="DarkGray" BorderThickness="0,0,1,1">  
                                        <CheckBox IsChecked="{Binding Field.Record.Data.General, RelativeSource={RelativeSource TemplatedParent}}"   
                                                    HorizontalAlignment="Center" VerticalAlignment="Center" /> 
</Border> 
</ControlTemplate> 


Thanks!
Milan
Telerik team
 answered on 05 Nov 2009
1 answer
61 views
I've spotted a few omissions in the documentation, mainly in the 'What's New' areas, so I just thought I'd point them out. Overall, the documentation is much improved - many thanks for that.

  • Overall 'What's New' is still for Q2.
  • RadGauge 'changes and backwards compatibility' still for Q2
  • RadScheduler ditto
  • RadGauge ditto
  • RadTreeView 'changes' section is empty
  • RadTabControl 'changes' section is empty
  • Some controls don't have a 'what's new' or 'changes' section
  • Some controls are missing from the 'Controls' section altogether - e.g. RadButton,RadMenu,RadDatePicker

Steve
Hristo
Telerik team
 answered on 05 Nov 2009
2 answers
77 views
Getting fatal error when I attempt to run the WPF Examples executable. Here is the message:
"Telerik.Windows.Examples has encountered a problem and needs to close...."

Dialog appears to send error report to Microsoft.

Any ideas about how I can correct the problem?
Milan
Telerik team
 answered on 05 Nov 2009
4 answers
136 views
HI,
I'm getting an application error whenever I'm doing a mouse wheel scrolling on an empty grid.
Some details:

===================================

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index (mscorlib)

------------------------------
Program Location:

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at System.Collections.ObjectModel.Collection`1.get_Item(Int32 index)
   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.LineUp()
   at Telerik.Windows.Controls.GridView.GridViewScrollViewer.OnMouseWheel(MouseWheelEventArgs e)
   at System.Windows.UIElement.OnMouseWheelThunk(Object sender, MouseWheelEventArgs e)
   at System.Windows.Input.MouseWheelEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)

Binu Abraham
Top achievements
Rank 1
 answered on 04 Nov 2009
3 answers
64 views
Hi,

I tried to show mm/yyyy on gridview with the code

CultureInfo

 

cultureInfo = new CultureInfo("en-US");

 

 

DateTimeFormatInfo dateInfo = new DateTimeFormatInfo();

 

dateInfo.ShortDatePattern =

"MM/yyyy";

 

cultureInfo.DateTimeFormat = dateInfo;

 

Style datePickerStyle = new Style(typeof(RadDatePicker));

 

datePickerStyle.Setters.Add(

new Setter(RadDatePicker.CultureProperty, cultureInfo));

 

datePickerEditorSettings.CellEditStyle = datePickerStyle;

 

 

 

((

GridViewDataColumn)this.radGridViewData.Columns[1]).EditorSettings = datePickerEditorSettings;

It crashes, but if I change MM/yyyy to MM/dd/yyyy, the cells shows MM/dd/yyyy 12:00 AM.

Thanks so much for any help.

 

Stefan Dobrev
Telerik team
 answered on 04 Nov 2009
1 answer
98 views

Ok… I want to play with the Q3 beta because it has fixes for significant bugs in Q2 and support suggested I do so. So, I uninstall Q2 and put in Q3. Immediately, my project breaks because the namespaces and references have been altered. I have some comments and maybe you guys can supply some help.

  • Is there a simple, clear document discussing how to upgrade a project from Q2 to Q3? Actually, I had really hoped given the price there would be a tool - alas, it is not to be :)
  • The beta documentation lacks any discussion of how to install the controls to the toolbox. While it looks like the installer mad a valiant attempt to do so the toolbox is still littered with icons we don't need there and it is really cluttered. As a bonus point, the controls were added to the 2010 toolbox, but with similar problems.
  • While we can drag / drop many controls from the toolbox onto the design surface but the RadGrid isn't one of them. For some reason what I am sure is one of the most used controls of the bunch is the one thats broken :)
  • Trying to fill in the holes from the demo source code isn't much help as it looks like the DLL names and namespaces have changed.
  • The demo source code included does not build, at least not in VS2008 under Win7 x64

So here are my hopes...

  • That someone has a clear, concise guide on what references and so on need to change for goign Q2 -> Q3
  • Some source code using the CURRENTLY shipping beta that actually builds and has a grid on it
  • Word that the documentation and toolbox issues will be resovled before this ships

 

Thanks! I really love these controls and I just keep asking for more, I know :)

Ken

Hristo
Telerik team
 answered on 04 Nov 2009
2 answers
93 views
Hi,

For ListView, I can display an image (check mark) inside a checkbox control. For Telerik Grid, how to do this?

Thanks,
sum sum
Top achievements
Rank 1
 answered on 04 Nov 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
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?