Telerik Forums
UI for WinForms Forum
5 answers
295 views
Hello.

I have a minor issue that happens when i have selected multiple rows and want to deselect one of them. I always have to click an extra time to accomplish this, I think it is a bug.

Thanks for any help, 

Joel
Mojtaba
Top achievements
Rank 1
 answered on 22 Feb 2010
2 answers
196 views
Hi there,

I'm trying to update the dataset underneath a gridview by calling rgvRatings.Refresh()

I've noticed some strange behaviour: Firstly, the sort order within groups, as selected by the user doesn't always seem to persist after the refresh, and secondly, the "currentRow" can sometimes move to the next row?  Trying to solve the combination has been ... fiddly.

I've tried using LoadLayout/SaveLayout to a string, but this collapses expanded groups.  I would attempt to handle that programmatically by storing the "expanded" state, but there are "n" levels of grouping (it's basically up to the user) so this seems like a headache to achieve and test.

Is there someway I can force the grid to update the data in all of its cells without changing *anything* else about the state of the grid?

I'm using Q2 2009 SP1 btw.

Regards,
Mike

Martin Vasilev
Telerik team
 answered on 22 Feb 2010
2 answers
114 views
Hello,

I need to access the HScrollBar element of a child grid to assign an event handler to the Scroll event. I am trying to do this programmatically in the ChildViewExpanded event handler for the grid. However, every time i try to reference e.ChildViewInfo.GridViewElement.HScrollBar, the GridViewElement object is null. Any help?

Also, I have a second issue. If the HScrollBar is enabled for the grid itself, and I scroll right, then click the + sign ahead of one of the rows, it does not open the child grid. Instead, it appears to select the cell that has scrolled underneath the row header column. This is undesirable for me. Is there some way that I can prevent the cell from getting selected and instead have the Child Grid expand?

Thanks!
Jeremy
Jeremy Murtishaw
Top achievements
Rank 1
 answered on 19 Feb 2010
4 answers
213 views
Can I drag and drop the row to reorder the rows in radgridview ?

Thanks in Advance
Ragupathi
jerry
Top achievements
Rank 1
 answered on 19 Feb 2010
3 answers
464 views

Hello,

I've got a bit of a problem with Q2 2009 GridView. I use a child GridViewTemplate, but whenever I try to expand its row (with row.IsExpanded = true) I get a NullReferenceException at Telerik.WinControls.UI.DataGroup.get_RowCount()
at Telerik.WinControls.UI.GridViewInfo.SetViewInfoToRows(DataGroup rootGroup)
at Telerik.WinControls.UI.GridViewInfo.InitializeChildViewInfo()
at Telerik.WinControls.UI.GridViewTemplate.CreateGridViewInfo(DataGroup rootGroup, GridViewDataRowInfo parentRow)
at Telerik.WinControls.UI.GridViewDataRowInfo.SetExpanded(Boolean value)
at Telerik.WinControls.UI.GridViewRowInfo.set_IsExpanded(Boolean value).

After looking closely at what's going on I noticed that DataGroup.owner is null, and DataGroup.IsDisposed == true. I think the group gets disposed in DataAccessComponent.InitDataGrid() when I set DataMember of my ChildGridViewTemplate to null and its DataSource to a DataTable that was earlier filled with data. 

After that the DataGroups never get recreated, so when I try to expand my ChildGridViewTemplate, DataGroups are still disposed (with owner set to null) and I get the exception. I also noticed that if I add new data rows to the DataTable after assigning it as DataSource than the new rows expand just fine, only the old ones throw exceptions.

So my question is, is there any way I can force the DataGrid to recreate disposed DataGroup for already existing rows ?

Regards,

Piotr Kochanowski

Nick
Telerik team
 answered on 19 Feb 2010
3 answers
70 views
I thing every Vista / Windows 7 users know what I talking about.
This could be a fantastic way to navigate though a tree of items.

Right now I did my home-made one with a panel and a series of RadDropDownButton
Martin Vasilev
Telerik team
 answered on 19 Feb 2010
3 answers
501 views
In my application I would like to set font for all labels via themes, which work great.
Most labels sit next to controls which are set to bold.

But as I was adding more labels I noticed that some labels that I have been adding should not be bold, should be using the same font type that the rest of the labels do, but should not be set to bold.

I have tried several things, but any change to font in code is overwritten by the theme.
I have tried looking at setting conditions in the theme, but radlabelelement has nothing useful i can bank on.

Thank you,
Michael Marr
Top achievements
Rank 1
 answered on 19 Feb 2010
3 answers
151 views
Is the new style builder not in the beta release?  I uninstalled the prev release, installed the beta, opened my project, went to the smarttag on a textbox, and the old editor opened...

Did I do something wrong, do we get to the new editor in a different way?
Nikolay
Telerik team
 answered on 19 Feb 2010
1 answer
120 views
Is there a way to get notified (via an event) when a DockWindow (with DockState=Autohide) slides out or in?  I'm trying to set the focus on a textbox located in the autohide window when it is shown by mousing over the tab.

Thanks

Alain
Nikolay
Telerik team
 answered on 19 Feb 2010
6 answers
171 views
Hi,
 I have a RADMenuItem for Refresh with a command binding for Action command set for CTRL + F5 using the designer. When I build the application, the command binding gets reset to default which is nothing...
What should I be doing?

Thanks
Deepak
Dobry Zranchev
Telerik team
 answered on 19 Feb 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?