Telerik Forums
UI for WPF Forum
1 answer
1.2K+ views
Hi,

Is it possible to make the grid to be sorted initially? 
I'd prefer a declarative way to do it (in XAML).

Can you guys provide an example of a grid which is initially sorted by some column.

Thank you very much,
Ruben
Milan
Telerik team
 answered on 17 Aug 2010
2 answers
213 views
Hello,
Is it possible to get the cell value in CellStyleSelector.SelectStyle? I'm getting the whole object, that is nested in the row, and need just the particular cell value, cause the object doesn't contain it.
Jokerwolf
Top achievements
Rank 1
 answered on 17 Aug 2010
1 answer
106 views


ItemsSource
="{Binding Path=(ns:class.property)}"

does it support this syntax for strong type binding?
also is it supported in the columns? in the

 

DataMemberBinding

?


can you give me an example of how to use it with the gridView?

thanks
Rossen Hristov
Telerik team
 answered on 16 Aug 2010
1 answer
47 views
Want to have multiple tiles,
but when in a minimized state want to have one always at top of others.

So can you set some type of sort order when in this state.
Or is it just dependent on how you add in to the list ?
Miroslav
Telerik team
 answered on 16 Aug 2010
7 answers
201 views
Hi!

   Anyone have an idea of using combobox  in a Custom row layout? please  help me. Here is my code

<TextBlock Text="Sex"
           Grid.Column="1" Grid.Row="2"
           VerticalAlignment="Top" HorizontalAlignment="Left"
           Foreground="Black" FontWeight="Bold" Margin="0,0,0,0" />
 
//its respective editor is
 
<ComboBox Text="{Binding Sex}"
          Grid.Column="2" Grid.Row="2"
          VerticalAlignment="Top" HorizontalAlignment="Left"
          Foreground="Black" Width="70"
          Background="Transparent"
          BorderBrush="Transparent" Opacity="1" OpacityMask="White"
          IsEditable="False" Height="Auto">
          <ComboBoxItem />
          <s:String>Male</s:String>
          <s:String>Female</s:String>              
      </ComboBox>
 
 
//Binding of the column.
<Controls:GridViewDataColumn  Header="Sex"  DataMemberBinding="{Binding Sex}" />

Problem with me is I am not able to display the string that is present in the database initially or when program loads. I am able to change the sex and save it to the database but at first the combobx is blank when it should be displaying the string value in the database.

Greetings
Yavor Georgiev
Telerik team
 answered on 16 Aug 2010
1 answer
187 views

         Hello sir / Madam ,

                       I am using Telerik RadToolBar. I want to customize it like
                       1. I want to show it with round corners  at edges.
                       2. When mouse is over on particular tool bar button i want to show it with some color which is not predefined by telerik
                            controls by default.
                       3. I want to disable the tool bar overflow which showing at the end of tool bar permanently

                        If any body know the solution please  kindly forward it to me as early as possible............
 
                        
Miro Miroslavov
Telerik team
 answered on 16 Aug 2010
4 answers
144 views
Hi,

I'm using the RadGridView with a custon filter row like it is shown in one of the demo samples. I also have on custom column configuration dialog that is used to add, remove or reorder columns. When the column configuration is modified within this dialog I first remove all Columns and FilterDescriptors. Then I add the columns again according to the new configuration. When I try to add the FilterDescriptors I get an exception with the following message and stacktrace:

Object reference not set to an instance of an object.

   at Telerik.Windows.Controls.GridView.GridViewVirtualizingPanel.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

I'm adding the FilterDescriptors in the DataType PropertyChanged event of the columns. I'm doing it this way because otherwise the correct DataType is not available.

When I add the same FilterDescriptors some time later in the click event handler of a button, the exception does not occur.

Any suggestions? Is there another event that is fired some time after DataType PropertyChanged event of the columns and can be used to add the FilterDescriptors.

Regards,

Uli
Rossen Hristov
Telerik team
 answered on 16 Aug 2010
1 answer
277 views
Hi!

Here is the situation:

I've a RadGridView, the datacontext is the code behind. So ItemsSource is setted to a "List<MyCustomObjects>", all works at this level.

After that, I've a zone with a lot of textbox that are bound to the gridview(datacontext is the radgridview, binding CurrentItem.myField, mode twoway) and a zone with only labels that is exactly bound the same way. 

When I change line, my values are updated in labels and textbox, so it works great. 

If I edit one field directly in the RadGridView, labels and textbox are updated directly when the cell lost the focus

The problem now:
Now, if I edit the field in the textbox, when I lost focus, labels are updated but not the radGridView.
It appears the radGridview have updated values but doesn't refresh the display, if I reorder data or start the edit of the cell, the data is correct.

Then, is this a bad configuration of the radGridView? Wrong datasource?( List<MyCustomObject>) bug? Feature?

Thank you!

We really need this as fast as possible because it's one of the key feature we use in telerik.
Veselin Vasilev
Telerik team
 answered on 16 Aug 2010
1 answer
69 views
Hi,
1) I am using amounts in my grid view data coloumn. I want it to be right alligned as values in excel.
2) I have totals textblock below my amount field. I am not using the aggregate functions of grid view as I have to apply custom Sum. Could you please tell me, how can I update my totals, on changing the amount in GridView.
Thanks
Muhammad Zubair
Maya
Telerik team
 answered on 16 Aug 2010
1 answer
129 views
Hi,

I am having problems with my grid
when the columns of the grid does not get the right size , it shows up a blank column at the end and i dont want that space . how do i do to get it out?


Thanks, Alexandre.
Vlad
Telerik team
 answered on 16 Aug 2010
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
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?