Telerik Forums
UI for WinForms Forum
1 answer
295 views

I have GridViewComboBixColum in a RadGridview, is there the posibility to change the width of the items that are displayed?, because the column is too short to allow see all the items that are contained in the DropDown.
Thanks in advance.

Hristo
Telerik team
 answered on 30 Oct 2017
1 answer
298 views

I used BindingList for data binding,

BindingList<Person> personList = new BindingList<Person>();
radMultiColumnComboBox1.DataSource = personList;

 

RadMultiColumnComboBoxElement multiColumnComboElement = this.radMultiColumnComboBox1.MultiColumnComboBoxElement;

multiColumnComboElement.EditorControl.MasterTemplate.AutoGenerateColumns = false;

GridViewTextBoxColumn column = new GridViewTextBoxColumn(); 
column.HeaderText = "ID";

column.FieldName = "id";

column.Name = "colId";
multiColumnComboElement.Columns.Add(column); 
column = new GridViewTextBoxColumn(); 
column.HeaderText = "Name";
column.FieldName = "name";
column.Name = "colName";
multiColumnComboElement.Columns.Add(column); 

Let Person object have two properties, id and name. I set ValueMember to id and DisplayMember to name.

And I set the SelectedValue,

radMultiColumnComboBox1.SelectedValue = person.id;

This is working correctly. But when person.id become null, SelectedValue is not null, instead it select first item of BindingList<Person>.

I can't understand why. Pls answer to me.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Oct 2017
1 answer
160 views
I can see that there is an option to link ImageList to RadTextBoxControl but there are no options to use the images of said ImageList. Am I missing something? I don't see any properties to mention the index of the ImageList.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Oct 2017
3 answers
340 views

I don't see a null text property for a textbox menu item. I need to be able to label the textbox and the null text feature would be perfect for a tight situation like this.

Thanks!

 

Hristo
Telerik team
 answered on 30 Oct 2017
3 answers
190 views

I have a CheckedDropDownList with the CheckAllItem enabled.  When I check or uncheck that item, I don't want the ItemCheckedChanged event to fire for all the other items in the list.  I want to handle the "All Checked" my self. Waiting for the control to spin through my list, which I could have 100's of items, takes a while, while I have other code running to process based on the items being checked or not.

 

TIA

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Oct 2017
1 answer
71 views

Hi,

I managed to get the sets of categorical data points of the lines in the currently visible range (that has been zoomed and panned). Now I need to write excel file with Date (Category) in first column and for each series a column with series' visible values (from the visible range). Is there any direct way to get the datatable of the visible points to write it to excel, or I need to go point by point and write it to datatable one by one?
Dimitar
Telerik team
 answered on 30 Oct 2017
7 answers
577 views
Good Day

Is there a way to handle a Double click on a Datagrid row ?

Thanks
Dimitar
Telerik team
 answered on 30 Oct 2017
3 answers
325 views

Good Morning,

I have a gridview that loads some info about products in an unbound manner. I am using paging so I load only a handful at a time to quicken the loading process(because it really takes a long time to load many lines at once since there are some image getting/network traffic involved). But when I use paging, the grid still takes forever to load all pages before being usable. Is there anyway to load pages on demand? By on demand I mean click on the number of a page and load only the items that show on that page.

What I tried so far:

foreach (ECommerceDTS.PRODUCTSRow row in eCommerceDTS.PRODUCTS.Skip(radGridView1.GridViewElement.PagingPanelElement.ZIndex * PAGE_SIZE).Take(PAGE_SIZE))
{
    productEcomm = new ProductEcommerce(row);
    listProducts.Add(productEcomm);
    i++;
}

This works wonderfully loading only PAGE_SIZE items. The problem is that it loads only the first page, and the grid doesn't show other buttons to go to page 2. Is there any workaround this? Maybe hardsetting the number of buttons to show even if there are no items loaded?

Another question: Am I right to assume that ZIndex of the PagingPanelElement means the index of the selected page?

 

Thanks in advance. Kind Regards,

Leandro

Quicken support
Top achievements
Rank 2
 answered on 30 Oct 2017
1 answer
98 views

I use dgv.PivotGridElement.SelectRow(row) to select a specific row.  I now need to ensure this row is visible(displayed) to the user.
How do I now scroll to the specific row?  The radGridView control has a EnsureVisible function on the rowInfo class, but I'm not finding anything on the PivotGrid

I've tried PivotGridElement.ScrollTo() but it's not working for me.

Is this possible, how do I accomplish this?

I'm using release 2015.3.1104.40
Thanks

Johann
Top achievements
Rank 1
 answered on 30 Oct 2017
8 answers
362 views

Hello,

I want to scroll the virtual grid to a specific row index.

The amount of row is know to the virtual grid by assigning it to this.radVirtualGrid1.RowCount.

So I thought it must be easy to scroll the grid to a specific row index programmatically.

But the usage of

    this.radVirtualGrid1.TableElement.RowScroller.ScrollToItem(rowIndex);

this.radVirtualGrid1.TableElement.ScrollTo(rowIndex);

did not work as expected.

What is the easies way to scroll the virtual grid to the desired row index?

Thank You!

Regardss

Ingo

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Oct 2017
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?