Telerik Forums
UI for WinForms Forum
3 answers
168 views
Hello!

I have a problem with custom sorting in the latest WinForms RadGridView (2010.2.10.806). It worked well with version 2009.3.9.1203. I use Visual Studio 2008 with .NET 3.5. 

The code snippet is very simple:

01.foreach (GridViewDataColumn column in grid.Columns)
02.    column.CustomDataOperation = CustomDataOperation.Sorting;
03....
04.  
05.void grid_CustomSorting(object sender, GridViewCustomSortingEventArgs e)
06.{
07.    MyItem item1 = grid.Rows[e.RowIndex1].DataBoundItem as MyItem;
08.    MyItem item2 = grid.Rows[e.RowIndex2].DataBoundItem as MyItem;
09.    ...
10.}

When the grid column header is clicked, the System.StackOverflowException occurs in grid_CustomSorting at the point where e.RowIndex1 or e.RowIndex2 is accessed. Moreover, it occurs even if we have 

1.void grid_CustomSorting(object sender, GridViewCustomSortingEventArgs e)
2.{
3.    int ind1 = e.RowIndex1;
4.}

The second problem is that e.RowIndex1 can be negative even when the e.CellValue1 contains a good value.

So, how should I sort the grid by underlying data using my custom logic?

Thank you.
Julian Benkov
Telerik team
 answered on 18 Aug 2010
1 answer
59 views
Can I import only  the new dll files of  "Scheduler and Reminder" in older version (May 2010) of telerik WinForms ?
Thank you in advance! 
Dobry Zranchev
Telerik team
 answered on 18 Aug 2010
3 answers
91 views
I am using Visual Studio 2010 Professional version 10.0.30319.1 and Telerik Rad Controls for WinForms Q2 2010 SP1 (2010.2.10.806). I have created a new Rad Controls Windows Forms Application.

I added a new data source to the Data Sources Window. If I try to drag a table from the Data Sources Window with the control type set as the default RadGridView control, I get the following error

"An error occurred while performing the drop:
Control 'RadGridView' cannot be used to bind to a table"

If I select the standard Microsoft DataGridView, it works fine.

Any ideas why the RadGridView does not work?

Thanks
Julian Benkov
Telerik team
 answered on 18 Aug 2010
1 answer
135 views
hi,

well we're new to radControls and are testing its abilities in a trial version.

the most important thing we need, is to use RadGridViews for our datasets. When you browse the data sets listed in the data source window, you can set a control as default for your tables within your datasets. I can find a lot of RadControls in it, but not the RadGridView Control.

I've also checked another data types, but RadGridView is not listed anywhere. why? is it possible to add this control manually? or is there any better/easier possibilities?


best regards,
A.V.
Julian Benkov
Telerik team
 answered on 18 Aug 2010
6 answers
322 views
hello ,

   I need to achieve the functionality in a GridView to be expanded with user Control as show in the attached images.
In image 1 : CollapseGrid (normal display)
    image 2 : ExpandGrid (Expended with UserControl)

Please do needfull ASAP.

thank you,

Regards,

Ajay
Julian Benkov
Telerik team
 answered on 18 Aug 2010
1 answer
117 views
Hi,
How can I set mode in RadPageView like ExpandMode="Multiple" in WPF PanelBar, or RadPanelBar GroupStyle to ExplorerBarStyle ?
Deyan
Telerik team
 answered on 18 Aug 2010
1 answer
487 views
Hi Telerik Team,

I am struggeling with an issue, Actually I have a GridView in wich I have 5 different columns. One of these columns is a GridViewComboBoxColumn. My issue is I need to get the selected value of this combobox and set that value into the next column.

Is that possible to handle SelectedIndexChanged event of GridViewComboBoxColumn and also can we handle ItemDataBound event of GridViewComboBoxColumn.

Please help,

Many thanks
Stefan
Telerik team
 answered on 18 Aug 2010
1 answer
237 views
Hi,

I have dataset which includes one boolean field too. When this dataset is set as the datasource for radgridview it works fine and user can edit checkboxes.

But when the fiter is turned on, I can check/uncheck any checkboxes for the first time but in the second approach the grid automattically scrolls up and other row is checked/uncheked.

To reproduce this problem, have a dataset with bool and text field. Fill the dataset with about 50 rows so that radgridview has to show up the scroll bars. After binding this dataset :
scroll to the bottom of the gridview,
check the last one, it will work
try to check last but one, grid will scroll to top and another random checkbox is checked.

Is this a bug or I am missing something?

Thanks

Bibek Dawadi
Julian Benkov
Telerik team
 answered on 18 Aug 2010
1 answer
110 views
Hi,
I want to set my series labels to appear outside the bars on the right side in any case. As soon as the difference between the bars grow, the label shifts inside the bigger bar. I want it to stay outside , whatever the case. Is there a way out. Please refer the attached image
Saurabh Garg
Yavor
Telerik team
 answered on 18 Aug 2010
5 answers
148 views
Hi !
I have a a hierarchical grid . When I try to export to excel , the excel spreadsheet is empty.
Do you have any example for this, please? For a simple grid, the export is running just fine.

Regards,
Mihai
Hans
Top achievements
Rank 1
 answered on 17 Aug 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?