Telerik Forums
UI for WinForms Forum
1 answer
439 views

Hello all,

how can I locate a certain row (or determine a row index) in the virtual grid by looking up a certain value?

If for example I have a list of employees with ID, Name, Address, Phone how can I locate the row with a certain Employee ID?
Also there seems to be no row collection that can be searched using Linq.

Thanks in advance.

Best regards, Ronny

Hristo
Telerik team
 answered on 07 Sep 2016
6 answers
308 views
Hi,

I'm using the RadRibbon Form and i have set ApplicationMenuStyle to BackstageView I have added a ListBox on a Tab and when I double click an item in it I want to load a file and show the main form.

I can load the file fine but the BackstageView does not close. How do i get the BackstageView to close?

thanks
Christ
Top achievements
Rank 2
 answered on 07 Sep 2016
2 answers
181 views

I have created a custom theme that is a copy of a standard theme (I exported a .tssp file, made a copy, and started editing the copy). I would like to copy some individual elements from a different them to my custom theme (for example, the RadForm along with it's titlebar icons). So far I haven't been successful in figuring out how to do this. Is it possible? If so, could you list the steps necessary to do it? (I would prefer to keep everything contained in one custom .tssp file if possible.)

Thanks.

Craig

Craig
Top achievements
Rank 2
 answered on 06 Sep 2016
3 answers
386 views

Hi,

I can't seem to figure out the right control to use for my task.  I tried RadMaskedEditBox with all type of masking type and RadSpinEditor, but neither can get me what I need.  Here is what I need:

1. This control must allow to enter only numeric values.

2. This control has to be binded to a nullable integer. 

3. This control need to allow me to delete the value leaving it blank, which should assign null to the binded property.  Vice versa, if I set value of the binded property to null, then control should not contain any values.

Any suggestions?

Thank you in advance.

 

Dimitar
Telerik team
 answered on 06 Sep 2016
3 answers
547 views
I'd like to remove all columns from my grid at run-time and completely rebuild it. I can't do:

            foreach (var column in GridQueue.Columns)
            {
                GridQueue.MasterGridViewTemplate.Columns.Remove(column);
            }

because the Remove changes the iteration and it throws "Collection was modified; enumeration operation may not execute."

Suggestions? thanks.

-John
 


Dimitar
Telerik team
 answered on 06 Sep 2016
1 answer
97 views

I have a situation where I have a bunch of Rad Controls (RadTextbox, RadSpinEditor, RadDropDownList) on a User Control. That User Control is then injected into a custom Windows MMC SnapIn. When I do this the TabIndex of the controls is for some reason reversed and the Tab key does not stop on the RadDropDownList anymore. When I use the same User Control inside of a Form or RadForm the TabIndex is as expected and the Tab key stop on the RadDropDownList. I have verified that the TabIndex values are sequential and in the right order and that the TabStop property is True for all the controls.

After some extra digging I found that inside of MMC SnapIn the TabIndex seems to follow the order in which the RadControls are added to the User Control in the Designer code behind file. The TabIndex property is completely ignored.

I am using UI for WinForms 2015 Q3 with C# and Visual Studio 2015.

Is there some bug when RadControls don't have a parent form and are injected into some other parent container?

Dimitar
Telerik team
 answered on 06 Sep 2016
7 answers
487 views
I can't find any COMPLETE CRUD example on the web, forum and demo page. Anyone has a clue where I could find one?

I need to support these features:
-Support for One to Many relations.
-Support for Many to Many relations.
-Deleting relation (mapping table row) when deleting a Many to Many row from child grid.
-Change FK to null when deleting a One to Many row from a child grid
-Saving data On Changes.

Entity Framework or DataSet / DataAdapters will do. EF would be preferable (as it already handles all my relation requirements) but I believe it is not officially supported yet (and I had some troubles getting child deletion to work).

Thanks!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2016
24 answers
1.4K+ views
Hi All

Hopefully I have missed something simple but I cannot seem to get SelectedValue to work in a databound list control.

The scenario is that I have a ListControl which has been filled from a DataTable with the DisplayMember set to a Name and the ValueMember set to a Database Id.

I programatically try to set the SelectedValue to a given Database Id, nothing happens, the selected value does not change, the ListControl selection point does not move, no events generated.

The various SearchString functions are useless to me because they work on the DisplayMember not the ValueMember and I would have duplicate names in my list.

I have tried writing my own routine to find the value manually and return an index, but I am also having problems with SelectedIndex not being set properly. This seems to work fine in simple scenarios but in a more complex scenario where the list is being changed and updated, it seems to stop working. As yet I cannot determine what is causing the problem with SelectedIndex but if I can get SelectedValue to work I do not have to worry about it.

I am using the Q1 2011 controls

Any feedback gratefully received.

Peter


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Sep 2016
9 answers
1.3K+ views
Hello,
I have a telerik gridview whice have a datatable as his datasource.
I want to add column with a button (after I bound the grid to the datatable in run time).
the button will use to get an Id from the row to delete a record.
I managed to add column with a button but I can't change the button image.

Any help?

Thanks,
Roy.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Sep 2016
3 answers
565 views

Hi,

I am using CheckedDropDownList control in my UI. I have nearly 154 items to be handled with this control. So the UI becomes hanging after selecting and clearing it programmatically. I am using the following codes.

For selection

foreach (var text in dbValues)
    {
        foreach (RadCheckedListDataItem item in this.radCheckedDropDownList1.Items)
        {
            if (item.Text == text)
            {
                item.Checked = true;
            }
        }
    }

For Clearing

radCheckedDropDownList1. CheckedItems.Clear();

if there any convenient way to do this??. Please advice.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Sep 2016
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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?