Telerik Forums
UI for WinForms Forum
2 answers
267 views

I need to interrogate a cell on the row being edited to determine if editing is allowed. The cell I'm trying to retrieve is a hidden column, not the one the user is trying to edit. When I look at the value of e.rowindex it doesn't match the row being edited. The grid is a hierarchy view. The value of e.rowindex seems to be associated with the rows being displayed at that hierarchy level.

How can I get the row being edited?

I switched over to the latest release and this fixed the problem.

Emanuel Varga
Top achievements
Rank 1
 answered on 17 Nov 2010
3 answers
202 views

After updating project form 2010.1.10.504 to  2010.3.10.1109  with wizard I get the follow call stack error when navigating to forms with
charts. I tried cleaning  project  and restarting VS but no luck.


Object of type 'Telerik.Charting.Styles.Unit' cannot be converted to type 'Telerik.Charting.Styles.Unit'.

 

at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializePropertyAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement, CodePropertyReferenceExpression propertyReferenceEx, Boolean reportError)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeAssignStatement(IDesignerSerializationManager manager, CodeAssignStatement statement)
at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)

Richard Slade
Top achievements
Rank 2
 answered on 16 Nov 2010
2 answers
776 views
Is there a way to make the command bar fill 100% of the width of its parent container?  I have only 3 items in it but would like to have the bar fill the whole width of my form.

Thanks,

Jason
Jason Maronge
Top achievements
Rank 1
 answered on 16 Nov 2010
2 answers
210 views
We are using RadControls for WinForms Q3 2008 SP2,
But themes are not appearing in control dropdown.
We put the themes on the form but the drop down is not updated.
Anyone a solution
FJ
Top achievements
Rank 1
 answered on 16 Nov 2010
1 answer
209 views
Hi Telerik Team,

        Is there any option to assign read only property to a particular cell in the Data grid view.
     I need to make some cells read only in a column to support some functionality. Please provide solution for he Query ASAP.


Regards
Sandeep.
Emanuel Varga
Top achievements
Rank 1
 answered on 16 Nov 2010
11 answers
351 views
Hi!

I was using Q2, 2 dropdownlists with prices binded to it and it worked fine:

RadListDataItem rcbi0 = new RadListDataItem("ANY");
RadListDataItem rcbi1 = new RadListDataItem("1");
RadListDataItem rcbi2 = new RadListDataItem("10");
RadListDataItem rcbi3 = new RadListDataItem("15");
RadListDataItem rcbi4 = new RadListDataItem("20");
RadListDataItem rcbi5 = new RadListDataItem("25");
RadListDataItem rcbi6 = new RadListDataItem("30");
RadListDataItem rcbi7 = new RadListDataItem("40");
 
radDropDownListPriceMin.Items.AddRange(new[]{ rcbi0, rcbi1, rcbi2, rcbi3, rcbi4, rcbi5, rcbi6, rcbi7});
radDropDownListPriceMin.SelectedIndex = 0;
radDropDownListPriceMax.Items.AddRange(new[]{rcbi0, rcbi1, rcbi2, rcbi3, rcbi4, rcbi5, rcbi6, rcbi7});
radDropDownListPriceMax.SelectedIndex = 0;

Now , the same above code but with Q3, binds the RadListDataItems to radDropDownListPriceMax BUT radDropDownListPriceMin is empty!

This code works fine in Q3:

string[] pricesList = new string[7];
pricesList[0] = "ANY";
pricesList[1] = "1";
pricesList[2] = "10";
pricesList[3] = "15";
pricesList[4] = "20";
pricesList[5] = "25";
pricesList[6] = "30";
 
radDropDownListPriceMin.Items.AddRange(pricesList);
radDropDownListPriceMin.SelectedIndex = 0;
 
radDropDownListPriceMax.Items.AddRange(pricesList);
radDropDownListPriceMax.SelectedIndex = 0;

How come?

Rafael
Richard Slade
Top achievements
Rank 2
 answered on 16 Nov 2010
12 answers
471 views
hi,

i have used the CreateRow event in the gridview

now i need to know witch event is the opposite of this event 

i need to know the removeRow event in the grid because i can't find it.

thanks.
Gustav Mulder
Top achievements
Rank 1
 answered on 16 Nov 2010
5 answers
1.2K+ views
Hello everybody.

I'm having the current problem with RadGridView (using Q2 2010):

The GUI has the following structure: RadRibbonForm contains SplitPlanel contains UserControl contains RadGridView.
Now, the GridView is bound to a List of objects. I'm using a CheckBox column for one property.

Now, I click into the checkbox cell, changing the ToggleState of the checkbox, but do not leave the cell by clicking on a different row. I do some necessary logic in the GridView_CellValueChanged event handler.
The I click the Save-Button which is located on the RibbonForms QuickAccessBar, but the data is not correctly saved.

After debugging, I realized that the CellValueChanged is neither triggered, when I click into the cell, nor when I click the Save-Button (would have thought so, because the cell should lose focus, accepting my data change).
If I click into a different row, my change to the combobox is accepted and correctly saved.

What can I do to solve this problem? Is there a method to make the grid change its cell values without leaving the edited row?

Thanks for any help
Baldwin
Top achievements
Rank 1
 answered on 16 Nov 2010
1 answer
198 views
Hi,
I'm using the RadGridView in which I always wanted to keep a row selected, in the case when the filter expression is changed, all the rows are unselected. I presume that the filtering row is selected at that time. 
So I subscribed the FilterChanged event, and at which I select the first row. The problem I'm facing is that, the filter changed event is generated for every character I type, and the focus switches to the first row.

Please help me out for finding a solution. Thanks.

Regards
ArunDhaJ
www.arundhaj.com
Emanuel Varga
Top achievements
Rank 1
 answered on 16 Nov 2010
3 answers
404 views

Hello,

I am new at this as I am trying to learn and get comfortable with Telerik. I have a winform app with 2 combo boxes, which are bind from a dataset/datatable. And I would like some sample code on how to bind different images to all each item in my combo box 1 and combo box 2.

After that I would like to code for the selected_index changed of the combo box 1. I would like to re-bind the data of the combo box 2 base on the selection on combo box 1.

I can do all of that in the normal combo box where I manually typed in all the items to the combo box and then uses the RadListDataItem Collection Editor to add in the images....but I want to do it with code as my combo box 2 changes base on the selection of combo box 1.

Thanks.

Emanuel Varga
Top achievements
Rank 1
 answered on 16 Nov 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?