Telerik Forums
UI for WinForms Forum
3 answers
367 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
534 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
90 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
469 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.3K+ 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
556 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
4 answers
167 views
I noticed that the RadTextBox does not have a Character Casing option of Proper Casing, which is basically capitalizing the first letter of each word. It would be nice if the RadTextBox control had this property.
Dimitar
Telerik team
 answered on 05 Sep 2016
1 answer
296 views

hi

thanks for your great controls

i have a rich text editor that work approximatary well

when i inset table to rich text editor i stock to left. when i pull it somewhere else i stock to the left again.

as in ms word we can put table everywhere by pull it.

another issue with table is when i put it in rich text editor when rich text layout mode is not paged, i cant resize it(the options for resizing no appear). but when i set layout mode to paged i can resize it.

i have issue about flow direction. could you please tell me how i can left to right and right to left like in ms word?

thanks in advanced.

Dimitar
Telerik team
 answered on 05 Sep 2016
3 answers
256 views

I have a ListView with the ViewTyp-property set to IconsView.

The icons contains both an image and text.

My problem is that only about 15 characters is shown in the icon. Overflowing text isn't shown.

Is there a way to automatically expand the icon size so that all the containing text is shown?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 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)
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
AI Coding Assistant
+? 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?