Telerik Forums
UI for WPF Forum
7 answers
190 views
I sometimes hit strange behavior where if a column is brought out of view and then in again, the TextBlock's foreground property is set back to default Black. It looks like the offending code here is in GridViewCell.OnColumnChanged, which clears the TextBlock.Foreground property of the TextBlock in the cell (why it does this I don't understand).

I could derive from GridViewCell and put in my own behavior, since OnColumnChanged is protected, but the problem then becomes how to get the grid to use that cell instead of GridViewCell. I see that the only place GridViewCell is being created is in GridViewRow.CreateItem, which is an internal method and hence cannot be overriden by me. This leaves me no way of getting my CustomGridViewCell to be used in lieu of the default one.

Do you have any ideas of how I can deal with this issue?

Thanks

Maya
Telerik team
 answered on 22 Dec 2010
2 answers
66 views
Hello,
I want to use the TileView in the same way you used it in the example with the cars but when I add more items, I want to have them with a scroller where they are minimized on the right (like in the example with the flags). Could you please point me to how I can achieve it.

If it's simpler, tell me how can I modify the flags example so it will also be possible to be in a state that all the tileview items are in the same size (Normal state).

Thank you 
Tina Stancheva
Telerik team
 answered on 22 Dec 2010
1 answer
147 views
Hi,
I have a datagrid which has template columns in it.
When i click a cell for editing, the grid's lostfocus is fired.
What i want to do is when the user edit a value in a cell and click outside the datagrid ie: on other control or the window its containing, i need to do something.
I tried to check !Datagrid.IsFocused and tried to do something when the grid doesn't have any focus. But that check always fails when i click outside the datagrid.

Any idea how to solve this?

Thanks

S
Veselin Vasilev
Telerik team
 answered on 22 Dec 2010
1 answer
72 views
I have to display Column chooser option like how we have Row filter (Row chooser) option when user clicks on Grid Header Filter icon. For this is there any option to set or we need to write the code. If we need to write it then please help me to do this.

Thanks in advance.
Balaji Kommuri
Maya
Telerik team
 answered on 22 Dec 2010
0 answers
65 views
Sorry this is a duplicate of something I just posted. Please refer to issue "How to cancel drop in handler specified by AddDropInfoHandler method "

Thanks,
Rod
Rod Yager
Top achievements
Rank 1
 asked on 21 Dec 2010
2 answers
274 views
Hi -
I want to use the GridViewSelectColumn as the ONLY method of row selection. Desired behavior: if a user clicks on a row, nothing will happen. But if they click on the checkbox in the GridViewSelectColumn, the row will be selected. In addition, the header checkbox in the GridViewSelectColumn must continue to select/de-select all rows. How can I best achive this?

I have tried setting the CanUserSelect=false on a grid containing a GridViewSelectColumn. This works fine for individual rows (only allowing row selection via the GridViewSelectColumn), however, if I click the GridViewSelectColumn Header checkbox, nothing happens (no rows are selected/de-selected).

I have also gone about handling the DataGridCell_PreviewMouseLeftButtonDown and DataGrid_PreviewMouseLeftButtonDown events, which allows the GridViewSelectColumn Header checkbox to work correctly, but it's definitely a hack, and not something I can easily implement across the many RadGridViews in my application.

Any help is appreciated.
Sandy
Top achievements
Rank 1
 answered on 21 Dec 2010
10 answers
812 views
Hi
Is there an example of how to set the color of LineSeriesDefinition?

Thanks

Ghassan
Evgeni "Zammy" Petrov
Telerik team
 answered on 21 Dec 2010
9 answers
247 views
Hi,

I am attempting to use SaveLayout and when our app is re-run I use LoadLayout.  Unfortunately, if the user floats a pane and then exits the app (saving the layout), and later re-runs the app and I load the layout, the floating pane is no longer able to be docked.

Looking in the XML that's written I see the RadSplitContainer is written with InitialPosition="FloatingOnly" which seems suspicious. I tried manually updating the XML file to set InitialPosition="FloatingDockable" but the pane is still not dockable.

If it matters, I do have SerializationTag set for all my panes, splitters and panegroups and do override the ElementLoaded event to plug in my own children of each pane (that part is working great).

Does anyone know what I can change to make the reconstituted Pane dockable again?

Thanks,
John


John Schroedl
Top achievements
Rank 2
 answered on 21 Dec 2010
2 answers
257 views

Hello guys

I'm evaluating RadControls for WPF and OA ORM for my next project. I'm just playing with it for just one day, but I'm already impressed with your work guys. Though, as a beginner, I can't figure out how to select a cell when new row is added to gridview. In other words, I want to select first editable cell and put it in edit mode when new row is added from InsertRow button. How is this accomplished?

EDITED
_____________________________

I will ask this one too here.
When cell validation fails, it would be nice to show the error message, without the need to move the cursor to the cell's red point. Is it also possible? 

EDITED 2 :)
____________________________

is it possible to tell gridview not to change selection until all cells of the grid is validated? now it's possible to persist rows despite validation failure, which breaks business rule.

thanks 

David
Top achievements
Rank 1
 answered on 21 Dec 2010
3 answers
150 views
Hi ,
     I am unable to register row selection change event for rad grid 
     I need previous row information to validate before i move on to next row.
    There is row validating event which is restricting deletion of the row.i should be able to delete the row too.

    I also need need delete row event.

Please suggest me how to handle the above issues.

Thanks,
Swathi
 
Veselin Vasilev
Telerik team
 answered on 21 Dec 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
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
VirtualKeyboard
HighlightTextBlock
Security
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?